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
What will be the result of the expression : print(10 or 0) ?
अभिव्यक्ति का परिणाम क्या होगा: print(10 या 0)?
0
1
10
1.0
Next Question
25
See Explanation !
2
What are the three different types, of algorithm constructions?
एल्गोरिथ्म निर्माण के तीन अलग - अलग प्रकार क्या हैं?
Input/Output, Decision, Repeat
Loop, Input/Output, Process
Input, Output, Process
Sequence, Selection, Repeat
Previous Question
Next Question
25
See Explanation !
3
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
______ को केवल उस फ़ंक्शन के अंदर एक्सेस किया जा सकता है जिसमें उन्हें घोषित किया गया है, जबकि सभी फ़ंक्शन द्वारा पूरे प्रोग्राम बॉडी में ग्लोबल वेरिएबल्स को एक्सेस किया जा सकता है।
Global variables
local variables
datatype
None of these
Previous Question
Next Question
25
See Explanation !
4
Which of the following NumPy function is used to create an identity matrix?
पहचान मैट्रिक्स बनाने के लिए निम्नलिखित में से किस NumPy फ़ंक्शन का उपयोग किया जाता है?
np.identity()
np.eye()
np.matrix()
np.ones()
Previous Question
Next Question
25
See Explanation !
5
What is the order of namespaces in which Python looks for an identifier?
नामस्थानों का क्रम क्या है जिसमें पायथन एक पहचानकर्ता की तलाश करता है?
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
Python first searches the local namespace, then the global namespace and finally the built-in namespace
Python first searches the global namespace, then the local namespace and finally the built-in namespace
Previous Question
Next Question
25
See Explanation !
6
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Previous Question
Next Question
25
See Explanation !
7
What is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Previous Question
Next Question
25
See Explanation !
8
What value does the following expression evaluate to ? x = 5 while x < 10: print(x, end='')
निम्नलिखित अभिव्यक्ति का मान क्या होगा? x = 5 while x < 10: print(x, end='')
Closed loop
one time loop
Infinite loop
Evergreen loop
Previous Question
Next Question
25
See Explanation !
9
Which statement will return one line from a file (file object is f) ?
कौन सा स्टेटमेंट फ़ाइल (file object is 'f) से एक पंक्ति प्रस्तुत करेगा |
f.readlines()
f.readline()
f.read()
f.line()
Previous Question
Next Question
25
See Explanation !
10
What is the output of the following code: L=['a','b','c','d'] print ( "".join(L))
निम्नलिखित कोड का आउटपुट क्या है: L=[' a ', 'b ',' c ', 'd '] print (".join(L))
Error
None
abcd
[‘a’,’b’,’c’,’d’]
Previous Question
Next Question
25
See Explanation !
11
What data type is the object below ? L=[1, 23, 'hello', 1]
नीचे दिया गया ऑब्जेक्ट किस डेटा प्रकार का है? L=[1, 23, 'hello', 1]
List
Dictionary
Tuple
Array
Previous Question
Next Question
25
See Explanation !
12
..........design approach starts by dividing the complex algorithm into one or more modules.
..........डिजाइन दृष्टिकोण जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
Top-Down
Down-Top
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
13
What will the following code output? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
3 5 6
6 3 5
5 6 3
6 5 3
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Code? def sum(x): return x*x print(sum(4))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def sum(x): return x*x print(sum(4))
16
4
8
64
Previous Question
Next Question
25
See Explanation !
15
What is the output of following Python code? >>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है? >>print(5*(2//3))
3
3.3
0
error
Previous Question
Next Question
25
See Explanation !
16
An empty / null statement in Python is _____ .
Python में एक खाली / शून्य कथन _____ है।
pass
null
empty
None
Previous Question
Next Question
25
See Explanation !
17
Which data type is used to store a sequence of characters in Python?
पायथन में वर्णों के अनुक्रम को संग्रहीत करने के लिए किस डेटा प्रकार का उपयोग किया जाता है?
int
float
str
list
Previous Question
Next Question
25
See Explanation !
18
What happens if the condition in a while loop is initially False?
यदि थोड़ी देर के लूप में स्थिति शुरू में गलत हो तो क्या होगा?
The loop runs indefinitely.
The loop executes once before terminating.
The loop does not execute.
It raises an error
Previous Question
Next Question
25
See Explanation !
19
Which of the following functions is a built-in function in python
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है
factorial()
print()
seed()
sqrt()
Previous Question
Next Question
25
See Explanation !
20
The operator returns the quotent after division.
ऑपरेटर विभाजन के बाद कोटेंट लौटाता है।
//
%
&
None of these
Previous Question
Next Question
25
See Explanation !
21
To convert the read value through input() into integer type, ______ () is used
इनपुट () के माध्यम से रीड वैल्यू को पूर्णांक प्रकार में बदलने के लिए, ______ () का उपयोग किया जाता है
floating
float
int
integer
Previous Question
Next Question
25
See Explanation !
22
The function that yields current position in the file.
फ़ंक्शन जो फ़ाइल में वर्तमान स्थिति प्राप्त करता है।
tell()
write()
Writelines()
None of the above
Previous Question
Next Question
25
See Explanation !
23
What is the output of the following code? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
निम्नलिखित कोड का परिणाम क्या है? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
{'Joey': 1, 'Rachel': 2, 'Phoebe': 2}
{“Joey”:1,”Rachel”:}
{“Joey”:1,”Phoebe”:2}
Error
Previous Question
Next Question
25
See Explanation !
24
Which is the most comfortable loop?
सबसे सरल लूप कौन सा है?
do..while
while
for
if..elif
Previous Question
Next Question
25
See Explanation !
25
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
not
%
and
+
Previous Question