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
What will be the output of the following Python code? mylist=list("a#b#c#d".split('#')) print(mylist)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? mylist=list("a#b#c#d".split('#')) print(mylist)
[‘a’, ‘b’, ‘c’, ‘d’]
[‘a b c d’]
[‘a#b#c#d’]
[‘abcd’]
Next Question
25
See Explanation !
2
_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।
unichr (x)
oct (x)
chr(x)
None of the these
Previous Question
Next Question
25
See Explanation !
3
What is the output of the following code? a = set('dcma') b = set('mlpc') print(a^b)
निम्नलिखित कोड का परिणाम क्या है? a = set('dcma') b = set('mlpc') print(a^b)
{‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}
{‘m’, ‘l’, ‘p’, ‘c’}
{‘d’, ‘c’, ‘m’, ‘a’}
None of These
Previous Question
Next Question
25
See Explanation !
4
Which is/are the valid statement to print Hello Word in Python ?
पायथन में Hello Word को प्रिंट करने के लिए मान्य कथन क्या है/हैं?
print('Hello Word')
print("Hello Word")
print(Hello Word)
Both A and B
Previous Question
Next Question
25
See Explanation !
5
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
6
Which of these functions can NOT be defined under the sys module?
SYS मॉड्यूल के तहत इनमें से कौन से फ़ंक्शंस को परिभाषित नहीं किया जा सकता है?
sys.argv
sys.readline
sys.path
sys.platform
Previous Question
Next Question
25
See Explanation !
7
If return statement is not used inside the function, the function will return:
यदि फंक्शन के अंदर रिटर्न स्टेटमेंट का उपयोग नहीं किया जाता है, तो फंक्शन रिटर्न करेगा:
None
0
Null
Arbitary value
Previous Question
Next Question
25
See Explanation !
8
Write the list comprehension to pick out only negative integers from a given list ‘l’.
दी गई लिस्ट। L ’से केवल नेगटिव इन्टिजर निकालने के लिए लिस्ट की समझ लिखें।
[x<0 in l]
[x for x<0 in l]
[x in l for x<0]
[x for x in l if x<0]
Previous Question
Next Question
25
See Explanation !
9
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
10
What is the return value of trunc()?
Trunc() का रिटर्न वैल्यू क्या है?
int
bool
float
None
Previous Question
Next Question
25
See Explanation !
11
Leading white space at the beginning of each statement, which is used to determine the group of statement.
प्रत्येक कथन के आरंभ में शीर्ष सफेद स्थान, जिसका उपयोग कथनों के समूह को निर्धारित करने के लिए किया जाता है।
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
12
The process of drawing a flowchart for an algorithms is called
एक एल्गोरिदम के लिए एक फ्लोचार्ट बनाने की प्रक्रिया को कहा जाता है
Performance
Algorithmic Representation
Evaluation
Flowcharting
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? a={1:5,2:3,3:4} a.pop(3) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:5,2:3,3:4} a.pop(3) print(a)
{1: 5}
{1: 5, 2: 3}
Error, syntax error for pop() method
{1: 5, 3: 4}
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
15
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 !
16
Which of the following is not a keyword?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
9
10
11
12
Previous Question
Next Question
25
See Explanation !
18
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
19
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जिसे कोष्ठक कोष्ठक () का उपयोग किए बिना बनाया जाता है, को कहा जाता है?
Tuple packing
Tuple sampling
Tuple sorting
None of the above
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? print('ab'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('ab'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
21
Which of the following declarations is incorrect?
निम्नलिखित में से कौन सी डेक्लरेशंस गलत है?
_x=2
x=3
_xyz_=5
None of these
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
[[1, 2], [3, 1.5], [0.5, 0.5]]
[[3, 1.5], [1, 2], [0.5, 0.5]]
[[0.5, 0.5], [1, 2], [3, 1.5]]
[[0.5, 0.5], [3, 1.5], [1, 2]]
Previous Question
Next Question
25
See Explanation !
23
What will be output for the following code? import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
24
The ____________ function removes the first element of a set and the last element of a list.
____________ फ़ंक्शन सेट का फर्स्ट एलिमेंट् और किसी लिस्ट का लास्ट एलिमेंट निकालता है।
remove
pop
discard
dispose
Previous Question
Next Question
25
See Explanation !
25
Empty list indicated by which symbol.
खाली सूची किस प्रतीक द्वारा इंगित की गई है।
[]
()
{}
None
Previous Question