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 python in-built function is used to remove all the leading and trailing spaces from a string.
एक स्ट्रिंग से सभी प्रमुख और पीछे की जगहों को हटाने के लिए निम्नलिखित में से किस पायथन इन - बिल्ट फ़ंक्शन का उपयोग किया जाता है।
space()
strip()
remove()
None of the above
Next Question
25
See Explanation !
2
Python Programs are typed in
पायथन प्रोग्राम टाइप किए गए हैं
Interactive Mode
Script Mode
Both Interactive Mode or Script Mode
None of These
Previous Question
Next Question
25
See Explanation !
3
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
not
%
and
+
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following pseudocode, where ^ represent XOR operation ? Integer a, b, c set b = 4, a = 3 c =a ^ b Print c
निम्नलिखित स्यूडोकोड का आउटपुट क्या होगा, जहाँ ^ XOR ऑपरेशन को दर्शाता है? पूर्णांक a, b, c सेट b = 4, a = 3 c =a ^ b प्रिंट c
4
3
5
7
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code snippet? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert('Ball')
3
1
2
0
Previous Question
Next Question
25
See Explanation !
6
Which one of the following is the correct extension of the Python file-
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही विस्तार है -
.py
.python
.p
None of these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? i = 1 while True: if i%7 == 0: break print(i) i += 1
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%7 == 0: break print(i) i = 1
1 2 3 4 5 6
1 2 3 4 5 6 7
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
If wd="Hello World" then which of the following statements will display last five characters of the string object?
यदि wd="Hello World" है तो निम्नलिखित में से कौन सा कथन स्ट्रिंग ऑब्जेक्ट के अंतिम पाँच अक्षर प्रदर्शित करेगा?
wd[4:]
wd[:4]
wd[-5:]
wd[:-4]
Previous Question
Next Question
25
See Explanation !
9
Testing is known as -
परीक्षण को किस रूप में जाना जाता है -
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of the above
Previous Question
Next Question
25
See Explanation !
10
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is the value of list1.count(5)?
मान लीजिए list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.count (5) का मान क्या है?
0
4
1
2
Previous Question
Next Question
25
See Explanation !
11
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
12
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
-9
9
6
-6
Previous Question
Next Question
25
See Explanation !
13
The complexity of linear search algorithm is
रैखिक खोज एल्गोरिथ्म की जटिलता है
O(n)
O(log n)
O(n2)
O(n log n)
Previous Question
Next Question
25
See Explanation !
14
What is a correct method to join two or more arrays?
दो या दो से अधिक सरणियों में शामिल होने का सही तरीका क्या है?
np.concatenate()
np.join()
np.array_join()
np.join_array()
Previous Question
Next Question
25
See Explanation !
15
Which of the following symbol is used for input and output operations in a flow chart?
फ्लो चार्ट में इनपुट और आउटपुट संचालन के लिए निम्नलिखित में से किस प्रतीक का उपयोग किया जाता है?
Rectangle
Parallelogram
Circle
Diamond
Previous Question
Next Question
25
See Explanation !
16
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 !
17
The data type of an expression int(m)/int(n) will result in:
किसी अभिव्यक्ति के डेटा प्रकार int(m )/ int(n) का परिणाम होगा:
Int
Float
int or float
None of these
Previous Question
Next Question
25
See Explanation !
18
Which of the following defines what an object can do?
निम्नलिखित में से कौन परिभाषित करता है कि कोई वस्तु क्या कर सकती है?
Operating System
Compiler
Interface
None of these
Previous Question
Next Question
25
See Explanation !
19
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
20
The order of statement execution in the form of top to bottom, is known as .......... construct.
ऊपर से नीचे के रूप में कथन निष्पादन के क्रम को.......... निर्माण के रूप में जाना जाता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
21
Dictionary has:
शब्दकोश में है:
Sequence value pair
Key value pair
Tuple value pair
Record value pair
Previous Question
Next Question
25
See Explanation !
22
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
23
Which method is used to Write(s) a list of lines to the file.
फ़ाइल की पंक्तियों की सूची लिखने के लिए किस विधि का उपयोग किया जाता है।
write(s)
writelines (lines)
readlines (lines)
None of these
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
1
A
4
Invalid syntax for get method
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question