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
Python Programming
Set 10
25
See Explanation !
1
What is the output of the expression : 3*1**3 ?
अभिव्यक्ति का आउटपुट क्या है: 3*1**3 ?
27
9
3
1
Next Question
25
See Explanation !
2
What is the output of the following program ? print 0.1+0.2==0.3
निम्नलिखित प्रोग्राम का आउटपुट क्या है? प्रिंट 0.1 0.2==0.3
True
False
Machine dependent
Error
Previous Question
Next Question
25
See Explanation !
3
What will following code segment print? a=True b=False c=False if not a or b: print(1) elif not a or not b and c: print(2) elif not a or b or not b and a: print(3) else: print(4)
निम्नलिखित कोड सेगमेंट प्रिंट क्या होगा? a=True b=False c=False if not a or b: print(1) elif not a or not b and c: print(2) elif not a or b या not b और a: print(3) else: print(4)
1
3
2
4
Previous Question
Next Question
25
See Explanation !
4
Which of the following is a valid arithmetic operator in Python?
पायथन में निम्नलिखित में से कौन एक मान्य अंकगणितीय ऑपरेटर है?
/ /
>
and
?
Previous Question
Next Question
25
See Explanation !
5
What will be the value of p when p= int(17/2+11.5)?
जब p = int(17/2 11.5) होगा तो p का मान क्या होगा?
20
20.0
28
28.0
Previous Question
Next Question
25
See Explanation !
6
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 !
7
Which of the following is a floor division operator?
निम्नलिखित में से कौन एक फ्लोर डिवीजन ऑपरेटर है?
%
/
//
||
Previous Question
Next Question
25
See Explanation !
8
Which of the following operators has the highest precedence?
निम्नलिखित में से किस ऑपरेटर की सर्वोच्च प्राथमिकता है?
*
**
<
==
Previous Question
Next Question
25
See Explanation !
9
Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?
or
equal
and
not
Previous Question
Next Question
25
See Explanation !
10
In Python, a complex number is represented as:
पायथन में, एक जटिल संख्या को इस प्रकार दर्शाया जाता है:
a+√b
a+√b j
a+bj
a+√j
Previous Question
Next Question
25
See Explanation !
11
What will be the output after the following statements? for i in range(1,6): print(i, end='') if i == 3: break
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? for i in range(1,6): print(i, end ='') if i == 3: break
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
12
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 !
13
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
Selection
Sequential
Simple
Loop
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
15
What will be the output after the following statements? a = 0 b = 3 while a + b < 8: a += 1 print(a, end='')
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? a = 0 b = 3 while a + b < 8: a += 1 print(a, end='')
0 1 2 3 4
1 2 3 4 5 6
1 2 3 4 5
None of these
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following expression ? x =4 print(x<<2)
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा? x =4 print(x<<2)
4
16
6
2
Previous Question
Next Question
25
See Explanation !
17
What will be the output after following statements? x = 2 if x < 5: print(x) else: pass
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? x = 2 if x < 5: print(x) else: pass
2 3 4
1 2 3 4
2
None of These
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? from math import* print(floor(3.7))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import* print(floor(3.7))
3
4
3.0
None of These
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following expression ? print (7//2) print (-7//2)
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा? print (7//2) print (-7//2)
3 -3
4 -4
3 -4
3 3
Previous Question
Next Question
25
See Explanation !
20
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question
Next Question
25
See Explanation !
21
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
22
What value does the following expression evaluate to ? x = 5 while x < 10: print(x, end='')
निम्नलिखित अभिव्यक्ति का मान क्या होगा? x = 5 while x < 10: print(x, end='')
Closed loop
one time loop
Infinite loop
Evergreen loop
Previous Question
Next Question
25
See Explanation !
23
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
24
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 !
25
What value does the following expression evaluate to ? print(5 + 8 * ((3*5)-9)/10)
निम्नलिखित अभिव्यक्ति का मूल्यांकन किस मान से किया जाता है? print(5 + 8 * ((3*5)-9)/10)
9.0
9.8
10
10.0
Previous Question