Python MCQ Basics

Q1. Who developed the Python programming language?

A) James Gosling
B) Dennis Ritchie
C) Guido van Rossum
D) Bjarne Stroustrup
โœ… Correct Answer: (C) Guido van Rossum
๐Ÿ“˜ Explanation: Python was created by Guido van Rossum in the late 1980s while working at CWI, Netherlands.

Q2. In which year was Python first released?

A) 1985
B) 1989
C) 1991
D) 1995
โœ… Correct Answer: (C) 1991
๐Ÿ“˜ Explanation: Python was officially released in 1991 as an open-source language.

Q3. Python was named after which of the following?

A) A type of snake
B) A movie
C) A Greek god
D) Monty Pythonโ€™s Flying Circus
โœ… Correct Answer: (D) Monty Pythonโ€™s Flying Circus
๐Ÿ“˜ Explanation: Guido was a fan of the comedy show โ€œMonty Pythonโ€™s Flying Circusโ€, not the snake.

Q4. Python is classified as a ______ language.

A) Low-level
B) High-level
C) Machine-level
D) Assembly-level
โœ… Correct Answer: (B) High-level
๐Ÿ“˜ Explanation: Python is a high-level language, meaning it is easy to read and write and closer to human language.

Q5. Python was initially developed at which organization?

A) IBM
B) Microsoft
C) CWI (Netherlands)
D) Google
โœ… Correct Answer: (C) CWI (Netherlands)
๐Ÿ“˜ Explanation: Python was developed at Centrum Wiskunde & Informatica (CWI) in the Netherlands.

Q6. Which programming language influenced the development of Python?

A) Java
B) C
C) ABC language
D) FORTRAN
โœ… Correct Answer: (C) ABC language
๐Ÿ“˜ Explanation: Python was heavily influenced by the ABC language, which focused on simplicity and readability.

Q7. Python supports which programming paradigm?

A) Procedural only
B) Functional only
C) Object-oriented only
D) Multi-paradigm
โœ… Correct Answer: (D) Multi-paradigm
๐Ÿ“˜ Explanation: Python supports procedural, object-oriented, and functional programming styles.

Q8. Why did Python gain popularity among beginners?

A) Complex syntax
B) Low execution speed
C) Simple and readable syntax
D) Hardware dependency
โœ… Correct Answer: (C) Simple and readable syntax
๐Ÿ“˜ Explanation: Pythonโ€™s English-like syntax and minimal code make it easy for beginners.

Q9. Python is an ______ source language.?

A) Closed
B) Paid
C) Open-source
D) Licensed only
โœ… Correct Answer: (C) Open-source
๐Ÿ“˜ Explanation: Python is open-source, allowing anyone to use, modify, and distribute it freely..

Q10. Which organization manages Python today?

A) Google
B) Microsoft
C) Python Software Foundation (PSF)
D) Oracle
โœ… Correct Answer: (C) Python Software Foundation (PSF)
๐Ÿ“˜ Explanation: The Python Software Foundation (PSF) maintains Python and promotes its development.

Q11. Python uses which type of memory management?

A) Manual
B) Automatic (Garbage Collection)
C) Static
D) None
โœ… Correct Answer: (B) Automatic (Garbage Collection)
๐Ÿ“˜ Explanation: Python automatically manages memory using garbage collection.

Q12. Python emphasizes which core principle?

A) Speed
B) Hardware control
C) Code readability
D) Low memory usage
โœ… Correct Answer: (C) Code readability
๐Ÿ“˜ Explanation: Pythonโ€™s design philosophy prioritizes clean and readable code.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top