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 6
25
See Explanation !
1
What is the output of the following code? print(5 > 3 and 5 < 10)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(5 > 3 और 5 < 10)
True
False
Error
None
Next Question
25
See Explanation !
2
What is the output of the following code? print(not False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(गलत नहीं)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
3
What will the following code output? print(10 * 2 + 5)
निम्नलिखित कोड आउटपुट क्या होगा? प्रिंट(10 * 2 5)
30
25
20
50
Previous Question
Next Question
25
See Explanation !
4
What is the result of the following code? print(10 / 2.0)
निम्नलिखित कोड का परिणाम क्या है? print(10 / 2.0)
5
5.0
10
Error
Previous Question
Next Question
25
See Explanation !
5
What is the output of the following code? print(True and False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(सही और गलत)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
6
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
7
What will the following code output? print(5 ^ 3)
निम्नलिखित कोड आउटपुट क्या होगा? print(5 ^ 3)
6
1
2
Error
Previous Question
Next Question
25
See Explanation !
8
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ORD (' A '))
65
97
32
67
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
a
b
A
B
Previous Question
Next Question
25
See Explanation !
10
What will the following code output? print(‘\\n’)
निम्नलिखित कोड आउटपुट क्या होगा? print ('\\n ')
\\n
\n
New line
Error
Previous Question
Next Question
25
See Explanation !
11
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 !
12
What will the following code output? a=‘WEBSKYNET’ | a=10 | print(type(a))
निम्नलिखित कोड आउटपुट क्या होगा? a=‘WEBSKYNET’ | a=10 | print(type(a))
<class 'int'>
<class ‘str'>
<class ‘bool'>
Error
Previous Question
Next Question
25
See Explanation !
13
What will the following code output? a=55 | b=55 | print( a is not b)
निम्नलिखित कोड आउटपुट क्या होगा? a=55 | b=55 | print( a b नहीं है)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
14
Which one of these is floor division?
इनमें से कौन सा फर्श विभाजन है?
/
//
%
None of the mentioned
Previous Question
Next Question
25
See Explanation !
15
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question
Next Question
25
See Explanation !
16
Operators with the same precedence are evaluated in which manner?
समान प्राथमिकता वाले ऑपरेटरों का मूल्यांकन किस तरीके से किया जाता है?
Left to Right
Right to Left
Can’t say
None of the mentioned
Previous Question
Next Question
25
See Explanation !
17
What is the output of this expression, 3*1**3?
इस व्यंजक का आउटपुट क्या है, 3*1**3?
29
9
3
1
Previous Question
Next Question
25
See Explanation !
18
Which one of the following has the same precedence level?
निम्नलिखित में से किसका वरीयता स्तर समान है?
Addition and Subtraction
Multiplication, Division and Addition
Multiplication, Division, Addition and Subtraction
Addition and Multiplication
Previous Question
Next Question
25
See Explanation !
19
Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Exponential
Addition
Multiplication
Parentheses
Previous Question
Next Question
25
See Explanation !
20
What is the return value of trunc()?
Trunc() का रिटर्न वैल्यू क्या है?
int
bool
float
None
Previous Question
Next Question
25
See Explanation !
21
Which is the correct operator for power(x,y)?
पावर(x,y) के लिए सही ऑपरेटर कौन सा है?
X^y
X**y
X^^y
None of the mentioned
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python expression? print(4.00/(2.0+2.0))
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा? print(4.00/(2.0 2.0))
Error
1.0
1.00
1
Previous Question
Next Question
25
See Explanation !
23
What will be the value of X in the following Python expression? x = 2+9*((3*12)-8)/10
निम्नलिखित पायथन व्यंजक में X का मान क्या होगा? x = 2 9*((3*12 )-8 )/ 10
30.0
30.8
28.4
27.2
Previous Question
Next Question
25
See Explanation !
24
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
25
What will be the value of the following Python expression? print(float(4+int(2.39)%2))
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(float(4 int(2.39 )%2))
5.0
5
4.0
4
Previous Question