Python Programming Multiple Choice Question - History And About
This section focuses on the "History and About" of the Python programming. These Multiple Choice Questions (mcq) should be practiced to improve the Python programming skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.
1. Python was developed by
Explanation: A Dutch Programmer Guido van Rossum developed python at Centrum Wiskunde & Informatica (CWI) in the Netherlands as a successor to the ABC language.
2. Python was developed in which year?
Explanation: Python was introduced by Guido Van Rossum in 1989. So Option C is correct.
3. Python is written in which language?
Explanation: Python is written in C with default/traditional implementation as CPython. So, Option A is correct.
4. What is the extension of python file?
Explanation: Python file is saved with an extension .py. So, Option B is correct.
5. Python is Object Oriented Programming Language.
Explanation: Yes python is object oriented language but not pure. It does not support strong encapsulation while it is one of the core features of an "object-oriented" programming language. So, Option A is correct.
6. Python 3.0 is released in which year?
Explanation: Python 3.0 was released on December 3rd, 2008. So, Option B is correct.
7. Which of the following statements is true?
Explanation: Python is high level, object oriented and interpreted programming language. So, Option D is correct.
8. What is used to define a block of code in Python?
Explanation: Python uses indentation to define block of code. Indentations are simply Blank spaces or Tabs which is used as an indicator that indented code is the child part. As curlybraces are used in C/C++/Java.. So, Option B is correct.
9. By the use of which character, single line is made comment in Python?
Explanation: # is used for single line is made comment in Python. So, Option C is correct.
10. What is a python file with .py extension called?
Explanation: python file with .py extension called module. So, Option B is correct.
Also check :