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 module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?
HTTP
urllib
socket
header
Next Question
25
See Explanation !
2
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Previous Question
Next Question
25
See Explanation !
3
The GCD of the numbers 136 and 170 is ______ .
136 और 170 संख्याओं का GCD ______ है।
34
40
50
None
Previous Question
Next Question
25
See Explanation !
4
The operator used to check if both the operands reference the same object memory, is the .......... operator.
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, ……… ऑपरेटर है।
in
is
id
==
Previous Question
Next Question
25
See Explanation !
5
Flowchart and algorithms are used for
फ्लोचार्ट और एल्गोरिदम का उपयोग किसके लिए किया जाता है
Better programming
easy testing and debugging
Efficient Coding
All
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: print('i', end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" while i in x: print('i', end = " ")
no output
i i i i i i … infinite Time
a a a a a a …
a b c d e f
Previous Question
Next Question
25
See Explanation !
7
Which of the following functions accepts only integers as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल इन्टिजर को आर्ग्यमन्ट के रूप में एक्सेप्ट करता है?
ord()
min()
chr()
any()
Previous Question
Next Question
25
See Explanation !
8
The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?
colon
comma
semicolon
hyphen
Previous Question
Next Question
25
See Explanation !
9
What is the output of the following program ? print "Hello World".[::-1]
निम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]
dlroWolleH
Hello Worl
d
Error
Previous Question
Next Question
25
See Explanation !
10
Which is the correct operator for power(x,y)?
पावर(x,y) के लिए सही ऑपरेटर कौन सा है?
X^y
X**y
X^^y
None of the mentioned
Previous Question
Next Question
25
See Explanation !
11
Which of the following cannot be returned by random.randrange(4)?
निम्नलिखित में से क्या random.randrange (4) द्वारा रिटर्न नहीं किया जा सकता है?
0
3
2.3
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
If a={5,6,7}, what happens when a.add(5) is executed?
यदि a = {5,6,7}, तो क्या होता है जब a.add (5) निष्पादित होता है?
a={5,5,6,7}
a={5,6,7}
Error as there is no add function for set data type
Error as 5 already exists in the set
Previous Question
Next Question
25
See Explanation !
13
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
14
What is the use of seek() method in files?
फाइलों में seek() फंक्शन का क्या उपयोग है?
sets the file's current position at the offset
sets the file's previous position at the offset
sets the file's current position within the file
None of these
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? len(["hello",2, 4, 6])
Error
6
4
3
Previous Question
Next Question
25
See Explanation !
16
Which of the following function of dictionary gets all the keys from the dictionary?
शब्दकोश के निम्नलिखित में से कौन सा कार्य शब्दकोश से सभी कुंजी प्राप्त करता है?
getkeys ()
key()
keys()
None
Previous Question
Next Question
25
See Explanation !
17
which function is used to get the ASCII value of any Character in PYthon?
पायथन में किसी भी वर्ण का ASCII मान प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
ascii()
getAscii()
get_ascii()
ord()
Previous Question
Next Question
25
See Explanation !
18
What will be the output of np.array([[1,2],[3,4]]).shape?
Np.array([[1,2],[3,4 ]).shape का आउटपुट क्या होगा?
(2,)
(2,2)
(4,)
(1,4)
Previous Question
Next Question
25
See Explanation !
19
You don't have to pay for Python and you can view its source code too. It means Python is ..........
आपको पायथन के लिए भुगतान करने की ज़रूरत नहीं है और आप इसका सोर्स कोड भी देख सकते हैं। इसका मतलब है कि पायथन.......... है ।
Free and open source
freeware
open source
shareware
Previous Question
Next Question
25
See Explanation !
20
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 !
21
The process of finding errors in code is called as
कोड में त्रुटियों को खोजने की प्रक्रिया को कहा जाता है
Compiling
Running
Testing
Debugging
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? t=32.00 for x in t: print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? t=32.00 for x in t: print(x)
[0]
0
[0.00]
Error
Previous Question
Next Question
25
See Explanation !
23
What is list data type in python?
अजगर में सूची डेटा प्रकार क्या है?
collection of integer number
collection of string
collection of same data type
collection of different data type
Previous Question
Next Question
25
See Explanation !
24
Error does not fall into any category
गड़बड़ी किसी भी श्रेणी में नहीं आती है
Syntax Error
Runtime Error
Value Error
None of these
Previous Question
Next Question
25
See Explanation !
25
What is the result of the following operation? print(3%7)
निम्नलिखित ऑपरेशन का परिणाम क्या है? प्रिंट(3%7)
4
3
2
1
Previous Question