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
What will be the output of the following Python code? for i in range(5): if i == 5: break else: print(i) else: print("Here")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
0 1 2 3 4 Here
0 1 2 3 4 5 Here
0 1 2 3 4
1 2 3 4 5
Next Question
25
See Explanation !
2
Set of statements is executed again and again based upon conditional test.
सशर्त परीक्षण के आधार पर कथनों का सेट बार - बार निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Previous Question
Next Question
25
See Explanation !
3
What will the following code output? print(‘re\new’)
निम्नलिखित कोड आउटपुट क्या होगा? print(' re\new ')
re\new
new
re new
re ew
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
3 5 6
6 3 5
5 6 3
6 5 3
Previous Question
Next Question
25
See Explanation !
5
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
6
What is the value of the expression 100 / 25 ?
व्यंजक 100/25 का मान क्या है?
4
4.0
2.5
none of these
Previous Question
Next Question
25
See Explanation !
7
Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?
for
While
do-while
None of these
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? print('abcdefcdgh'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcdefcdgh '.partition (' cd '))
(‘ab’, ‘cd’, ‘ef’, ‘cd’, ‘gh’)
(‘ab’, ‘cd’, ‘efcdgh’)
(‘abcdef’, ‘cd’, ‘gh’)
error
Previous Question
Next Question
25
See Explanation !
9
In Python, _____ defines a block of statements.
Python में, _____ कथनों के एक खंड को परिभाषित करता है।
Block
{}
Indentation
loop
Previous Question
Next Question
25
See Explanation !
10
What is the output of the following? m=0 while m<5: m+=1 if m==3: break else: print(0)
निम्नलिखित का आउटपुट क्या है? m=0 while m<5: m+=1 if m==3: break else: print(0)
0 1 2 0
0 1 2
0 0 1 0 2
error
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code snippet? print('Hello World'.istitle())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Hello World '.istitle ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
12
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
my_string_1
1st_string
foo
_myvar
Previous Question
Next Question
25
See Explanation !
13
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 !
14
The input() returns the value as ____ type.
INPUT() मान को ____ प्रकार के रूप में बताता है।
Integer
String
Floating point
None of these
Previous Question
Next Question
25
See Explanation !
15
What will be the result of the expression 10 or 0 ?
अभिव्यक्ति 10 या 0 का परिणाम क्या होगा?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
16
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', -1))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', -1))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
18
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 !
19
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 !
20
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(d.add(x))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0, 1, 2} for x in d: print(d.add(x))
0 1 2
0 1 2 0 1 2 0 1 2 …
None None None
None of the mentioned
Previous Question
Next Question
25
See Explanation !
21
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
exit
break
continue
stop
Previous Question
Next Question
25
See Explanation !
24
What is the output of the following code? count=0 while count<3: print(count,end=" ") count+=1
निम्नलिखित कोड का आउटपुट क्या है? count=0 while count<3: print(count,end=" ") count+=1
0 1 2
1 2 3
0 1 2 3
Error
Previous Question
Next Question
25
See Explanation !
25
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन एक वैध पायथन टोकन नहीं है?
Keywords
Identifiers
Operators
Statements
Previous Question