Computer Science Objective Questions and Answers: Python Fundamentals
Explore reliable objective questions for Python Fundamentals tailored for Class 11 learners. Utilizing these Computer Science multiple-choice formats ensures thorough preparation and strengthens problem-solving speed for upcoming school assessments.
Download Python Fundamentals MCQs with Answers
Access the complete set of multiple-choice questions for Python Fundamentals below. This focused format allows students to isolate specific topics for thorough review and uninterrupted practice alongside official CBSE textbooks.
Question: Which of the following symbol is used to import all objects of a module?
(a) *
(b) #
(c) @
(d) $
Answer: a
Question: Which extension is used to save the Python code file?
(a) .Python
(b) .py
(c) .p
(d) .pyth
Answer: b
Question: What is returned by math.ceil(7.9)?
(a) 7
(b) 8
(c) 7.0
(d) 9.0
Answer: b
Question: Identify the correct output of the following code.
import math
print(math.floor(153.42))
(a) 153
(b) 154
(c) 154.0
(d) 153.4
Answer: a
Question: To include the use of functions which are present in the statistics library, we must use the option
(a) statistics.h
(b) import statistics
(c) import.statistics
(d) statistics.statistics
Answer: b
Question: What will be the output of the following Python code?
random.randrange(0,91,5)
(a) 10
(b) 18
(c) 79
(d) 95
Answer: a
Question: The value passed in sin() should be in
(a) degree
(b) meter
(c) inch
(d) radian
Answer: d
Question: Identify the correct output.
print(pow(-3, 2))
(a) 9
(b) -9
(c) 8
(d) -8
Answer: a
Question: Which of the following function always gives output in integer form?
(a) random()
(b) choice()
(c) mean()
(d) randint()
Answer: d
Question: To include the use of functions which are present in the random library, we must use the option
(a) import random
(b) random.h
(c) import.random
(d) random.random
Answer: a
Question: Identify the correct output of:
import math
f = math.floor(145.35)
print(f)
(a) 146
(b) 145
(c) 145.3
(d) 145.4
Answer: b
Question: Which module is used for pow() to find the power of a number?
(a) random
(b) math
(c) statistics
(d) power
Answer: b
Question: Which module is used for sqrt() to find the square root of a number?
(a) random
(b) square root
(c) math
(d) statistics
Answer: c
Question: What will be the output of the following Python code?
random.randrange(1,100,10)
(a) 32
(b) 67
(c) 91
(d) 80
Answer: c
Question: What will be the output of the following Python function if the random module has already been imported?
random.randint(3.5, 7)
(a) Error
(b) Any integer between 3.5 and 7, including 7
(c) Any integer between 3.5 and 7, excluding 7
(d) The integer closest to the mean of 3.5 and 7
Answer: a
Case Based MCQs
Question: A Python module is a file containing Python definitions and statements. A module can define functions, classes and variables. A module can also include runnable code. Grouping related code into a module makes the code easier to understand and use. It also makes the code logically organised.
When you import a module, the Python interpreter searches for the module in the following sequences.
- The current directory.
- If the module isn’t found, Python then searches each directory in the shell variable PYTHONPATH.
- If all else fails Python checks the default path. On UNIX, this default path is normally/usr/local/lib/ python/.
Question: Which keyword is used to import the module?
(a) import
(b) import_module
(c) module
(d) Any of the above
Answer: a
Question: Which of the following module is used in Python?
(a) math
(b) pie
(c) statistics
(d) square root
Answer: a
Question: Choose the correct syntax to import all objects of a module.
(a) from module_name import *
(b) from module_name import all
(c) module_name * from import
(d) all module from import
Answer: a
Question: To import multiple objects, which symbol is used to write multiple objects?
(a) #
(b) :
(c) ;
(d) ,
Answer: d
Question: Which of the following module is used for mean(), mode() and median()?
(a) math
(b) arithmetic
(c) statistics
(d) random
Answer: c
Multiple Choice Questions (MCQs) for Class 11 Computer Science Python Fundamentals
Download Multiple Choice Questions: Python Fundamentals (Class 11 Computer Science)
Review structured objective questions for Class 11 Computer Science Python Fundamentals. Built according to official CBSE guidelines, these MCQ sets support daily revision and core concept reinforcement.
Concept Clarification for Python Fundamentals
Each question includes structured solution keys mapped directly to standard CBSE textbooks, helping students evaluate their reasoning and correct mistakes early in their revision.
Additional Study Resources for Class 11 Computer Science
Wrap up your chapter revision by testing your knowledge against standard question formats. Everything on our platform is provided free of charge.
FAQs
You can get most exhaustive CBSE Class 11 Computer Science Python Fundamentals MCQs for free on StudiesToday.com. These MCQs for Class 11 Computer Science are updated for the 2026-27 academic session as per CBSE examination standards.
Yes, our CBSE Class 11 Computer Science Python Fundamentals MCQs include the latest type of questions, such as Assertion-Reasoning and Case-based MCQs. 50% of the CBSE paper is now competency-based.
By solving our CBSE Class 11 Computer Science Python Fundamentals MCQs, Class 11 students can improve their accuracy and speed which is important as objective questions provide a chance to secure 100% marks in the Computer Science.
Yes, Computer Science MCQs for Class 11 have answer key and brief explanations to help students understand logic behind the correct option as its important for 2026 competency-focused CBSE exams.
Yes, you can also access online interactive tests for CBSE Class 11 Computer Science Python Fundamentals MCQs on StudiesToday.com as they provide instant answers and score to help you track your progress in Computer Science.