Class 12 Python Revision Tour 1 Quiz | Class 12 Python Revision Tour 1 MCQ

Preview

Class 12 Python Revision Tour 1 Quiz | Class 12 Python Revision Tour 1 MCQ



0%

Class 12 Python Revision Tour 1 Quiz

1 / 26

The expression int(x) implies that the variable x is converted to integer

2 / 26

Which of the following expression results in an error ?

3 / 26

Which of the following cannot be a variable ?

4 / 26

Which of the following is an invalid Variable ?

5 / 26

what  type of value does input ( ) return ?

6 / 26

String can be surrounded by three sets of single quotation marks or double quotation marks.

7 / 26

Which of the following statement prints the output as given below

hello \ dear \ friend

8 / 26

Which of the following operators can be used on numeric values ?

 

9 / 26

In a nested loop, a break statement terminates all the nested loops in one go.

10 / 26

Only if statement has else clause in Python.

11 / 26

The  expression 8/4/2 will evaluate equivalent to which of the following expression :

12 / 26

The value of the expressions 4/(3*(4-2)) and 4/3*(4-2) is the same .

13 / 26

Which of the following is not a keyword ?

14 / 26

Loops in Python can also have else clause .

15 / 26

What will be the value of the expression ?

14 + 13 % 15

 

16 / 26

Evaluate the expression below

if A = 16 and  B = 15.

A % B / / A

17 / 26

The expressions 2**2**3 is evaluated as: (2**2)**3 .

18 / 26

Which of the following code  will give following  output ?

        Hello

       Dear

       Friend

 

 

19 / 26

Which of these is not a core data type ?

20 / 26

Variable can be assigned only once in Python.

21 / 26

Which among the following list of operators has the highest precedence ?

+, -, ** , % , / , << , >> |

22 / 26

What is the value of x ?

x = int ( 13.25 + 4/2 )

23 / 26

Which of the following is valid arithmetic operator in Python :

 

24 / 26

Variable is a placeholder for data in Python.

25 / 26

How would you write xy  in Python as an expression ?

26 / 26

The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same .



 

Spread the love
Lesson tags: Class 12 Python Revision Tour 1 MCQ, Class 12 Python Revision Tour 1 Quiz, python quiz for class 12
Back to: CBSE class 12 Computer Science notes
Spread the love