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
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a 5 - b : a और b हैं
Operands
Expression
operators
Equation
Next Question
25
See Explanation !
2
List is mutable and Tuple is immutable?
सूची परिवर्तनीय है और ट्यूपल अपरिवर्तनीय है?
Yes, list mutable and tuple immutable
No, list and tuple both are mutable
No, list and tuple both are in immutable
No, just opposite, list immutable and tuple mutable
Previous Question
Next Question
25
See Explanation !
3
What is standard module in Python?
पायथन में मानक मॉड्यूल क्या है?
It can not be imported the same way as we import our user-defined modules.
It can be imported the same way as we import our user-defined modules,
Both
None of the above
Previous Question
Next Question
25
See Explanation !
4
Python supports the creation of anonymous functions at runtime, using a construct called
पायथन एक निर्माण का उपयोग करते हुए रनटाइम पर अनाम कार्यों के निर्माण का समर्थन करता है
pi
anonymous
lambda
none of the above
Previous Question
Next Question
25
See Explanation !
5
which of the following is an escape sequence for a tab character
निम्नलिखित में से कौन एक टैब वर्ण के लिए एक एस्केप अनुक्रम है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
6
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Only the first condition is checked.
All conditions are checked, even if one is True.
It behaves the same as if-elif.
It raises an error.
Previous Question
Next Question
25
See Explanation !
7
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 !
8
What is Full form of LEGB ?
LEGB का फुल फॉर्म क्या है?
Low, Enclosing, Global and Built-in
Local, Enclosing, Global and Built-in
Local, Ending, Global and Built-in
Light, Emitting, Global and Built-in
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? print([i.lower() for i in "HELLO"])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print([i.lower() for i in "HELLO"])
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
‘hello’
[‘hello’]
hello
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
12
Which can not be a variable in python
जो अजगर में एक चर नहीं हो सकता है
_py_
var
_var
try
Previous Question
Next Question
25
See Explanation !
13
_____ 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 !
14
What will the following code output? a,b,c=3,5,6 b,c,a=a+1,b+2,c+3 print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a+1,b+2,c+3 print(a,” ”,b,” ”,c)
7 9 4
4 7 9
9 4 7
4 7 9
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? print('abcd'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcd '.partition (' cd '))
(‘ab’, ‘cd’, ”)
(‘ab’, ‘cd’)
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
16
What is the output of the following statement ? print ((2, 4) + (1, 5))
निम्नलिखित कोड का परिणाम क्या है ? print ((2, 4) + (1, 5))
(2 , 4), (4 , 5)
(3 , 9)
(2, 4, 1, 5)
Invalid Syntax
Previous Question
Next Question
25
See Explanation !
17
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
18
What happens if a local variable exists with the same name as the global variable you want to access?
यदि कोई लोकल वैरिएबल वैसा ही नाम के साथ मौजूद है जैसा कि ग्लोबल वैरिएबल जिसे आप एक्सेस करना चाहते हैं?
Error
The local variable is shadowed
Undefined behavior
The global variable is shadowed
Previous Question
Next Question
25
See Explanation !
19
Which is the correct operator for power(x,y)?
पावर(x,y) के लिए सही ऑपरेटर कौन सा है?
X^y
X**y
X^^y
None of the mentioned
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? import time print(time.asctime())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import time print(time.asctime())
Current date only
UTC time
Current date and time
Current time only
Previous Question
Next Question
25
See Explanation !
21
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 !
22
A Function used for writing data in the binary format :
बाइनरी फॉर्मेट में डेटा लिखने के लिए उपयोग किया जाने वाला एक फंक्शन:
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
23
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? print('abcdef12'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcdef12 '.replace (' cd ', '12 '))
ab12ef12
abcdef12
ab12efcd
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
3 33
1 1
5 6
5 33
Previous Question