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 equivalent to random.randrange(3)?
निम्नलिखित में से कौन random.randrange(3) के बराबर है?
range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
Next Question
25
See Explanation !
2
Which of the following is the proper syntax to check if a particular element is present in a list?
निम्नलिखित में से कौन सा उचित वाक्यविन्यास यह जांचने के लिए है कि कोई विशेष तत्व किसी सूची में मौजूद है या नहीं?
if ele in list
if not ele not in list
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
3
Choose the correct option with respect to Python..
पायथन के संबंध में सही विकल्प चुनें..
In Python, a tuple can contain only integers as its elements.
In Python, a tuple can contain only strings as its elements.
In Python, a tuple can contain both integers and strings as its elements.
In Python, a tuple can contain either string or integer but not both at a time.
Previous Question
Next Question
25
See Explanation !
4
The Compexity of linear search algorithm is
रैखिक खोज एल्गोरिथ्म की संयोजकता है
O(n)
O (log n)
O(n2)
O (n log n)
Previous Question
Next Question
25
See Explanation !
5
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Previous Question
Next Question
25
See Explanation !
6
Python uses a/an _______ to convert source code
पायथन स्रोत कोड को परिवर्तित करने के लिए एक/एक _______ का उपयोग करता है
Interpreter
Compiler
Combination of Compiler and Interpreter
all of these
Previous Question
Next Question
25
See Explanation !
7
Which of the following precedence order is correct in Python?
पायथन में निम्नलिखित में से कौन सा वरीयता क्रम सही है?
Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
Previous Question
Next Question
25
See Explanation !
8
The .......... construct repeats a set of statements a specified number of times or as long as a condition is true.
.......... CONSTRUCT कथनों के एक सेट को निर्दिष्ट संख्या में बार - बार दोहराता है या जब तक कोई शर्त सत्य है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? print('abc'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abc'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
10
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 !
11
Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन एक नए लाइन कैरेक्टर के लिए एक एस्केप सीक्वेंस है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
12
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Previous Question
Next Question
25
See Explanation !
13
Using ndim we can find
ndim का उपयोग करके हम पा सकते हैं
We can find the dimension of the array
Size of array
Operational activities on Matrix
None of the mentioned above
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code snippet? print('cd'.partition('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('cd '.partition (' cd '))
(‘cd’)
(”)
(‘cd’, ”, ”)
(”, ‘cd’, ”)
Previous Question
Next Question
25
See Explanation !
15
Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is:
मान लीजिए list1 = [0.5 * x for x in range(0, 4)], list1 है:
[0, 1, 2, 3]
[0, 1, 2, 3, 4]
[0.0, 0.5, 1.0, 1.5]
[0.0, 0.5, 1.0, 1.5, 2.0]
Previous Question
Next Question
25
See Explanation !
16
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल घोषित करने का सही तरीका निम्नलिखित में से कौन सा है?
int x = 10
x = 10
var x = 10
x: 10
Previous Question
Next Question
25
See Explanation !
17
which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :
#
=
/
&
Previous Question
Next Question
25
See Explanation !
18
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है? -
Exponential
Parentheses
Multiplication
None of the above
Previous Question
Next Question
25
See Explanation !
19
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 !
20
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 !
21
What will be the output of the following code? import numpy as np a=np.array([1,2,3]) print(a.ndim)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3]) print(a.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
22
What does the function re.match do?
फ़ंक्शन re.match क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? numbers = {} letters = {} comb = {} numbers[1] = 56 numbers[3] = 7 letters[4] = 'B'
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? numbers = {} letters = {} comb = {} numbers[1] = 56 numbers[3] = 7 letters[4] = 'B' comb['Numbers']
Error, dictionary in a dictionary can’t exist
‘Numbers’: {1: 56, 3: 7}
{‘Numbers’: {1: 56}, ‘Letters’: {4: ‘B’}}
{‘Numbers’: {1: 56, 3: 7}, ‘Letters’: {4: ‘B’}}
Previous Question
Next Question
25
See Explanation !
24
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
मान लीजिए d = {“john”:40, “peter”:45}. शब्दकोश में प्रविष्टियों की संख्या प्राप्त करने के लिए हम किस कमांड का उपयोग करते हैं?
d.size()
len(d)
size(d)
d.len()
Previous Question
Next Question
25
See Explanation !
25
Evaluate the expression A%B//A if the value of A= 16 and b= 15
एक्सप्रेशन A%B//A का मूल्यांकन करें यदि A=16 और b=15 का मान है
0.0
0
1.0
1
Previous Question