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 of the following statements is used to test multiple conditions in Python?
निम्नलिखित में से किस स्टेट्मेंट का यूज़ पायथन में मल्टिपल कंडीशन का टेस्ट करने के लिए किया जाता है?
if
if-else
elif
if-else-if
Next Question
25
See Explanation !
2
Which of the following statements create a dictionary?
निम्नलिखित में से कौन सा स्टेट्मेंट एक ड़िक्शनरी बनाता है?
d = {}
d = {“john”:40, “peter”:45}
d = {40:”john”, 45:”peter”}
All of the mentioned
Previous Question
Next Question
25
See Explanation !
3
Which of the following function returns the index value of first occurrence of substring occurring in the given string.
निम्नलिखित में से कौन सा फंक्शन दिए गए स्ट्रिंग में होने वाली सबस्ट्रिंग की पहली घटना का इंडेक्स मान बताता है।
index()
find()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
4
What is the purpose of zeros() function used in NumPy array ?
NumPy सरणी में उपयोग किए जाने वाले शून्य () फ़ंक्शन का उद्देश्य क्या है?
To make a Matrix with all diagonal element 0
To make a Matrix with first row 0
To make a Matrix with all elements 0
None of the above
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1
2
4
Error, the keys can’t be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
6
will return the mathematical number PI from the constants module.
गणितीय संख्या PI को स्थिरांक मॉड्यूल से वापस कर देगा।
Math.Pi
Circle()
Pandas
None of these
Previous Question
Next Question
25
See Explanation !
7
A sequence of immutable objects is called
अपरिवर्तनीय वस्तुओं का क्रम कहलाता है
Built in
List
Tuple
Derived data
Previous Question
Next Question
25
See Explanation !
8
The meaning of bug is a-
बग का अर्थ है -
difficult syntax error in a program
logical error in a programm
Both a and b
All of the above
Previous Question
Next Question
25
See Explanation !
9
What is the output of the following code? x = 50 def func (x): x = 2 func (x) print ('x is now', x)
निम्नलिखित कोड का परिणाम क्या है ? x = 50 def func (x): x = 2 func (x) print ('x is now', x)
x is now 50
x is now 2
x is now 100
Error
Previous Question
Next Question
25
See Explanation !
10
For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए, व्यंजक x, y है, सत्य प्राप्त करेगा, यदि और केवल यदि
id(x) == id(y)
len(x) == len(y)
x == y
all of these
Previous Question
Next Question
25
See Explanation !
11
What is use of seek() method in files?
फ़ाइलों में सीक() विधि का उपयोग क्या है?
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 the above
Previous Question
Next Question
25
See Explanation !
12
How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड हैं?
32
33
31
30
Previous Question
Next Question
25
See Explanation !
13
What is unpickling ?
अनपिकलिंग क्या है ?
It is used for object deserialization.
It is used for object serialization.
Both of the above.
None of the above.
Previous Question
Next Question
25
See Explanation !
14
The.........symbol is always the first and the last symbol in the flowchart.
......... symbol फ्लोचार्ट में हमेशा पहला और अंतिम प्रतीक होता है।
Rectangle
Terminal
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd '))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
16
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
17
Which of the following is not a Keyword in Python ?
पायथन में निम्नलिखित में से कौन सा कीवर्ड नहीं है?
break
while
continue
operators
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following ? import math print(math.fact(5))
निम्नलिखित का आउटपुट क्या होगा? import math print(math.fact(5))
120
25
1,2,3,4,5
Error
Previous Question
Next Question
25
See Explanation !
19
Which of the following is not true about an interpreter
निम्नलिखित में से कौन एक दुभाषिया के बारे में सही नहीं है
Interpreter generates an object program from the source program
Interpreter is a kind of translator
Interpreter analysis each source statement every time it is to be executed
None of the above
Previous Question
Next Question
25
See Explanation !
20
What is the output of the following code ? def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")
निम्नलिखित कोड का परिणाम क्या है ? def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")
TypeError
Rajat 20
Name age
None of these
Previous Question
Next Question
25
See Explanation !
21
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
Next Question
25
See Explanation !
22
What is the data type of (1)?
(1) का डेटा प्रकार क्या है?
Tuple
Integer
List
Both tuple and integer
Previous Question
Next Question
25
See Explanation !
23
What is the output of the code print(7%2).
कोड print(7%2) का आउटपुट क्या है।
5.5
3.5
1
None of the above
Previous Question
Next Question
25
See Explanation !
24
Empty list indicated by which symbol.
खाली सूची किस प्रतीक द्वारा इंगित की गई है।
[]
()
{}
None
Previous Question
Next Question
25
See Explanation !
25
Algorithms cannot be represented by____
एल्गोरिदम को ____ द्वारा प्रदर्शित नहीं किया जा सकता है
pseudo codes
syntax
flowcharts
programs
Previous Question