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
The operator used to calculate remainder after division.
ऑपरेटर विभाजन के बाद शेष की गणना करता था।
%
/
\
None of these
Next Question
25
See Explanation !
2
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 !
3
_____ help programmers to create lists in a concise way.
_____ प्रोग्रामर को संक्षिप्त तरीके से सूचियाँ बनाने में मदद करें।
Tuple
Dictionary
List Comprehensions
None of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('a@ 1,'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' a@ 1,'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
Which one of these is floor division?
इनमें से कौन सा फर्श विभाजन है?
/
//
%
None of the mentioned
Previous Question
Next Question
25
See Explanation !
6
The values which are passed to a function definition are called
फ़ंक्शन परिभाषा में जो मान पास किए जाते हैं उन्हें कहा जाता है
Arguments
Subroutines
Function
Definition
Previous Question
Next Question
25
See Explanation !
7
Which of the following character is used to give comments in Python Program ?
पायथन प्रोग्राम में टिप्पणियां देने के लिए निम्नलिखित में से किस वर्ण का उपयोग किया जाता है?
#
&
@
$
Previous Question
Next Question
25
See Explanation !
8
Which of the following is equivalent to random.randint(3, 6)?
निम्नलिखित में से कौन सा random.randint(3, 6) के बराबर है?
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)
Previous Question
Next Question
25
See Explanation !
9
which is a correct way to open a file in python
पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
file_object=open(file_name,mode)
open(file_object,file_name,mode)
file_open(file_object,file_name,mode)
file_object=file_open(file_name,mode)
Previous Question
Next Question
25
See Explanation !
10
_____ is also known as the alias array.
_____ को उपनाम सरणी के रूप में भी जाना जाता है।
ndarray
array
alias
None of these
Previous Question
Next Question
25
See Explanation !
11
what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा
12.5
8
9.8
9
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? for i in range(5): if i == 5: break else: print(i) else: print("Here")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
0 1 2 3 4 Here
0 1 2 3 4 5 Here
0 1 2 3 4
1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
13
Which of the following cannot be a variable?
निम्नलिखित में से कौन एक चर नहीं हो सकता है?
__init__
in
it
on
Previous Question
Next Question
25
See Explanation !
14
What does the is keyword do in Python?
पायथन में कीवर्ड क्या करता है?
Checks if two variables have the same value.
Checks if two variables refer to the same object in memory.
Assigns a value to a variable.
None of the above
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
[2 4 1]
[2 3 1]
[3 4 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
16
Work of tell() method in file processing is
फाइल प्रोसेसिंग में tell() फंक्शन का कार्य है
Tells you the current position within the file.
Tells the size of file you read
Tells the start position of the file.
Tells the end position of the file.
Previous Question
Next Question
25
See Explanation !
17
What will the following code output? a=‘WEBSKYNET’ | a=10 | print(type(a))
निम्नलिखित कोड आउटपुट क्या होगा? a=‘WEBSKYNET’ | a=10 | print(type(a))
<class 'int'>
<class ‘str'>
<class ‘bool'>
Error
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"} for i,j in a.items(): print(i,j,end=" ")
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
1 A 2 B 3 C
1 2 3
A B C
1:”A” 2:”B” 3:”C”
Previous Question
Next Question
25
See Explanation !
19
What does ~~~~~~5 evaluate to?
~~~~~~5 का मूल्यांकन किससे होता है?
+5
-11
+11
-5
Previous Question
Next Question
25
See Explanation !
20
What does size attribute in numpy use to find?
numpy में numpy एट्रिब्यूट का क्या उपयोग है
Number of Rows and Column in array
Size of each items in array
Number of elements in array
Largest element of an array
Previous Question
Next Question
25
See Explanation !
21
Kite/diamond symbol in flow chart is used for_______
फ्लो चार्ट में पतंग/हीरा प्रतीक का उपयोग _______ के लिए किया जाता है
Execution
Decision
Statement
All of the above
Previous Question
Next Question
25
See Explanation !
22
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम _____ के रूप में जाना जाता है।
An Algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
23
What will the following code output? print(4 & 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(4 & 5)
4
5
0
1
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? print("xyyzxyzxzxyy".endswith("xyy"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy ".endswith (" xyy "))
1
True
3
2
Previous Question
Next Question
25
See Explanation !
25
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन दुभाषिया को बताता है कि किसी प्रोग्राम में आयात की गई मॉड्यूल फ़ाइलों का पता कहां लगाया जाए?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONCASEOK
Previous Question