CBSE Class 11 Computer Science Python Revision MCQs Set A

Practice CBSE Class 11 Computer Science Python Revision MCQs Set A provided below. The MCQ Questions for Class 11 Python Revision Computer Science with answers and follow the latest CBSE/ NCERT and KVS patterns. Refer to more Chapter-wise MCQs for CBSE Class 11 Computer Science and also download more latest study material for all subjects

MCQ for Class 11 Computer Science Python Revision

Class 11 Computer Science students should review the 50 questions and answers to strengthen understanding of core concepts in Python Revision

Python Revision MCQ Questions Class 11 Computer Science with Answers

Question. What is the maximum possible length of an identifier?
a) 31 characters
b) 63 characters
c) 79 characters
d) none of the mentioned

Answer : D

Question. Which of the following is an invalid variable?
a) my_string_1
b) 1st_string
c) foo
d) _

Answer : B

Question. What is the output of this expression, 3*1**3?
a) 27
b) 9
c) 3
d) 1

Answer : C

Question. Which of the following words cannot be a variable in python language?
a) _val
b) val
c) try
d) _try_

Answer : C

Question. In which data type, indexing is not valid?
a) List
b)String
c) Dictionary
d) None of the above

Answer : C

Question. If x=3.123, then int(x) will give ?
a) 1
b) 0
c) 1
d) 3

Answer : D

Question. Identify tuple from the following-
a) [3]
b) {1, 2, 3}
c) (1, 2, 3, 4)
d) None of the Above

Answer : C

Question. Which of the following is an escape sequence for a newline character ?
a) \a
b) \t
c) \n
d) \b

Answer : C

Question. Which of the following functions print the output to the console ?
a) Output( )
b) Print( )
c) Echo( )
d) print( )

Answer : D

Question. To convert the read value through input( ) into a floating point number, ……….( ) is used.
a) floating
b) float
c) int
d) integer

Answer : B

Question. Which symbol denotes the python prompt?
a) >>>
b) #
c) ”’
d) //

Answer : A

Question. Which of the following keywords is not reversed keyword in python?
a) None
b) class
c) goto
d) and

Answer : C

Question. Which values are used by the functions to communicate information back to the caller?
a) local
b) global
c) random
d) return

Answer : D

Question. Who developed the Python language?
a) Zim Den
b)Wick van Rossum
c) Guido van Rossum
d) Niene Stom

Answer : C

Question. Which is the correct operator for power(xy)?
a) X^y
b) X**y
c) X^^y
d) None of the mentioned

Answer : B

Question. A function in Python begins with which keyword?
a) void
b) return
c) def
d) int

Answer : C

Question. Which of the following option is not a core data type in the python language?
a) Dictionary
b) Lists
c) Class
d) All of the above

Answer : C

Question. Select the correct example of complex datatype in Python
a) 3 + 2j
b) -100j
c) 5j
d) All of the above are correct

Answer : D

Question. In order to store values in terms of key and value we use that core data type in python?
a) List
b) Class
c) Dictionary
d) Tuple

Answer : C

Question. Data items having fixed value are called ………. .
a) Identifiers
b) functions
c) Keywords
d) literals

Answer : D

Question. Escape sequences are treated as ………. .
a) strings
b) characters
c) integers
d) none of these

Answer : B

Question. Which of the following is/are expression(s) ?
a) a+b-5
b) a
c) -5
d) 0

Answer : A

Question. To convert the read value through input( ) into integer type, ……….( ) is used.
a) floating
b) float
c) int
d) integer

Answer : C

Question. Which of the following is a valid string literal?
a) “PythonMcq”
b) ‘PythonMcq’
c) ”’PythonMcq”’
d) All of these

Answer : C

Question. Functions that do not return any value are known as
a) fruitful functions
b) void functions
c) library functions
d) user-defined functions

Answer : B

Question. Which one of the following is the correct extension of the Python file?
a) .py
b) .python
c) .p
d) None of these

Answer : A

Question. What do we use to define a block of code in Python language?
a) Key
b) Brackets
c) Indentation
d) None of these

Answer : C

Question. Which of the following statements assigns the value 25 to the variable x in Python:
a) x ← 25
b) x = 25
c) x := 25
d) int x = 25

Answer : B

Question. Correct way to declare a variable x of float data type in python:
a) x = 2.5
b) float x = 2.5
c) float(2.5)
d) All of the above

Answer : A

Question. Names given to different parts of a Python program are ………. .
a) Identifiers
b) functions
c) Keywords
d) literals

Answer : A

Question. Which of the following value is not legal in an octal value ?
a) 7
b) 8
c) 11
d) 0

Answer : B

Question. The input( ) returns the value as ………. type.
a) integer
b) string
c) floating point
d) none of these

Answer : B

Question. Which line of code produces an error?
a) “PythonMcq” + “12”
b) ‘PythonMcq’ + 16
c) 3 + 7
d) ‘PythonMcq’ + “21”

Answer : B

Question. A variable created or defined within a function body is classified as-
a) local
b) global
c) instance
d) build-in

Answer : A

Question. Which of the following cannot be a variable?
a) __init__
b) in
c) it
d) on

Answer : B

Question. What is the answer to this expression, 22 % 3 is?
a) 7
b) 0
c) 1
d) 5

