12th Standard Computer Science English Medium Free Online Test Book Back One Mark Questions - Part Three

12th Standard

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10
10 x 1 = 10
1. Which of the following carries out the instructions defined in the interface?

(a)

Operating System

(b)

Compiler

(c)

Implementation

(d)

Interpreter

2. Bundling two values together into one can be considered as

(a)

Pair

(b)

Triplet

(c)

single

(d)

3. Which of the following members of a class can be handled only from within the class?

(a)

Public members

(b)

Protected members

(c)

Secured members

(d)

Private members

4. The Θ notation in asymptotic evaluation represents

(a)

Base case

(b)

Average case

(c)

Worst case

(d)

NULL case

5. Which operator is also called as Comparative operator?

(a)

Arithmetic

(b)

Relational

(c)

Logical

(d)

Assignment

6. What is the output of the following snippet?
T=1
while T:
print(True)
break

(a)

False

(b)

True

(c)

0

(d)

no output

7. Read the following statement and choose the correct statement(s).
(I) In Python, you don’t have to mention the specific data types while defining function.
(II) Python keywords can be used as function name.

(a)

I is correct and II is wrong

(b)

Both are correct

(c)

I is wrong and II is correct

(d)

Both are wrong

8. Which of the following formatting character is used to print exponential notation in upper case?

(a)

%e

(b)

%E

(c)

%g

(d)

%n

9. Which of the following statement is not correct?

(a)

A list is mutable

(b)

A tuple is immutable.

(c)

The append() function is used to add an element.

(d)

The extend() function is used in tuple to add elements in a list.

10. Which of the following is the private class variable?

(a)

__num

(b)

##num

(c)

num

(d)

&&num