Class 12 : Review Of Python Basics

Home Page class 12 @ Python

Class 12 : Python

Python Basics
Data Types
String
List
Tuple
Dictionary
Flow of Execution
Mutable and Immutable Types
Type Casting

Class 12 : Python Revision MCQs

Revision Tour MCQs

CBSE Class 12 Revision Tour MCQs 5

21.
By default the input() function returns

a. Integer
b. Float
c. Boolean
d. String

 

22.
If a function does not return a value then what value will be returned by python in a function?

a. int
b. void
c. bool
d. none

 

23.
The output of d= a + b % c is _________, if a = 12, b=5 and c=3.

a. 14
b. 2
c. 5
d. 17

 

24.
Evaluate x % y // x, if x = 5, y = 4

a. 1.0
b. 0.0
c. 0
d. 1

 

25.
Which of these arithmetic operator will evaluate first?

a. +
b. –
c. **
d. %