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
CSS
Javascript
Python
Practical Questions
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
Set
25
See Explanation !
1
Which of the following operator in python evaluates to true if the variables on either side of the operator point to the same object and false otherwise?
अजगर में निम्नलिखित में से कौन सा ऑपरेटर सही का मूल्यांकन करता है यदि ऑपरेटर के दोनों ओर के चर एक ही वस्तु की ओर इशारा करते हैं और अन्यथा गलत हैं?
**
//
is
not in
Next Question
25
See Explanation !
2
If no delimiter is given in split() function then words are separated by
यदि स्प्लिट() फ़ंक्शन में कोई डेलिमिटर नहीं दिया जाता है, तो शब्दों को निम्नलिखित से अलग किया जाता है
space
colon
semi colon
None
Previous Question
Next Question
25
See Explanation !
3
____ is used to close a file object(fp).
____ का उपयोग फ़ाइल ऑब्जेक्ट(fp) को बंद करने के लिए किया जाता है।
close.fp
fp.close()
file.exit()
None of these
Previous Question
Next Question
25
See Explanation !
4
In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?
k^1
k**1
k^ ^1
k^*1
Previous Question
Next Question
25
See Explanation !
5
Which of the following is a mapping datatype?
निम्नलिखित में से कौन एक मैपिंग डेटाटाइप है?
String
List
Tuple
Dictionary
Previous Question
Next Question
25
See Explanation !
6
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
7
The code block within every function starts with a ____ ?
प्रत्येक फंक्शन के भीतर एक कोड ब्लॉक ... से शुरू होता है?
;
: :
:
%
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} a.clear() print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} a.clear() print(a)
None
{ None:None, None:None, None:None}
{1:None, 2:None, 3:None}
{ }
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
10
What is the output of this code? print(bool(0))
इस कोड का आउटपुट क्या है? print(bool(0))
True
False
0
Error
Previous Question
Next Question
25
See Explanation !
11
Given a string x="hello" What is the output of x.count('l')?
एक स्ट्रिंग x = "hello " को देखते हुए x.count ('1') का आउटपुट क्या है?
2
1
0
none
Previous Question
Next Question
25
See Explanation !
12
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question
Next Question
25
See Explanation !
13
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
int
float
bool
dict
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? i = 1 while True: if i%7 == 0: break print(i) i += 1
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%7 == 0: break print(i) i = 1
1 2 3 4 5 6
1 2 3 4 5 6 7
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
16
The for loop in Python is an ____ .
पॉयथन में फॉर लूप...... है ।
Entry Controlled Loop
Exit Controlled Loop
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
17
Which of these is false about recursion?
इनमें से कौन सी पुनरावृत्ति के बारे में गलत है?
Recursive function can be replaced by a non-recursive function
Recursive functions usually take more memory space than non-recursive function
Recursive functions run faster than non-recursive function
Recursion makes programs easier to understand
Previous Question
Next Question
25
See Explanation !
18
Which module in Python supports regular expressions?
पायथन में कौन सा मॉड्यूल रेगुलर एक्सप्रेशन का समर्थन करता है?
re
regex
pyregex
none of the mentioned
Previous Question
Next Question
25
See Explanation !
19
Which of the following will give error ?
निम्नलिखित में से कौन त्रुटि देगा?
a=b=c=1
a,b,c=1
a, b, c = 1, "python", 1.5
None of the above
Previous Question
Next Question
25
See Explanation !
20
Debugging is the process of fixing a______in the software.
डिबगिंग सॉफ्टवेयर में ______ को ठीक करने की प्रक्रिया है।
procedure
function
bug
None of these
Previous Question
Next Question
25
See Explanation !
21
Which of the following Boolean expressions is not logically equivalent to the other three?
निम्नलिखित में से कौन सा बुलियन एक्सप्रेशन तार्किक रूप से अन्य तीन के बराबर नहीं है?
not(-6<0 or-6>10)
-6>=0 and -6<=10
not(-6<10 or-6==10)
not(-6>10 or-6==10)
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(list(d.keys()))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(list(d.keys()))
[“john”, “peter”]
[“john”:40, “peter”:45]
(“john”, “peter”)
(“john”:40, “peter”:45)
Previous Question
Next Question
25
See Explanation !
23
What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
10
9
7
6
Previous Question
Next Question
25
See Explanation !
24
Which of the following will never be displayed on executing print(random.choice({0: 1, 2: 3}))?
निम्नलिखित में से कौन सा प्रिंट निष्पादित करने पर कभी प्रदर्शित नहीं होगा (random.choice ({0: 1, 2: 3}))?
0
1
KeyError: 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What is the value of the expression 10 + 3 ** 3 * 2?
अभिव्यक्ति 10 3 ** 3 * 2 का मान क्या है?
28
739
829
64
Previous Question