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
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है? -
Exponential
Parentheses
Multiplication
None of the above
Next Question
25
See Explanation !
2
Which module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?
HTTP
urllib
socket
header
Previous Question
Next Question
25
See Explanation !
3
Which module is to be imported for using randint( ) function ?
randint () फ़ंक्शन का उपयोग करने के लिए कौन सा मॉड्यूल इम्पोर्ट किया जाना जरूरी है?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code if the system date is: 6/19/2017 import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
यदि सिस्टम दिनांक है: 6/19/2017 तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
2017-16-19
2017-06-9
2017-06-29
Error
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Previous Question
Next Question
25
See Explanation !
7
Python converts numbers internally in an expression containing mixed types to a Common type for evaluation. But sometimes, coerce a number explicitly from one type to another to satisfy the requirements of ____ parameter.
पायथन मूल्यांकन के लिए मिश्रित प्रकार वाले अभिव्यक्ति में आंतरिक रूप से संख्याओं को एक सामान्य प्रकार में परिवर्तित करता है। लेकिन कभी - कभी, ____ पैरामीटर की आवश्यकताओं को पूरा करने के लिए एक प्रकार से दूसरे प्रकार की संख्या को स्पष्ट रूप से मजबूर करें।
function
tuple
list
None of these
Previous Question
Next Question
25
See Explanation !
8
what is Lambda function in python
पायथन में लैम्ब्डा फंक्शन क्या है ?
A built-in Python function
A one-line anonymous function
Lambda is a function in python but user can not use it.
None of the above
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? print('HelloWorld'.istitle())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('HelloWorld'.istitle ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
10
To insert 5 to the third position in list1, we use which command?
लिस्ट 1 में 5 से थर्ड पोज़िशन पर इन्सर्ट करने के लिए, हम किस कमांड का यूज़ करते हैं?
list1.insert(3, 5)
list1.insert(2, 5)
list1.add(3, 5)
list1.append(3, 5)
Previous Question
Next Question
25
See Explanation !
11
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
12
Structured program can be broken into to assign to more than one developer
एक से अधिक डेवलपर को असाइन करने के लिए संरचित प्रोग्राम को खंडित किया जा सकता है
Segments
Modules
Units
All the above
Previous Question
Next Question
25
See Explanation !
13
Which of the following error is returned when we try to open a file in write mode which does not exist?
जब हम किसी ऐसी फ़ाइल को राइट मोड में खोलने की प्रयास करते हैं जो मौजूद नहीं है तो निम्न में से कौन सी एरर दिखाई देती है
File Found Error
File Not Exist Error
File Not Found Error
None of the above
Previous Question
Next Question
25
See Explanation !
14
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
Provides a means of reuse of program code
Provides a means of dividing up tasks
Provides a means of reducing the size of the program
Provides a means of testing individual parts of the program
Previous Question
Next Question
25
See Explanation !
15
Which of the statements about dictionary values if false?
ड़िक्शनरी वैल्यूज में से कौन सा स्टेट्मेंट यदि गलत है?
More than one key can have the same value
The values of the dictionary can be accessed as dict[key]
Values of a dictionary must be unique
Values of a dictionary can be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
16
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
6
1
1.5
Error
Previous Question
Next Question
25
See Explanation !
17
Which of the following is a Python tuple?
निम्नलिखित में से कौन एक Python tuple है?
[1, 2, 3]
(1, 2, 3)
{1, 2, 3}
{}
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} a.setdefault(4,"D") print(a)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} a.setdefault(4,"D") print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’}
None
Error
[1,3,6,10]
Previous Question
Next Question
25
See Explanation !
19
______ are the modes of both writing and reading in binary format in file.
______ फ़ाइल में द्विआधारी प्रारूप में लिखने और पढ़ने दोनों के तरीके हैं।
bw+
wb+
rb+
None of these
Previous Question
Next Question
25
See Explanation !
20
Which of the following commands will create a list?
निम्नलिखित में से कौन सा आदेश एक सूची बनाएगा?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
21
_____ reports all error with line numbers and produce faster object code then interpreter.
_____ लाइन संख्याओं के साथ सभी त्रुटि की रिपोर्ट करता है और फिर दुभाषिया के बाद तेज़ ऑब्जेक्ट कोड का उत्पादन करता है।
Compiler
Assembler
Translator
None of these
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question
Next Question
25
See Explanation !
23
The ____ function takes two parameters, filename and mode.
____ फ़ंक्शन दो पैरामीटर, फ़ाइल नाम और मोड लेता है।
Range
Input
Open()
Pass
Previous Question
Next Question
25
See Explanation !
24
Which of the statements about modules is false?
मॉड्यूल के बारे में कौन से कथन गलत हैं?
In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
dir() built-in function monitors the items in the namespace of the main module.
In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
Previous Question
Next Question
25
See Explanation !
25
Which is Special type of literal in Python
जो पायथन में विशेष प्रकार का शाब्दिक है
Integer
Complex Number
None
String
Previous Question