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 of the following is a logical operator in Python?
निम्नलिखित में से कौन पायथन में एक लॉजिकल ऑपरेटर है?
and
or
not
All of the these
Next Question
25
See Explanation !
2
Which module is to be imported for using randint() function?
randint () फंक्शन का उपयोग करने के लिए कौन सा मॉडयूल आयात किया जाता है ?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
3
Converts a list into tuple.
किसी लिस्ट को टपल में बदल देता है।
Tuples (seq)
list(seq)
dict (seq)
None
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following code? print(2 ** 3 ** 2)
निम्नलिखित कोड का आउटपुट क्या होगा? प्रिंट(2 ** 3 ** 2)
64
512
729
Error
Previous Question
Next Question
25
See Explanation !
5
The _____ symbol is used at the beginning of a flow chart.
फ्लो चार्ट की शुरुआत में _____ प्रतीक का उपयोग किया जाता है।
Oval or Pill Shape
Rectangle
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
6
Which of the following isn’t true about dictionary keys?
निम्नलिखित में से कौन ड़िक्शनरी keys के बारे में सही नहीं है?
More than one key isn’t allowed
Keys must be immutable
Keys must be integers
When duplicate keys encountered, the last assignment wins
Previous Question
Next Question
25
See Explanation !
7
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, -2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[10, 8, 6]
[9, 7, 5]
[6, 8, 10]
[5, 7, 9]
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code snippet? print('11'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('11'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(list(d.keys()))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(list(d.keys()))
[“john”, “peter”]
[“john”:40, “peter”:45]
(“john”, “peter”)
(“john”:40, “peter”:45)
Previous Question
Next Question
25
See Explanation !
10
Which of the following functions will not result in an error when no arguments are passed to it?
जब कोई आर्ग्यमन्ट पास नहीं किया जाता हैं, तो निम्नलिखित में से कौन से फंक्शन में एरर आएगा ?
min()
divmod()
all()
float()
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? d1={"abc":5,"def":6,"ghi":7} print(d1[0])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d1={" abc ":5,"def ":6," ghi ":7} प्रिंट(d1[0])
abc
5
{"abc":5}
error
Previous Question
Next Question
25
See Explanation !
12
What will be the output of : infile.read(2)
निम्नलिखित कोड का आउटपुट क्या होगा? infile.read(2)
Read two words from file
Read two line from file
Read two character / two bytes
count the number of '2' in file
Previous Question
Next Question
25
See Explanation !
13
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Previous Question
Next Question
25
See Explanation !
14
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 !
15
Which of the following operator in python evaluates to true if the variables on either side of the operator point to the same object and false otherwise?
अजगर में निम्नलिखित में से कौन सा ऑपरेटर सही का मूल्यांकन करता है यदि ऑपरेटर के दोनों ओर के चर एक ही वस्तु की ओर इशारा करते हैं और अन्यथा गलत हैं?
**
//
is
not in
Previous Question
Next Question
25
See Explanation !
16
Which of the following options can be used to read the first line of a text file data.txt?
टेक्स्ट फाइल data.txt की पहली लाइन को पढ़ने के लिए निम्न में से कौन सा विकल्प इस्तेमाल किया जा सकता है?
f = open('data.txt'); f.read()
f = open('data.txt','r'); f.read(n)
myfile = open('data.txt'); f.readline()
f= open('data.txt'); f.readlines()
Previous Question
Next Question
25
See Explanation !
17
Which of the following returns an array of ones with the same shape and type as a given array?
निम्नलिखित में से कौन दिए गए ऐरे के समान आकार और प्रकार का एक ऐरे देता है?
all_like
ones_like
one_alike
all of the mentioned
Previous Question
Next Question
25
See Explanation !
18
The.........symbol is always the first and the last symbol in the flowchart.
......... symbol फ्लोचार्ट में हमेशा पहला और अंतिम प्रतीक होता है।
Rectangle
Terminal
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
19
Which keyword is used to remove individual items or the entire dictionary itself.
अलग - अलग आइटम या पूरे शब्दकोश को हटाने के लिए किस कीवर्ड का उपयोग किया जाता है।
del
remove
removeAll
None of these
Previous Question
Next Question
25
See Explanation !
20
immutable means.
अपरिवर्तनीय साधन हैं।
They cannot be edited
They can be edited
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
21
Which of the following is true about Python strings?
पायथन स्ट्रिंग्स के बारे में निम्नलिखित में से कौन सा सच है?
Strings can be modified using indexing.
Strings are immutable.
Strings can only contain alphabetic characters.
Strings must end with a newline character.
Previous Question
Next Question
25
See Explanation !
22
What is the value of the expression 10 + 3 ** 3 * 2?
अभिव्यक्ति 10 3 ** 3 * 2 का मान क्या है?
28
739
829
64
Previous Question
Next Question
25
See Explanation !
23
If we open a file in write mode and file does not exists, which of the error will generate?
यदि हम एक फाइल को राइट मोड में खोलते हैं और फाइल मौजूद नहीं है, तो कौन सी त्रुटि उत्पन्न होगी?
File Found Error
File Not Exist Error
File Not Found Error
None of these
Previous Question
Next Question
25
See Explanation !
24
____ is a function of dictionary gets all the values from the dictionary.
____ शब्दकोश का एक कार्य है जो शब्दकोश से सभी मान प्राप्त करता है।
values()
chr()
uni()
None of these
Previous Question
Next Question
25
See Explanation !
25
All parameters (arguments) in the Python language are passed by.
पायथन भाषा में सभी पैरामीटर (तर्क) द्वारा पारित किए जाते हैं।
Text document
Spreadsheet
reference
Database
Previous Question