Answer : C

Question. Which one of the following is the correct way of declaring and initializing a variable, x with the value 7?
a) int x
x=7
b) int x=7
c) x=7
d) declare x=7

Answer : C

Question. How can we create an empty list in python?
a) list=()
b) null
c) list
d) list=[]

Answer : D

Question. Special meaning words of Pythons, fixed for specific functionality are called ………. .
a) Identifiers
b) functions
c) Keywords
d) literals

Answer : C

Question. Which of the following is an escape sequence for a tab character ?
a) \a
b) \t
c) \n
d) \b

Answer : B

Question. The lines beginning with a certain character, and which are ignored by a compiler and not executed, are called ……….
a) operators
b) operands
c) functions
d) comments

Answer : D

Question. The default separator character of print( ) is ……….
a) tab
b) space
c) newline
d) dot

Answer : B

Question. How many keywords present in the python programming language?
a) 32
b) 61
c) 33
d) 27

Answer : C

Question. Name the statement that sends back a value from a function.
a) print
b) return
c) input
d) none

Answer : B

Question. In which year was the Python language developed?
a) 1991
b) 1989
c) 1981
d) 1973

Answer : A

Question. Which character is used in Python to make a single line comment?
a) /
b) //
c) #
d) !

Answer : C

Question. l = [ 4, 8, 9, 2.6, 5 ] is a type of which data type in python?
a) List
b) Tuple
c) Set
d) None of these

Answer : A

Question. Which of the following are valid identifiers ?
a) my name
b) _myname
c) 2myname
d) my-name

Answer : B

Question. To print a line a text without ending it with a newline, ………. argument is used with print( )
a) sep
b) newline
c) end
d) next

Answer : C

Question. Which one of these is floor division?
a) /
b) //
c) %
d) None of the mentioned

Answer : B

Question. Which statement is true from following-
a) List is mutable & Tuple is immutable
b) List is immutable & Tuple is mutable
c) Both are Mutable.
d) Both are Immutable

Answer : A

Question. Select the reserved keyword in Python.
a) else
b) import
c) print
d) all of these

Answer : D

Question. Which of the following declarations is incorrect?
a) _x = 2
b) ____x = 3
c) __xyz__ = 5
d) None of these

Answer : D

Question. Which of the following is not a legal integer type value in Python ?
a) Decimal
b) Octal
c) Hexadecimal
d) Roman

Answer : D

Question. Python is____
a) High-Level
b) Interpreted
c) Object-Oriented
d) All Of The Above

Answer : D
 

Question. Python passes parameters by reference.
a) True
b) False

Answer : B

Question. More than one value(s) can be returned by a function in Python.
a) True
b) False

Answer : A

Question. Parameters specified within a pair of parentheses in the function definition are the actual parameters or non-formal parameters.
a) True
b) False

Answer : B

Question. Value returning functions should be generally called from inside of an expression.
a) True
b) False

Answer : A

Question. A function in Python is used by invoking it via a function call.
a) True
b) False

Answer : A

Question. The variable declared inside a function is called a global variable.
a) True
b) False

Answer : B

Question. A local variable having the same name as that of a global variable hides the global variable in its function.
a) True
b) False

Answer : A

Question. Once a function is defined, it may be called only once from many different places in a program.
a) True
b) False

Answer : B

MCQs for Python Revision Computer Science Class 11

Students can use these MCQs for Python Revision to quickly test their knowledge of the chapter. These multiple-choice questions have been designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Our expert teachers suggest that you should practice daily and solving these objective questions of Python Revision to understand the important concepts and better marks in your school tests.

Python Revision NCERT Based Objective Questions

Our expert teachers have designed these Computer Science MCQs based on the official NCERT book for Class 11. We have identified all questions from the most important topics that are always asked in exams. After solving these, please compare your choices with our provided answers. For better understanding of Python Revision, you should also refer to our NCERT solutions for Class 11 Computer Science created by our team.

Online Practice and Revision for Python Revision Computer Science

To prepare for your exams you should also take the Class 11 Computer Science MCQ Test for this chapter on our website. This will help you improve your speed and accuracy and its also free for you. Regular revision of these Computer Science topics will make you an expert in all important chapters of your course.

Where can I download latest CBSE MCQs for Class 11 Computer Science Python Revision

You can download the CBSE MCQs for Class 11 Computer Science Python Revision for latest session from StudiesToday.com

Are the Class 11 Computer Science Python Revision MCQs available for the latest session

Yes, the MCQs issued by CBSE for Class 11 Computer Science Python Revision have been made available here for latest academic session

Where can I find CBSE Class 11 Computer Science Python Revision MCQs online?

You can find CBSE Class 11 Computer Science Python Revision MCQs on educational websites like studiestoday.com, online tutoring platforms, and in sample question papers provided on this website.

How can I prepare for Python Revision Class 11 MCQs?

To prepare for Python Revision MCQs, refer to the concepts links provided by our teachers and download sample papers for free.

Are there any online resources for CBSE Class 11 Computer Science Python Revision?

Yes, there are many online resources that we have provided on studiestoday.com available such as practice worksheets, question papers, and online tests for learning MCQs for Class 11 Computer Science Python Revision