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 7
25
See Explanation !
1
Which of the following expressions is an example of type conversion?
निम्नलिखित में से कौन सा व्यंजक प्रकार रूपांतरण का एक उदाहरण है?
4.0 + float(3)
5.3 + 6.3
5.0 + 3
3 + 7
Next Question
25
See Explanation !
2
Which of the following expressions results in an error?
निम्नलिखित में से किस अभिव्यक्ति के परिणामस्वरूप एक त्रुटि होती है?
float('10')
int('10')
float('10.8')
int('10.8')
Previous Question
Next Question
25
See Explanation !
3
What will be the value of the following Python expression? print(4+2**5//10)
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(4 2**5 // 10)
3
7
77
0
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? >>bool(‘False’) >>bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? >>bool(' False ') >>bool()
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code snippet? print(not(3>4)) print(not(1&1))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(not(3>4)) print(not(1)
True True
True False
False True
False False
Previous Question
Next Question
25
See Explanation !
6
Which of the following Boolean expressions is not logically equivalent to the other three?
निम्नलिखित में से कौन सा बुलियन एक्सप्रेशन तार्किक रूप से अन्य तीन के बराबर नहीं है?
not(-6<0 or-6>10)
-6>=0 and -6<=10
not(-6<10 or-6==10)
not(-6>10 or-6==10)
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? x = ['ab', 'cd'] for i in x: x.append(i.upper()) print(x)
X: x.append (i.upper ()) print(x) में i के लिए निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = [' ab ', 'cd ']
[‘AB’, ‘CD’]
[‘ab’, ‘cd’, ‘AB’, ‘CD’]
[‘ab’, ‘cd’]
Infinite Loop
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? i = 1 while True: if i%7 == 0: break print(i) i += 1
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%7 == 0: break print(i) i = 1
1 2 3 4 5 6
1 2 3 4 5 6 7
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
9
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 !
10
What will be the output of the following Python code? i = 2 while True: if i%3 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 2 जबकि सही: यदि i%3 == 0: break print(i) i = 2
2 4 6 8 10 …
2 4
2 3
error
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? i = 1 while False: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि False: if i%2 == 0: break print(i) i = 2
1
1 3 5 7 …
1 2 3 4 …
Nothing will be printed
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 0 जबकि i < 3: print(i) i = 1 else: print(0)
0 1 2 3 0
0 1 2 0
0 1 2
error
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? x = "abcdef" while i in x: print(i, end=" ")
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 15 MINUTES 36 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
a b c d e f
abcdef
i i i i i i …
error
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? x = "abcdef" i = "i" while i in x: print(i, end=" ")
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 14 MINUTES 31 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
no output
i i i i i i …
a b c d e f
abcdef
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: print(i, end = " ")
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 13 MINUTES 38 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
no output
i i i i i i …
a a a a a a …
a b c d e f
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: print('i', end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" while i in x: print('i', end = " ")
no output
i i i i i i … infinite Time
a a a a a a …
a b c d e f
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? x = 'abcd' for i in range(x): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(x): print(i)
a b c d
0 1 2 3
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(i)
a b c d
0 1 2 3
error
1 2 3 4
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i.upper())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(i.upper())
a b c d
0 1 2 3
error
1 2 3 4
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): i.upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): i.upper() print (x)
a b c d
0 1 2 3
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): x = 'a' print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 04 MINUTES 55 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
a
abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? for i in range(0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(0): print(i)
0
no output
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? for i in range(int(2.0)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(int(2.0)): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question