MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is a python file with .py extension called? |
| A. | package |
| B. | module |
| C. | directory |
| D. | None of the above |
| E. | |
| Answer» C. directory | |
| 2. |
By the use of which character, single line is made comment in Python? |
| A. | * |
| B. | @ |
| C. | # |
| D. | ! |
| Answer» D. ! | |
| 3. |
What is used to define a block of code in Python? |
| A. | Parenthesis |
| B. | Indentation |
| C. | Curly braces |
| D. | None of the above |
| Answer» C. Curly braces | |
| 4. |
Python 3.0 is released in which year? |
| A. | 2000 |
| B. | 2008 |
| C. | 2011 |
| D. | 2016 |
| Answer» C. 2011 | |
| 5. |
Python is Object Oriented Programming Language. |
| A. | True |
| B. | False |
| C. | Neither true nor false |
| D. | None of the above |
| Answer» B. False | |
| 6. |
What is the extension of python file? |
| A. | .p |
| B. | .py |
| C. | .python |
| D. | None of the above |
| Answer» C. .python | |
| 7. |
Python is written in which language? |
| A. | C |
| B. | C++ |
| C. | Java |
| D. | None of the above |
| Answer» B. C++ | |
| 8. |
Python was developed in which year? |
| A. | 1972 |
| B. | 1995 |
| C. | 1989 |
| D. | 1981 |
| Answer» D. 1981 | |
| 9. |
Python was developed by |
| A. | Guido van Rossum |
| B. | James Gosling |
| C. | Dennis Ritchie |
| D. | Bjarne Stroustrup |
| Answer» B. James Gosling | |