Sample Questions
 

 

1. Switch used for displaying of python’s version is

A. -v

B. -V

C. -ver

D. None of the above

2. The python source code file has an extension of

A. pys

B. py

C. src

D. None of the above

3. In python, multi line strings are given by

A. Single quotes

B. Double quotes

C. Triple quotes

D. None of the above

4. “//” in python is an

A. Floor division operator

B. Comment

C. New line

D. None of the above

5. “**” in python is an

A. Exponentiation

B. Address of

C. Value redirection

D. None of the above

Answers: 1 (B), 2 (B), 3 (C), 4 (A), 5 (A)

 

More Practice Test at:

https://www.vskills.in/practice/quiz/Python

Apply for Certification

https://www.vskills.in/certification/Certified-Python-Developer