Teachers and Examiners collaborated to create the Introduction to Python Class 9 MCQ. All the important MCQs are taken from the NCERT Textbook Artificial Intelligence ( 417 ) class IX.
Introduction to Python Class 9 MCQ
1. Who developed Python Programming Language?
a. Wick van Rossum
b. Rasmus Lerdorf
c. Guido van Rossum
d. Niene Stom
2. Python supports which types of programming?
a. object-oriented programming
b. structured programming
c. functional programming
d. All of the mentioned
3. When it comes to identifiers, is Python case sensitive?
a. No
b. Yes
c. Machine dependent
d. None of the mentioned
4. Which of the following is the valid Python file extension?
a. .python
b. .pl
c. .py
d. .p
Introduction to Python Class 9 MCQ
5. All keywords in Python are in _________.
a. Capitalized
b. lower case
c. UPPER CASE
d. None of the mentioned
6. In Python, which of the following characters is used to create single-line comments?
a. //
b. #
c. !
d. /*
7. Which of the following statements about variable names in Python is correct?
a. Underscore and ampersand are the only two special characters allowed
b. Unlimited length
c. All private members must have leading and trailing underscores
d. None of the mentioned
8. What is the maximum length of an identifier that can be used?
a. 16
b. 32
c. 64
d. None of these above
9. When was the Python programming language created?
a. 1995
b. 1972
c. 1981
d. 1989
Introduction to Python Class 9 MCQ
10. Python is written in which language?
a. English
b. PHP
c. C
d. All of the above
11. In the Python language, which of the following is not a keyword?
a. Val
b. Raise
c. Try
d. With
12. In the Python language, which of the following statements is correct for variable names?
a. All variable names must begin with number.
b. Unlimited length
c. The variable name length is a maximum of 2 characters.
d. All of the above
13. A computer ___________ is a collection of instructions that perform a specific task when executed by a computer.
a. Program
b. Code
c. Code Body
d. None of the above
14. Why is Python such a widely used programming language?
a. Easy to learn
b. Portability and compatibility
c. A Broad Standard Library
d. All of the above
Introduction to Python Class 9 MCQ
15. What are the various applications that Python supports?
a. Web and Desktop GUI Application
b. Database Access
c. Games and 3D Graphics
d. All of the above
16. Python is a _________ programming language, which means it runs on a variety of platforms including Windows, MacOS, Linux, and the Java and.NET Virtual machines.
a. Cross-platform
b. Single-platform
c. Code-platform
d. None of the above
17. Python ___________ must be installed on our machine in order to run a Python programme.
a. Interpreter
b. Compiler
c. Assembler
d. All of the above
18. IDE stands for ______________.
a. Integrated Development Environment
b. Internal Develop Environment
c. Inside Development Environment
d. None of the above
19. IDLE stands for ____________.
a. Integrated Development and Learning Environment
b. Internal Develop and Learning Environment
c. Inside Development and Learning Environment
d. None of the above
Introduction to Python Class 9 MCQ
20. IDE helps to __________ python programs in a single interface.
a. Edit, Run
b. Browse
c. Debug
d. All of the above
21. What are the two methods for using a Python shell?
a. Interaction Mode, Sub Mode
b. Interactive Mode, Script Mode
c. Shell Mode, Python Mode
d. None of the above
22. You can add a programme in __________ in Interactive Mode.
a. Multiple Line
b. Single Line
c. Two Line
d. None of the above
23. You can add a programme in __________ in Script Mode.
a. Multiple Line
b. Single Line
c. Two Line
d. None of the above
24. Instructions written in the source code for execution are called ___________.
a. Statements
b. Sentence
c. Both a) and b)
d. None of the above
Introduction to Python Class 9 MCQ
25. Statements in Python can be extended to one or more lines using _____________.
a. braces{}
b. Parentheses()
c. Square Brackets[]
d. All of the above
26. A _________ is a piece of text that doesn’t impact the outcome of a programme; it’s just a way to tell someone what you’ve done in a programme or what’s going on in a block of code.
a. Statement
b. Comments
c. Nodes
d. None of the above
27. _________ are the reserved words in Python used by the Python interpreter to recognize the structure of the program.
a. Keywords
b. Identifiers
c. Comments
d. None of the above
28. An ____________ is a name given to entities like class, functions, variables, etc.
a. Keywords
b. Identifiers
c. Comments
d. None of the above
29. Python is a ____________ language.
a. Upper case
b. Small case
c. Case-sensitive
d. None of the above
Introduction to Python Class 9 MCQ
30. In the Identifier, Multiple words can be separated using an ___________.
a. Underscore
b. Parentheses
c. Bracket
d. None of the above
31. An identifier cannot start with a __________.
a. Numbers
b. Character
c. Underscore
d. None of the above
32. ___________ cannot be used as identifiers.
a. Numbers
b. Characters
c. Keywords
d. None of the above
33. Which special symbol is not allowed in Identifier.
a. !, @
b. #, $
c. %
d. All of the above
34. A ___________ is a name location used to store data in the memory.
a. Variable
b. Keywords
c. Statement
d. None of the above
Introduction to Python Class 9 MCQ
35. A _________ is a type of variable whose value cannot be changed.
a. Constant
b. Statement
c. Identifier
d. None of the above
36. ________ characters are possible to declare a constant.
a. Small Character
b. Capital Character
e. Both a) and b)
f. None of the above
37. In python everything’s an ___________.
a. Variable
b. Constant
d. Object
e. None of the above
38. What are the different types of numerical data types?
a. Integer & Long
b. Float / Floating point
c. Both a) and b)
d. None of the above
39. Numbers with fractions or decimal points are called ________ datatype.
a. Integer
b. String
c. Float
d. None of the above
Introduction to Python Class 9 MCQ
40. A ___________ is an ordered collection of items, indexed by positive integers. It is a combination of mutable and non-mutable data types.
a. Sequence
b. Integer
c. Float
d. None of the above
41. What are the different types of Sequence data types in python?
a. String
b. Lists
c. Tuples
d. All of the above
42. String is an ordered sequence of letters/characters. They are enclosed in single quotes (‘ ‘) or double (“ “).
a. String
b. Integer
c. Float
d. None of the above
43. ___________ are a sequence of values of any type, and are indexed by integers. They are immutable. Tuples are enclosed in ().
a. String
b. Lists
c. Tuples
d. All of the above
44. __________is an unordered collection of values, of any type, with no duplicate entry.
a. String
b. Set
c. Dictionaries
d. None of the above
Introduction to Python Class 9 MCQ
45. ____________is an unordered collection of key-value pairs. It is generally used when we have a
huge amount of data.
a. String
b. Set
c. Dictionaries
d. None of the above
Introduction to Python Class 9 MCQ
46. _________ are special symbols which represent computation. They are applied on operand(s), which can be values or variables.
a. Operators
b. Operand
c. Declaration
d. None of the above
47. Operators are categorized as _____________.
a. Arithmetic
b. Relational
c. Logical and Assignment
d. All of the above
48. _________ function is used to given output in python.
a. printf()
b. print()
c. scan()
d. None of the above
49. _________ function is used to take input from the user in python.
a. Input()
b. Insert()
c. Store()
d. None of the above
Introduction to Python Class 9 MCQ
50. How many type of conversion in python.
a. Implicity Type Conversion
b. Explicity Type Conversion
c. Py Type Conversion
d. Both a) and b)
51. Python automatically converts one data type to another datatype. This process is known as ___________.
a. Implicity Type Conversion
b. Explicity Type Conversion
c. Py Type Conversion
d. Both a) and b)
52. Convert the data type of an object to required data type. We use the predefined functions like int(), float(), str(), etc to perform ____________.
a. Implicity Type Conversion
b. Explicity Type Conversion
c. Py Type Conversion
d. Both a) and b)
Reference Textbook
The above Introduction to Python Class 9 MCQ was created using the NCERT Book and Study Material accessible on the CBSE ACADEMIC as a reference.
Disclaimer (CBSESkillEducation)- 100% of the questions are taken from the CBSE textbook Introduction to Python Class 9 MCQ, and our team has tried to collect all the correct MCQs from the textbook . If you found any suggestion or any error please contact us anuraganand2017@gmail.com.
Employability skills Class 9 Notes
- Unit 1 – Communication Skills Class 9 Notes
- Unit 2 – Self-Management Skills Class 9 Notes
- Unit 3 – Basic ICT Skills Class 9 Notes
- Unit 4 – Entrepreneurial Skills Class 9 Notes
- Unit 5 – Green Skills Class 9 Notes
Employability skills Class 9 MCQ
- Unit 1 – Communication Skills Class 9 MCQ
- Unit 2 – Self-Management Skills Class 9 MCQ
- Unit 3 – Basic ICT Skills Class 9 MCQ
- Unit 4 – Entrepreneurial Skillls Class 9 MCQ
- Unit 5 – Green Skills Class 9 MCQ
Employability skills Class 9 Questions and Answers
- Unit 1 – Communication Skills Class 9 Questionns and Answers
- Unit 2 – Self-Management Skills Class 9 Questions and Answers
- Unit 3 – Basic ICT Skills Class 9 Questions and Answers
- Unit 4 – Entrepreneurial Skills Class 9 Questions and Answers
- Unit 5 – Green Skills Class 9 Questions and Answers
Aritificial Intelligence Class 9 Notes
- Unit 1 – Introduction to Artificial Intelligence Class 9 Notes
- Unit 2 – AI Project Cycle Class 9 Notes
- Unit 3 – Neural Network Class 9 Notes
- Unit 4 – Introduction to Python Class 9 Notes
- Unit 4 : Introduction to Tools for AI Class 9 Notes
- Unit 4 : Flow of Control in Python Class 9 Notes
- Unit 4 : Introduction to Packages Python Class 9 Notes
Aritificial Intelligence Class 9 MCQ
- Unit 1 – Introduction to Artificial Intelligence Class 9 MCQ
- Unit 2 – AI Project Cycle Class 9 MCQ
- Unit 3 – Neural Network Class 9 MCQ
- Unit 4 – Introduction to Python Class 9 MCQ