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 is an invalid mode?
निम्न में से कौन सा अमान्य मोड है?
a
ar+
r+
w
Next Question
25
See Explanation !
2
What is the correct way to create a tuple with a single element?
एक ही तत्व के साथ एक टपल बनाने का सही तरीका क्या है?
(1)
(1,)
[1]
{1}
Previous Question
Next Question
25
See Explanation !
3
what is Lambda function in python
पायथन में लैम्ब्डा फंक्शन क्या है ?
A built-in Python function
A one-line anonymous function
Lambda is a function in python but user can not use it.
None of the above
Previous Question
Next Question
25
See Explanation !
4
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? i = 1 while False: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि False: if i%2 == 0: break print(i) i = 2
1
1 3 5 7 …
1 2 3 4 …
Nothing will be printed
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? a=[1,2,3] b=a.append(4) print(a) print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[1,2,3] b= a.append (4) print(a) print(b)
[1,2,3,4] [1,2,3,4]
[1, 2, 3, 4] None
Syntax error
[1,2,3] [1,2,3,4]
Previous Question
Next Question
25
See Explanation !
7
How many times will loop run? for a in "56247839"
लूप कितनी बार चलेगा? for a in "56247839"
11
8
1
0
Previous Question
Next Question
25
See Explanation !
8
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Only the first condition is checked.
All conditions are checked, even if one is True.
It behaves the same as if-elif.
It raises an error.
Previous Question
Next Question
25
See Explanation !
9
Each line of a text file is terminated by a special character, called the ___
टेक्स्ट फाइल की प्रत्येक पंक्ति को एक विशेष कैरेक्टर द्वारा समाप्त किया जाता है, जिसे ____ कहा जाता है।
End of File
End of Line
End of Statement
End of program
Previous Question
Next Question
25
See Explanation !
10
If a=(1,2,3,4), a[1:-1] is _________
यदि a = (1,2,3,4), एक [1: -1] _________ है
Error, tuple slicing doesn’t exist
[2,3]
(2,3,4)
(2,3)
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? print('xyyzxxyxyy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyyzxxyxyy '.lstrip (' xyy '))
error
zxxyxyy
z
zxxy
Previous Question
Next Question
25
See Explanation !
12
Diagram that represents steps or operations involved in any kind of process is called
आरेख जो किसी भी प्रकार की प्रक्रिया में शामिल चरणों या संचालन का प्रतिनिधित्व करता है, को कहा जाता है
System diagram
Management hierarchy
Flowcharts
Convenience diagrams
Previous Question
Next Question
25
See Explanation !
13
Select the reserve keyword in Python
पायथन में रिजर्व कीवर्ड का चयन करें
else
import
print
all of these
Previous Question
Next Question
25
See Explanation !
14
What is 'pass' in python?
पायथन में 'pass' क्या है?
No Operation
No Action
Null Statement
Placeholder
Previous Question
Next Question
25
See Explanation !
15
What is the result of the following operation? print(3%7)
निम्नलिखित ऑपरेशन का परिणाम क्या है? प्रिंट(3%7)
4
3
2
1
Previous Question
Next Question
25
See Explanation !
16
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 !
17
Which function returns the strings?
कौन सा फंक्शन स्ट्रिंग्स लौटाता है?
readlines()
read()
Both of the above
None of the above
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]]) print (a.size)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([[1,2,3],[0,1,4]]) print (a.size)
1
5
6
4
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? i = 1 while True: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%2 == 0: break print(i) i = 2
1
12
1 2 3 4 5 6 …
1 3 5 7 9 11 … infinite time
Previous Question
Next Question
25
See Explanation !
20
The function that yields current position in the file.
फ़ंक्शन जो फ़ाइल में वर्तमान स्थिति प्राप्त करता है।
tell()
write()
Writelines()
None of the above
Previous Question
Next Question
25
See Explanation !
21
Which of the following mode will refer to binary data?
निम्न में से कौन सा मोड बाइनरी डेटा को संदर्भित करेगा?
r
w
+
b
Previous Question
Next Question
25
See Explanation !
22
The syntax of seek() is: file_object.seek(offset [, reference_point]) What does the reference_point indicate?
seek () का सिंटैक्स है: file_object.seek(offset [, Reference_point]) रेफरेंस_पॉइंट क्या दर्शाता है?
reference_point indicates the current position of the file object
reference_point indicates the starting position of the file object
reference_point indicates the ending position of the file object
None of the above
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? def f1(a,b=[]): b.append(a) return b print(f1(2,[3,4]))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def f1(a,b=[]): b.append(a) return b print(f1(2,[3,4]))
[3,2,4]
[2,3,4]
Error
[3,4,2]
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? x='abcd' for i in x: print(i.upper())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x='abcd' for i in x: print(i.upper())
a BCD
abcd
error
A B CD
Previous Question
Next Question
25
See Explanation !
25
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा प्रोग्राम को निर्देशों के एक सेट में परिवर्तित करता है जो कंप्यूटर पर चल सकता है उसे एक कहा जाता है
Compiler
Debugger
Editor
None of the above
Previous Question