The document contains multiple choice questions (MCQs) related to Python programming, covering topics such as its release date, developer, and fundamental concepts. Each question is followed by four answer options, with the correct answer indicated. The content is structured into chapters, starting with an introduction to Python and its fundamentals.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views3 pages
Full MCQ Questions
The document contains multiple choice questions (MCQs) related to Python programming, covering topics such as its release date, developer, and fundamental concepts. Each question is followed by four answer options, with the correct answer indicated. The content is structured into chapters, starting with an introduction to Python and its fundamentals.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
Multiple Choice Questions (MCQs)
## Multiple Choice Questions (MCQs)
### Chapter - 1: GETTING STARTED WITH PYTHON
1. When was Python released?
a) 1989 b) 1991 c) 2000 d) 2010 **Answer:** b) 1991
2. Who developed Python?
a) Dennis Ritchie b) Bjarne Stroustrup c) Guido Van Rossum d) James Gosling **Answer:** c) Guido Van Rossum
3. Which two languages contributed to Python as a programming language
a) C and C++ b) ABC language and Modula 3 c) Java and Perl d) Fortran and Lisp **Answer:** b) ABC language and Modula 3 4. Python is named after which show? a) Monty Python's Flying Circus b) The Big Bang Theory c) Friends d) Saturday Night Live **Answer:** a) Monty Python's Flying Circus
5. Python is an ________ language.
a) Compiled b) Interpreted c) Machine d) Assembly **Answer:** b) Interpreted
### Chapter - 2: PYTHON FUNDAMENTALS
6. What is the None literal in Python used for?
a) Representing zero b) Indicating absence of value c) Representing infinity d) Representing an empty list **Answer:** b) Indicating absence of value
7. What will the following code do: `a=b=18`?
a) Assigns 18 to a only b) Assigns 18 to b only c) Assigns 18 to both a and b d) Throws an error **Answer:** c) Assigns 18 to both a and b
8. What will happen if you execute `X = 0281`?
a) Syntax error b) Assigns 281 to X c) Assigns 0281 to X d) Executes successfully **Answer:** a) Syntax error
9. Which of the following is a valid string in Python?
a) "Hello' b) 'Hello" c) 'Hello' d) {Hello} **Answer:** c) 'Hello'
10. What are the two modes to work in Python?
a) Debug mode and Execute mode b) Console mode and GUI mode c) Interactive mode and Script mode d) Binary mode and Text mode **Answer:** c) Interactive mode and Script mode