Python - MCQ

Multiple Choice Questions


Share with a Friend

 

Python - Multiple Choice Questions (MCQ) - Introduction & syntax of Python - Set 2

6. Python 3.0 is released in which year? 
A). 2000
B). 2008
C). 2011
D). 2016
View Answer
Correct: B



7. Which of the following statements is true? 
A). Python is a high level programming language.
B). Python is an interpreted language.
C). Python is an object-oriented language
D). All of the above
View Answer
Correct: D


8. What is used to define a block of code in Python? 
A). Parenthesis
B). Indentation
C). Curly braces
D). None of the above
View Answer
Correct: C



9. By the use of which character, single line is made comment in Python? 
A). *
B). @
C). #
D). !
View Answer
Correct: C


10. What is a python file with .py extension called? 
A). package
B). module
C). directory
D). None of the above
View Answer
Correct: B



 
 
 
   
   
   
UltraInfo Technologies
ITDeveloper