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

Click here to learn basics of  Python

1 / 26

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

2 / 26

Evaluate the expression below

if A = 16 and  B = 15.

A % B / / A

3 / 26

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

4 / 26

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

5 / 26

Variable is a placeholder for data in Python.

6 / 26

Only if statement has else clause in Python.

7 / 26

Which of these is not a core data type ?

8 / 26

What is the value of x ?

x = int ( 13.25 + 4/2 )

9 / 26

How would you write xy  in Python as an expression ?

10 / 26

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

11 / 26

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

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

12 / 26

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

 

13 / 26

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

14 / 26

Which of the following is not a keyword ?

15 / 26

What will be the value of the expression ?

14 + 13 % 15

 

16 / 26

Which of the following statement prints the output as given below

hello \ dear \ friend

17 / 26

Which of the following is valid arithmetic operator in Python :

 

18 / 26

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

19 / 26

what  type of value does input ( ) return ?

20 / 26

Which of the following expression results in an error ?

21 / 26

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

22 / 26

Which of the following code  will give following  output ?

        Hello

       Dear

       Friend

 

 

23 / 26

Which of the following is an invalid Variable ?

24 / 26

Loops in Python can also have else clause .

25 / 26

Which of the following cannot be a variable ?

26 / 26

Variable can be assigned only once in Python.



 

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