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
Which NumPy function returns the cumulative sum of elements?
कौन सा फ़ंक्शन NumPy तत्वों का संचयी योग बताता है?
np.sum()
np.cumsum()
np.add()
np.cumadd()
Next Question
25
See Explanation !
2
What does readlines() method return ?
Readlines() विधि क्या लौटाती है?
Dictionary
String
Tuple
List
Previous Question
Next Question
25
See Explanation !
3
If a function doesn't have a return statement, which of the following does the function return ?
यदि किसी फंक्शन का रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फंक्शन रिटर्न होता है?
int
null
None
An exception is thrown without the return statement
Previous Question
Next Question
25
See Explanation !
4
in python a variable named 'num' ,which type of value we can store in this variable
अजगर में 'NUM' नामक एक चर, हम इस चर में किस प्रकार का मान संग्रहीत कर सकते हैं
Integer
Float
String
All of These
Previous Question
Next Question
25
See Explanation !
5
If list1=[10,20,30], then operation list1*2 returns ____ .
यदि list1=[10,20,30], तो ऑपरेशन list1*2 ____ लौटाता है।
[10,20,30,10,20,30]
[20,40,60]
[10,20,30,20,40,60]
None
Previous Question
Next Question
25
See Explanation !
6
What will happen if a for loop tries to iterate over an empty list?
यदि कोई लूप किसी एम्प्टी लिस्ट पर पुनरावृति करने का प्रयास करता है तो क्या होगा?
It will raise an IndexError.
It will iterate once with a default value of None.
It will not execute the loop body.
It will run indefinitely.
Previous Question
Next Question
25
See Explanation !
7
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 !
8
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
4
8
16
32
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x[:-1]: print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x में [:-1]: print(i, end = "")
a a a a a
a a a a a a
a a a a a a … infinite Time
a
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not a keyword in Python
पायथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है
eval
assert
nonlocal
pass
Previous Question
Next Question
25
See Explanation !
11
How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?
3
4
5
6
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following python code? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
3
4
4 is maximum
None of these
Previous Question
Next Question
25
See Explanation !
13
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Previous Question
Next Question
25
See Explanation !
14
____ 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 !
15
Which one of the following is a valid Python if statement:
निम्नलिखित में से कौन एक मान्य पायथन है यदि कथन:
if a> = 2:
if (a>= 2)
if (a => 22)
if a >= 22
Previous Question
Next Question
25
See Explanation !
16
What is the interval of the value generated by the function random.random(), assuming that the random module has already been imported?
फ़ंक्शन द्वारा जनरेटेड वैल्यू का इंटरवल random.random () है, यह मानते हुए कि रैंडम मॉड्यूल पहले से ही इम्पोर्ट किया गया है?
(0,1)
(0,1]
[0,1]
[0,1)
Previous Question
Next Question
25
See Explanation !
17
Which of the following operations is NOT allowed on a tuple?
एक टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?
Slicing
Concatenation
Deletion of elements
Iteration
Previous Question
Next Question
25
See Explanation !
18
Which of the following is the correct syntax for a conditional statement in Python?
पायथन में कंडिशनल स्टेट्मेंट के लिए निम्नलिखित में से कौन सा सही सिंटेक्स है?
if (x > 0):
if x > 0
if x > 0 then:
Both A and B
Previous Question
Next Question
25
See Explanation !
19
Which operator is also called as Comparative operator?
किस ऑपरेटर को तुलनात्मक ऑपरेटर भी कहा जाता है?
Arithmetic
Relational
Logical
Assignment
Previous Question
Next Question
25
See Explanation !
20
Designing the problem in known as
समस्या को डिजाइन करना जिसे के रूप में जाना जाता है
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following? print(max([1, 2, 3, 4.] [4, 5, 6], [7]))
निम्नलिखित कोड का परिणाम क्या है ? print(max([1, 2, 3, 4.] [4, 5, 6], [7]))
[4,5, 6]
[7]
[1, 2,3, 4]
7
Previous Question
Next Question
25
See Explanation !
22
Which of the following can be a variable name in Python?
पायथन में निम्नलिखित में से कौन सा एक चर नाम हो सकता है?
123var
_var
if
var-name
Previous Question
Next Question
25
See Explanation !
23
which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.float([1,2,3,4])
arr=np.array([1,2,3,4]).toFloat()
arr=np.array([1,2,3,4],dtype='float')
arr=np.farray([1,2,3,4])
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? print('abcefd'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcefd '.replace (' cd ', '12 '))
ab1ef2
abcefd
ab1efd
ab12ed2
Previous Question
Next Question
25
See Explanation !
25
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