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
____ statement used for error checking. -
____ कथन त्रुटि की जाँच के लिए उपयोग किया जाता है। -
Assert
List
Tuple
None of these
Next Question
25
See Explanation !
2
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 !
3
Which inbuilt function is used to takes an iterable object as input and makes them immutable.
कौन सा इनबिल्ट फ़ंक्शन एक पुनरावर्तनीय वस्तु को इनपुट के रूप में लेने के लिए उपयोग किया जाता है और उन्हें अपरिवर्तनीय बनाता है।
frozenset()
obj()
input()
None of these
Previous Question
Next Question
25
See Explanation !
4
Algorithms cannot be represented by____
एल्गोरिदम को ____ द्वारा प्रदर्शित नहीं किया जा सकता है
pseudo codes
syntax
flowcharts
programs
Previous Question
Next Question
25
See Explanation !
5
Which of the following functions does not necessarily accept only iterables as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल नेससेरली को आर्ग्यमन्ट के रूप में एक्सेप्ट नहीं करता है?
enumerate()
all()
chr()
max()
Previous Question
Next Question
25
See Explanation !
6
If no delimiter is given in split() function then words are separated by
यदि स्प्लिट() फ़ंक्शन में कोई डेलिमिटर नहीं दिया जाता है, तो शब्दों को निम्नलिखित से अलग किया जाता है
space
colon
semi colon
None
Previous Question
Next Question
25
See Explanation !
7
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? example = "snow world" example[3] = 's' print (example)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "snow world" example[3] = 's' print (example)
snow
snow world
Error
snos world
Previous Question
Next Question
25
See Explanation !
9
What you can use to convert from a string to a list of character.
आप स्ट्रिंग से कैरेक्टर की लिस्ट में कन्वर्ट करने के लिए क्या इस्तेमाल कर सकते हैं।
list ()
str ()
chr()
None of these
Previous Question
Next Question
25
See Explanation !
10
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 !
11
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 !
12
Which of these functions can NOT be defined under the sys module?
SYS मॉड्यूल के तहत इनमें से कौन से फ़ंक्शंस को परिभाषित नहीं किया जा सकता है?
sys.argv
sys.readline
sys.path
sys.platform
Previous Question
Next Question
25
See Explanation !
13
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 !
14
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 !
15
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
a
b
A
B
Previous Question
Next Question
25
See Explanation !
16
What is the output when we execute list("hello")?
जब हम सूची(" हैलो ") निष्पादित करते हैं तो आउटपुट क्या होता है?
['llo']
['hello']
['h', 'e', T', '1', 'o']
None of the above
Previous Question
Next Question
25
See Explanation !
17
Which can be the output of the following Python code? import random print(random.randrange(1,100,10))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(1,100,10))
32
67
91
80
Previous Question
Next Question
25
See Explanation !
18
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
19
The expression _____ implies that the variable x is converted to integer.
अभिव्यक्ति _____ का तात्पर्य है कि चर x को पूर्णांक में परिवर्तित किया जाता है।
exp(x)
int (x)
chr (x)
None of these
Previous Question
Next Question
25
See Explanation !
20
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे ______ कहा जाता है?
Type conversion
Type casting
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
21
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 !
22
What does the following code print ? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
निम्नलिखित कोड क्या प्रिंट करता है? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
TRUE
TRUE FALSE
TRUE TRUE
FALSE TRUE
Previous Question
Next Question
25
See Explanation !
23
Python is written in
पायथन को किस भाषा में लिखा जाता है?
Java
C
PHP
All of the above
Previous Question
Next Question
25
See Explanation !
24
Which of the following is correct about Python
पाइथन के बारे में निम्नलिखित में से कौन सा सही है
It supports automatic garbage collection
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
25
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question