Syllabus
O Level
M1 R5: Information Technology Tools and Network Basics
Introduction to Computers
Office Automation Tools
Internet and Web Technologies
Networking Fundamentals
M2 R5: Web Designing and Publishing
HTML
CSS
Javascript
Web Hosting And Publishing
M3 R5: Programming and Problem Solving through Python
Introduction to Programming
Python Programming
Data Structures in Python
File Processing in Python
M4 R5: Internet of Things (IoT) and Its Applications
Introduction to IoT
IoT Architecture
IoT Applications
IoT Security and Challenges | Soft Skills
Courses
Under Graduate Courses
BA
BCA
B.COM
Post Graduate Courses
MCA
MBA
M.COM
MA
M.SC.(MATHS)
MSW
Institutional Courses
DCA
ADCA
DFA
DOAP
TALLY PRIME
JAVA
PYTHON
CCA
C Languages
Job Oriented Courses
Digital Marketing
Full Stack Development
Data Science
Cybersecurity and Ethical Hacking
Blockchain Development
Cloud Computing
Artificial Intelligence (AI) and Machine Learning
Government Courses
CCC
O LEVEL
A LEVEL
Mock Test
M1 R5: Information Technology Tools and Network Basics
M2 R5: Web Designing and Publishing
M3 R5: Programming and Problem Solving through Python
M4 R5: Internet of Things (IoT) and Its Applications
Old Papers
2025
New!
2024
New!
2023
New!
2022
New!
2021
New!
2020
New!
2019
New!
2018
New!
2017
New!
2016
New!
2015
New!
2014
New!
2013
New!
2012
New!
2011
New!
Assignments
HTML
New!
CSS
New!
Javascript
New!
Python
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
Set
25
See Explanation !
1
What will be the output of the following Python code? i = 2 while True: if i%3 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 2 जबकि सही: यदि i%3 == 0: break print(i) i = 2
2 4 6 8 10 …
2 4
2 3
error
Next Question
25
See Explanation !
2
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन एक वैध पायथन टोकन नहीं है?
Keywords
Identifiers
Operators
Statements
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code snippet? print([i.lower() for i in "HELLO"])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print([i.lower() for i in "HELLO"])
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
‘hello’
[‘hello’]
hello
Previous Question
Next Question
25
See Explanation !
4
____ are the arguments passed to a function in correct positional order.
सही स्थिति क्रम में किसी फंक्शन को दिए गए आर्गुमेन्ट हैं।
Required arguments
Keyword arguments
Default arguments
Variable-length arguments
Previous Question
Next Question
25
See Explanation !
5
Which function of pickle module is used to write data on binary file
बाइनरी फ़ाइल पर डेटा लिखने के लिए अचार मॉड्यूल का कौन सा फ़ंक्शन प्रयोग किया जाता है
dump()
write()
writeBinary()
load()
Previous Question
Next Question
25
See Explanation !
6
Choose the correct option with respect to Python.
पाइथन के सन्दर्भ में सही विकल्प का चयन कीजिए
Both tuples and lists are immutable
Tuples are immutable while lists are mutable
Both tuples and lists are mutable
Tuples are mutable while lists are immutable
Previous Question
Next Question
25
See Explanation !
7
Python operator always yields the result of
पायथन ऑपरेटर हमेशा का परिणाम देता है
integer
floating point
complex
all of these
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? print("Welcome to Python".split())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("Welcome to Python".split())
[“Welcome”, “to”, “Python”]
(“Welcome”, “to”, “Python”)
{“Welcome”, “to”, “Python”}
“Welcome”, “to”, “Python”
Previous Question
Next Question
25
See Explanation !
9
Diamond shaped symbol is used in flowcharts to show the
डायमंड के आकार के प्रतीक का उपयोग फ्लोचार्ट में दिखाया जाता है
Decision box
Statement box
Error box
If-statement box
Previous Question
Next Question
25
See Explanation !
10
What is a correct method to split arrays?
सरणियों को विभाजित करने का सही तरीका क्या है?
array_split()
split()
split_array()
hstack() and vstack()
Previous Question
Next Question
25
See Explanation !
11
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
12
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
Previous Question
Next Question
25
See Explanation !
13
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
14
Which of the following is not a valid namespace?
इनमें से कौन - सा एक मान्य नेमस्पेस नहीं है?
Global namespace
Public namespace
Built-in namespace
Local namespace
Previous Question
Next Question
25
See Explanation !
15
If a={5,6,7}, what happens when a.add(5) is executed?
यदि a = {5,6,7}, तो क्या होता है जब a.add (5) निष्पादित होता है?
a={5,5,6,7}
a={5,6,7}
Error as there is no add function for set data type
Error as 5 already exists in the set
Previous Question
Next Question
25
See Explanation !
16
Raw data assigned to a variable is called as...
एक चर को असाइन किया गया कच्चा डेटा कहा जाता है...
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
17
A sequence of instruction, in a computer language, to get the desired result is known as
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम के रूप में जाना जाता है
An algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
18
In Python, a complex number is represented as:
पायथन में, एक जटिल संख्या को इस प्रकार दर्शाया जाता है:
a+√b
a+√b j
a+bj
a+√j
Previous Question
Next Question
25
See Explanation !
19
Which of the following argument we need to pass in reshape function.
निम्नलिखित में से कौन सा आर्गुमेन्ट हमें reshape फंक्शन में पास करने की आवश्यकता होती है।
Shape
Array
both a) and b)
None of the above.
Previous Question
Next Question
25
See Explanation !
20
____ is a function of dictionary gets all the values from the dictionary.
____ शब्दकोश का एक कार्य है जो शब्दकोश से सभी मान प्राप्त करता है।
values()
chr()
uni()
None of these
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday.weekday())
यदि सिस्टम दिनांक 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.weekday())
6
1
0
7
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
1
3
5
6
Previous Question
Next Question
25
See Explanation !
23
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
Making the code look clean
A complex task can be broken into sub-problems
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Previous Question
Next Question
25
See Explanation !
24
is used for data analysis and manipulations in tabular data in Python.
पायथन में सारणीबद्ध डेटा में डेटा विश्लेषण और हेरफेर के लिए उपयोग किया जाता है।
Pandas
circle
rhombus
block
Previous Question
Next Question
25
See Explanation !
25
The _____ symbol is used at the beginning of a flow chart.
फ्लो चार्ट की शुरुआत में _____ प्रतीक का उपयोग किया जाता है।
Oval or Pill Shape
Rectangle
Diamond
None of these
Previous Question