Python Section 2 - MCQ
1 .
Which of the following keyword is a valid placeholder for body of the function ?

Correct Answer : Option (D)

pass
2 .
Which of the following is correct?

Correct Answer : Option (A)

Variable name can start with an underscore. 
3 .
Which of the following statements is NOT true about Python?

Correct Answer : Option (B)

Python’s syntax is much like PHP
4 .
What is the return value of trunc() ?

Correct Answer : Option (A)

int 
5 .
What is the need of :
if __name__ == "__main__":
 somemethod()

Correct Answer : Option (C)

Run python module as main program 
6 .
Which operator is used to compare two numbers for equality?

Correct Answer : Option (B)

==
7 .
In python which is the correct method to load a module ?

Correct Answer : Option (B)

import math
8 .
Which function is used to open the file for reading in python ?

Correct Answer : Option (D)

open(filename, mode)
9 .
Which of the following function checks in a string that all characters are numeric?

Correct Answer : Option (A)

isnumeric()
10 .
In python 3 what does // operator do ?

Correct Answer : Option (B)

Integer division