In this page we have given CBSE Board Class 12 Computer Science with Python Book Chapter Review of Python MCQ Question and Answer. All the questions below are important for our CBSE Champs.
- Board – CBSE.
- Class – 12
- Subject- Computer Science with Python.
- Topic- MCQ.
- Number of MCQ- 35.
1.) There is a need of ……………..to be installed in the computer system, which will help in writing or running the programs in Python.
a.) Runner
b.) Translator
c.) Interpreter
d.) None of these
Ans- c.) Interpreter
2.) Python is a ………………………… level language.
a.) Medium level language
b.) Low level language
c.) High-level language
d.) Top level language
Ans- c.) High-level language
3.) …………………. Mode allows us to interact with the OS.
a.) Interactive
b.) Communicate
c.) Script
d.) Conversation
Ans- a.) Interactive
4.) Every ……………………… has an identity, a type and a value
a.) Person
b.) Business
c.) Money
d.) object
Ans – d.) object
5.) Object / Variable is a name which refers to the …………………….
a.) Value
b.) Thing
c.) Vision
d.) None of the above
Ans – a) Value
6.) ………………………. data type stores the numerical value.
a.) Character
b.) String
c.) Number
d.) Sequence
Ans – c.) Number
7) It stores the whole numbers that is decimals without the fraction part.
a) Float
b) Integer & Long
c) Complex
d) Duplex
Ans – b) Integer & Long
8) This data type is used to signify the absence of the value/ false in a situation.
a.) Empty
b.) Null
c.) None
d.) Not
Ans – c.) None
9) A sequence is an ordered collection of items, indexed by positive integers.
a.) Number
b.) Arrange
c.) Sequence
d.) Orders
Ans – c.) Sequence
10) It is the sequence of the letters or the characters which are enclosed in a single quotes (‘ ‘) or double quotes (““)
a.) String
b.) Variable
c.) Lists
d.) Tuples
Ans – a.) String
11.) In the ………………… the values are called as elements/items.
a.) Tuples
b.) String
c.) Lists
d.) None of these
Ans – c.) Lists
12.) It stores any number of python objects and is always enclosed in curly brackets { }.
a.) String
b.) Lists
c.) Dictionaries
d.) Sets
Ans – c.) Dictionaries
13.) ……………………. are used to identify the structure of the program.
a.) Strings
b.) Lists
c.) Values
d.) Keywords
Ans – d) Keywords
14.) These are the special symbols that represents computations like addition and multiplication.
a.) Values
b.) Numbers
c.) Digits
d.) Operators
Ans – d.) Operators
15.) It means the data entered by user (end user) of the program.
a.) Feeding
b.) Adding
c.) Input
d.) Entering
Ans – c) Input
16.) This statement is used for displaying results.
a.) Output
b.) Show
c.) Display
d.) Print
Ans – d.) Print
17.) Interpreter ignores anything that is written after ……………… in a line
a.) ,
b.) @
c.) #
d.) .
Ans – c) #
18.) It contains line of code(s) that are executed sequentially from top to bottom by Python interpreter.
a.) Function
b.) Program
c.) Variable
d.) None of these
Ans – a) Function
19.) A file containing Python definitions (i.e functions) and statements.
a.) Built in
b.) Module
c.) User defined
d.) All of these
Ans – b) Module
20.) The python code file is saved with ………………. Extension
a.) python
b.) .py
c.) .pt
d.) pyt
Ans – b) .py
21.) The functions which are already built in Python and can be accessed by the programmer.
a.) Built in
b.) Module
c.) User defined
d.) All of these
Ans – a.) Built in
22.) The …………… keyword is used to define the user defined functions.
a.) def
b.) udf
c.) udfun
d.) userdef
Ans – a.) def
23.) These are the values which are provided in the parenthesis when we write function header.
a.) Parameters
b) Variables
c) Numbers
d) Strings
Ans – a.) Parameters
24.) The values which are provided in function call/invoke statement.
a.) Definition
b.) Operators
c.) Arguments
d.) Parameters
Ans – c) Arguments
25.) Execution always begins at the …………….. statement of the program.
a.) first
b.) last
c.) middle
d.) top
Ans – a.) first
26) In this programs, the instructions are executed one after another.
a.) Arranged statements
b.) Defined statements
c.) Ordered Statements
d.) Sequence statements
Ans – d) Sequence statements
27.) In …………………………… some portion of the program is executed based upon the conditional test.
a.) Arranged statements
b.) Defined statements
c.) Selective Statements
d.) Sequence statements
Ans – c.) Selective Statements
28.) Looping statements in python is implemented by using …………………… statement
a.) if
b.) if- else
c.) for-while
d.) All of these
Ans – c.) for-while
29.) An individual character in a string is accessed using a subscript which should be always be an integer (positive and negative) and starts from ……….
a.) A
b.) 1
c.) 0
d.) First
Ans – c) 0
30.) As list is the ordered set of values which should be enclosed in …………………..
a.) Square brackets [ ]
b.) Round brackets ( )
c.) Curly brackets { }
d.) Angle brackets <>
Ans – a.) Square brackets [ ]
31.) These are treated as boundaries and the result will contain all the elements between boundaries.
a.) Pieces
b.) Slices
c.) Gaps
d.) Margins
Ans – b.) Slices
32.) In a list, index value is an integer, while in a dictionary index value can be any other data type and are called ……………….
a.) Keys
b.) Answer keys
c.) Information
d.) Data
Ans – a.) Keys
33.) It is the association of a key and a value.
a.) Key-value pair
b.) Key pair
c.) Listed pair
d.) Master key
Ans- a.) Key-value pair
34.) A tuple consists of a number of values separated by ……………….
a.) Hyphens –
b.) Commas ,
c.) Double quotes “ “
d.) None of these
Ans- b.) Commas ,
35.) A dictionary is an extremely useful data storage construct for storing and retrieving all key values where each element is accessed (indexed) by a …………………….. key
a.) Similar
b.) Primary
c.) Master Key
d.) Unique
Ans – d.) Unique
Hope above Chapter Review of Python MCQ will help You. For any doubts please contact us. Our Computer Science Teacher will help You.