Python: History & Features (Exam Notes)
History of Python
- Python was created by Guido van Rossum.
- Development started in the late 1980s at CWI, Netherlands.
- First released in 1991.
- The name "Python" comes from the TV show “Monty Python’s Flying Circus”.
- Python was designed to be simple, readable, and powerful.
- Python is maintained by the Python Software Foundation (PSF).
- Major versions: Python 2.x (discontinued) and Python 3.x (current).
Features of Python
- Simple and easy to learn
- Interpreted language
- High-level language
- Platform independent (portable)
- Object-oriented
- Open source and free
- Large standard library
- Dynamically typed
- Extensible and embeddable
- Supports multiple programming paradigms
- Automatic garbage collection
- Readable and maintainable code (uses indentation)
20 MCQs: Python History & Features
1. Who developed Python?
A) Dennis Ritchie
B) James Gosling
C) Guido van Rossum
D) Bjarne Stroustrup
A) Dennis Ritchie
B) James Gosling
C) Guido van Rossum
D) Bjarne Stroustrup
2. Python was first released in:
A) 1985
B) 1991
C) 1995
D) 2000
A) 1985
B) 1991
C) 1995
D) 2000
3. Python was developed at:
A) MIT
B) Bell Labs
C) CWI, Netherlands
D) Google
A) MIT
B) Bell Labs
C) CWI, Netherlands
D) Google
4. The name Python comes from:
A) A snake
B) A movie
C) A book
D) A TV show
A) A snake
B) A movie
C) A book
D) A TV show
5. Python is maintained by:
A) Oracle
B) Microsoft
C) Python Software Foundation
D) Google
A) Oracle
B) Microsoft
C) Python Software Foundation
D) Google
6. Python is a:
A) Low-level language
B) Assembly language
C) High-level language
D) Machine language
A) Low-level language
B) Assembly language
C) High-level language
D) Machine language
7. Python is an interpreted language means:
A) It is compiled first
B) It executes line by line
C) It cannot run fast
D) It has no errors
A) It is compiled first
B) It executes line by line
C) It cannot run fast
D) It has no errors
8. Which feature makes Python easy to learn?
A) Complex syntax
B) English-like syntax
C) Use of pointers
D) Use of braces
A) Complex syntax
B) English-like syntax
C) Use of pointers
D) Use of braces
9. Python is platform independent because:
A) It is free
B) Same code runs on different OS
C) It is fast
D) It is compiled
A) It is free
B) Same code runs on different OS
C) It is fast
D) It is compiled
10. Which of the following is NOT a feature of Python?
A) Open source
B) Portable
C) Platform dependent
D) Interpreted
A) Open source
B) Portable
C) Platform dependent
D) Interpreted
11. Python supports:
A) Only procedural programming
B) Only OOP
C) Multiple programming paradigms
D) Only functional programming
A) Only procedural programming
B) Only OOP
C) Multiple programming paradigms
D) Only functional programming
12. Python uses which for code blocks?
A) Curly braces {}
B) Semicolon ;
C) Indentation
D) Parentheses ()
A) Curly braces {}
B) Semicolon ;
C) Indentation
D) Parentheses ()
13. Python is dynamically typed means:
A) Types are fixed
B) Types are decided at runtime
C) It is slow
D) It uses only integers
A) Types are fixed
B) Types are decided at runtime
C) It is slow
D) It uses only integers
14. Which is a benefit of Python’s standard library?
A) More syntax
B) More memory usage
C) Ready-made modules
D) Slower execution
A) More syntax
B) More memory usage
C) Ready-made modules
D) Slower execution
15. Garbage collection in Python means:
A) Deleting files
B) Formatting memory
C) Automatic memory management
D) Removing syntax errors
A) Deleting files
B) Formatting memory
C) Automatic memory management
D) Removing syntax errors
16. Python can be extended using:
A) Only Java
B) Only Python
C) C/C++
D) HTML
A) Only Java
B) Only Python
C) C/C++
D) HTML
17. Python can be embedded in:
A) Only C programs
B) Other languages
C) Only Java
D) Only HTML
A) Only C programs
B) Other languages
C) Only Java
D) Only HTML
18. Which version of Python is currently used?
A) Python 1.x
B) Python 2.x
C) Python 3.x
D) Python 4.x
A) Python 1.x
B) Python 2.x
C) Python 3.x
D) Python 4.x
19. Which of the following is true about Python?
A) It is not free
B) It is open source
C) It is machine dependent
D) It is low-level
A) It is not free
B) It is open source
C) It is machine dependent
D) It is low-level
20. Python code is easy to maintain because:
A) It uses pointers
B) It uses indentation and simple syntax
C) It uses braces
D) It is compiled
A) It uses pointers
B) It uses indentation and simple syntax
C) It uses braces
D) It is compiled
Answer Key
1-C, 2-B, 3-C, 4-D, 5-C, 6-C, 7-B, 8-B, 9-B, 10-C,
11-C, 12-C, 13-B, 14-C, 15-C, 16-C, 17-B, 18-C, 19-B, 20-B