Latest Introduction, Installation, and Basic Syntax MCQ Objective Questions
Introduction, Installation, and Basic Syntax Question 1:
What is the output of print(“Welcome”)?
- “Welcome”
- welcome
- ‘Welcome’
- Welcome
Answer (Detailed Solution Below)
Option 4 : Welcome
Introduction, Installation, and Basic Syntax Question 1 Detailed Solution
Option (4) is the correct answer
Welcome
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 2:
Which character is used in Python to make a single line comment?
- /
- / /
- #
- !
Answer (Detailed Solution Below)
Option 3 : #
Introduction, Installation, and Basic Syntax Question 2 Detailed Solution
Option (3) is the correct answer
#
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 3:
What do we use to define a block of code in Python language?
- Key
- Brackets
- Indentation
- None of these
Answer (Detailed Solution Below)
Option 3 : Indentation
Introduction, Installation, and Basic Syntax Question 3 Detailed Solution
Option (3) is the correct answer
Indentation
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 4:
Who developed the Python language?
- Zim Den
- Guido van Rossum
- NieneStom
- Wick van Rossum
Answer (Detailed Solution Below)
Option 2 : Guido van Rossum
Introduction, Installation, and Basic Syntax Question 4 Detailed Solution
Option (2) is the correct answer
Guido van Rossum
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 5:
What is the maximum possible length of an identifier in Python?
- 16
- 32
- 79
- None of these above
Answer (Detailed Solution Below)
Option 3 : 79
Introduction, Installation, and Basic Syntax Question 5 Detailed Solution
Option (3) is the correct answer
79
In Python, the highest possible length of an identifier is 79 characters. Python is a high level programming language.
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Top Introduction, Installation, and Basic Syntax MCQ Objective Questions
Introduction, Installation, and Basic Syntax Question 6:
What is the maximum possible length of an identifier in Python?
- 16
- 32
- 79
- None of these above
Answer (Detailed Solution Below)
Option 3 : 79
Introduction, Installation, and Basic Syntax Question 6 Detailed Solution
Option (3) is the correct answer
79
In Python, the highest possible length of an identifier is 79 characters. Python is a high level programming language.
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 7:
Who developed the Python language?
- Zim Den
- Guido van Rossum
- NieneStom
- Wick van Rossum
Answer (Detailed Solution Below)
Option 2 : Guido van Rossum
Introduction, Installation, and Basic Syntax Question 7 Detailed Solution
Option (2) is the correct answer
Guido van Rossum
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 8:
What is the output of print(“Welcome”)?
- “Welcome”
- welcome
- ‘Welcome’
- Welcome
Answer (Detailed Solution Below)
Option 4 : Welcome
Introduction, Installation, and Basic Syntax Question 8 Detailed Solution
Option (4) is the correct answer
Welcome
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 9:
Which character is used in Python to make a single line comment?
- /
- / /
- #
- !
Answer (Detailed Solution Below)
Option 3 : #
Introduction, Installation, and Basic Syntax Question 9 Detailed Solution
Option (3) is the correct answer
#
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 10:
What do we use to define a block of code in Python language?
- Key
- Brackets
- Indentation
- None of these
Answer (Detailed Solution Below)
Option 3 : Indentation
Introduction, Installation, and Basic Syntax Question 10 Detailed Solution
Option (3) is the correct answer
Indentation
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 11:
In which language is Python written?
- English
- PHP
- C
- All of the above
Answer (Detailed Solution Below)
Option 3 : C
Introduction, Installation, and Basic Syntax Question 11 Detailed Solution
Python is written in C programming language, and it is also called CPython.Python language was developed by Guido van Rossum in 1989.
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students
Introduction, Installation, and Basic Syntax Question 12:
In which year was the Python language developed?
- 1995
- 1972
- 1981
- 1989
Answer (Detailed Solution Below)
Option 4 : 1989
Introduction, Installation, and Basic Syntax Question 12 Detailed Solution
Option(4) is the correct answer.
1989
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Get Started for Free
Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917Trusted by 6.1 Crore+ Students