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 NumPy function is used to create an identity matrix?
पहचान मैट्रिक्स बनाने के लिए निम्नलिखित में से किस NumPy फ़ंक्शन का उपयोग किया जाता है?
np.identity()
np.eye()
np.matrix()
np.ones()
Next Question
25
See Explanation !
2
What is the output of the following statement ? print ((2, 4) + (1, 5))
निम्नलिखित कोड का परिणाम क्या है ? print ((2, 4) + (1, 5))
(2 , 4), (4 , 5)
(3 , 9)
(2, 4, 1, 5)
Invalid Syntax
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 0 जबकि i < 3: print(i) i = 1 else: print(0)
0 1 2 3 0
0 1 2 0
0 1 2
error
Previous Question
Next Question
25
See Explanation !
4
What is identifier ?
पहचानकर्ता क्या है?
User-defined name
Pre-defined name
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
5
_____ returns the current time instant, a floating-point number of seconds since the epoch.
_____ वर्तमान समय तत्काल लौटाता है, जो युग के बाद से फ़्लोटिंग - पॉइंट सेकंड की संख्या है।
Time.time()
datetime()
time.date()
None of the above
Previous Question
Next Question
25
See Explanation !
6
What is the the value of x when x=math.factorial(0)
x का मान क्या है जब x=math.factorial(0)
0
1
11
10
Previous Question
Next Question
25
See Explanation !
7
what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)
1
8
True
False
Previous Question
Next Question
25
See Explanation !
8
What will the following code output? a=55 | b=55 | print( a is not b)
निम्नलिखित कोड आउटपुट क्या होगा? a=55 | b=55 | print( a b नहीं है)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
9
The ____ provides pictorial representation of given problem.
____ दी गई समस्या का चित्रात्मक प्रतिनिधित्व प्रदान करता है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
10
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
.......... निर्माण किसी स्थिति के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
11
What will the following code output? a=555 b=55 print( b in a)
निम्नलिखित कोड क्या आउटपुट देगा? a=555 b=55 print( b in a)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
12
Suppose i is 5 and j is 4, i + j is same as ________
मान लीजिए कि i 5 है और j 4 है, i + j ________ के समान है
i.__add(j)
i.__add__(j)
i.__Add(j)
i.__ADD(j)
Previous Question
Next Question
25
See Explanation !
13
In Python assignment of more than one behaviour to a particular function and the operation performed varies by the types of objects or arguments involved are known as_____ .
किसी विशेष कार्य के लिए एक से अधिक व्यवहार के पायथन असाइनमेंट में और किए गए ऑपरेशन में शामिल वस्तुओं या तर्कों के प्रकारों के अनुसार भिन्नता होती है, जिन्हें _____ के रूप में जाना जाता है।
Function overloading
operator overloading
Both of the above.
None of these
Previous Question
Next Question
25
See Explanation !
14
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
not
%
and
+
Previous Question
Next Question
25
See Explanation !
15
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 !
16
How are default arguments specified in the function heading?
फ़ंक्शन के हैडिंग में डिफ़ॉल्ट आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
identifier followed by an equal to sign and the default value
identifier followed by the default value within backticks (“)
identifier followed by the default value within square brackets ([])
identifier
Previous Question
Next Question
25
See Explanation !
17
Which method is used to add an element to the end of a list?
सूची के अंत में किसी तत्व को जोड़ने के लिए किस विधि का उपयोग किया जाता है?
insert()
append()
extend()
add()
Previous Question
Next Question
25
See Explanation !
18
Which function is used to add an element (5) in the list1?
लिस्ट 1 में एक एलिमेंट (5 ) जोड़ने के लिए किस फंक्शन का प्रयोग किया जाता है ?
list1.sum(5)
list1.add(5)
listl.append(5)
list1.addelement(5)
Previous Question
Next Question
25
See Explanation !
19
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम _____ हैं।
Identifiers
Function
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What will be the output of the following Python code? print(max("what are you"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(max("what are you"))
error
u
t
y
Previous Question
Next Question
25
See Explanation !
22
The output of this expression, >>>6*1**3 is ____ .
इस अभिव्यक्ति का आउटपुट, >>>6*1**3 ____ है।
6
18
10
None of these
Previous Question
Next Question
25
See Explanation !
23
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 !
24
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 !
25
What does the update() method do in a dictionary?
अपडेट() विधि शब्दकोश में क्या करती है?
Clears all key-value pairs
Updates a specific key
Merges another dictionary into the current one
Removes all values
Previous Question