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
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Next Question
25
See Explanation !
2
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
3
Given a function that does not return any value, what value is shown when executed at the shell ?
एक फ़ंक्शन जो कोई मान नहीं लौटाता है ,शेल पर निष्पादित होने पर कौन सा मान दिखाया जाता है
int
bool
void
None
Previous Question
Next Question
25
See Explanation !
4
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष में हुआ था?
1995
1972
1981
1991
Previous Question
Next Question
25
See Explanation !
5
Which symbol is used for bitwise XOR operator
बिटवाइज़ XOR ऑपरेटर के लिए कौन सा प्रतीक प्रयोग किया जाता है?
|
&
^
!
Previous Question
Next Question
25
See Explanation !
6
Which is the most comfortable loop?
सबसे सरल लूप कौन सा है?
do..while
while
for
if..elif
Previous Question
Next Question
25
See Explanation !
7
How many numbers will be printed by the following code? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
7
8
6
9
Previous Question
Next Question
25
See Explanation !
8
The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?
Yes
No
Can't say
None of these
Previous Question
Next Question
25
See Explanation !
9
Which of the following will delete key-value pair for key="tiger" in dictionary? dic={"lion":"'wild","tiger":"'wild",'cat":"domestic","dog":"domestic"}
निम्नलिखित में से कौन सा शब्दकोश में key="tiger" के लिए key - value pair को हटा देगा? dic ={" lion ":"' wild ", "tiger ":" wild ", 'cat ":"domestic "," dog ":"domestic "}
del dic("tiger"]
dic["tiger"].delete()
delete(dic.["tiger'])
del(dic.["tiger"])
Previous Question
Next Question
25
See Explanation !
10
Which of the following character is used to give comments in Python Program ?
पायथन प्रोग्राम में टिप्पणियां देने के लिए निम्नलिखित में से किस वर्ण का उपयोग किया जाता है?
#
&
@
$
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
13
Which of the following is used to define a block of code in Python language ?
पायथन लैंग्वेज में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?
try
Brackets
Indentation
Catch
Previous Question
Next Question
25
See Explanation !
14
It refers to the ability of an application to run on different platforms with or without minimal changes.
यह न्यूनतम परिवर्तनों के साथ या बिना विभिन्न प्लेटफार्मों पर चलाने के लिए एक एप्लिकेशन की क्षमता को संदर्भित करता है।
Error
Flexibility
Portability
Reliability
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? a= [1, 2, 3, 4, 5] for i in range(1, 5): a[i-1] = a[i] for i in range(0, 5): print(a[i],end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a= [1, 2, 3, 4, 5] for i in range(1, 5): a[i-1] = a[i] for i in range(0, 5): print(a[i],end = " ")
5 5 1 2 3
5 1 2 3 4
2 3 4 5 1
2 3 4 5 5
Previous Question
Next Question
25
See Explanation !
16
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन दुभाषिया को बताता है कि किसी प्रोग्राम में आयात की गई मॉड्यूल फ़ाइलों का पता कहां लगाया जाए?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONCASEOK
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
18
What will be output for the following code ? import numpy as np a = np.array([[1, 2, 3],[0,1,4],[11,22,33]]) print (a.size)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[1, 2, 3],[0,1,4],[11,22,33]]) print (a.size)
1
3
9
4
Previous Question
Next Question
25
See Explanation !
19
The sleep function (under the time module) is used to ___________
स्लीप फ़ंक्शन (टाइम मॉड्यूल के अंडर) ___________ के लिए यूज़ किया जाता है
Pause the code for the specified number of seconds
Return the specified number of seconds, in terms of milliseconds
Stop the execution of the code
Return the output of the code had it been executed earlier by the specified number of seconds
Previous Question
Next Question
25
See Explanation !
20
What will be the result of the expression : print(10 or 0) ?
अभिव्यक्ति का परिणाम क्या होगा: print(10 या 0)?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
21
What is standard module in Python?
पायथन में मानक मॉड्यूल क्या है?
It can not be imported the same way as we import our user-defined modules.
It can be imported the same way as we import our user-defined modules,
Both
None of the above
Previous Question
Next Question
25
See Explanation !
22
What is the output of the following code? a = set('dcma') b = set('mlpc') print(a^b)
निम्नलिखित कोड का परिणाम क्या है? a = set('dcma') b = set('mlpc') print(a^b)
{‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}
{‘m’, ‘l’, ‘p’, ‘c’}
{‘d’, ‘c’, ‘m’, ‘a’}
None of These
Previous Question
Next Question
25
See Explanation !
23
Which of the following functions is used to open a file in Python?
पायथन में फ़ाइल खोलने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?
open_file()
file_open()
open()
read_file()
Previous Question
Next Question
25
See Explanation !
24
Which function is used to generate a sequence of numbers in Python loops?
पायथन लूप्स में नंबर्स का सीक्वेंस जनरेट करने के लिए किस फ़ंक्शन का यूज़ किया जाता है?
sequence()
range()
list()
loop()
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
[2 4 1]
[3 4 1]
[2 3 1]
[2 4 3]
Previous Question