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
Error does not fall into any category
गड़बड़ी किसी भी श्रेणी में नहीं आती है
Syntax Error
Runtime Error
Value Error
None of these
Next Question
25
See Explanation !
2
What does the 'r' mode signify when opening a file using open() in Python?
पायथन में ओपन() का उपयोग करके फ़ाइल खोलते समय 'r' मोड क्या दर्शाता है?
Read mode
Write mode
Append mode
Binary mode
Previous Question
Next Question
25
See Explanation !
3
How do you convert the string "123" to an integer in Python?
आप स्ट्रिंग "123" को पायथन में एक पूर्णांक में कैसे परिवर्तित करते हैं?
int("123")
integer("123")
int["123“]
(int) “123”
Previous Question
Next Question
25
See Explanation !
4
Which of the following is a logical operator in Python?
निम्नलिखित में से कौन पायथन में एक लॉजिकल ऑपरेटर है?
and
or
not
All of the these
Previous Question
Next Question
25
See Explanation !
5
_____ is a procedure or step by step process for solving a problem.
_____ एक समस्या को हल करने के लिए एक प्रक्रिया या चरण - दर - चरण प्रक्रिया है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
6
To remove string "hello" from list1, we use which command ?
List1 से स्ट्रिंग "hello" हटाने के लिए, हम किस कमांड का उपयोग करते हैं?
list1.remove("hello")
list1.remove(hello)
list1.removeAll("hello")
list1.removeOne ("hello")
Previous Question
Next Question
25
See Explanation !
7
Function range(0, 5, 2) will yield on iterable sequence like
फंक्शन रेंज(0, 5, 2) पुनरावर्तनीय अनुक्रम पर प्राप्त होगी जैसे
[0, 2, 4]
[1, 3, 5]
[0, 1, 2, 5]
[0, 5, 2]
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
9
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
10
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))
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} print(a.items())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.items())
Syntax error
dict_items([(‘A’), (‘B’), (‘C’)])
dict_items([(1,2,3)])
dict_items([(1, ‘A’), (2, ‘B’), (3, ‘C’)])
Previous Question
Next Question
25
See Explanation !
12
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Previous Question
Next Question
25
See Explanation !
13
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 !
14
What will be the output of the following code ? st='abcdefg' print(st[2:5])
निम्नलिखित कोड का आउटपुट क्या होगा? st='abcdefg' प्रिंट(st[2:5])
'cde'
'abc'
'efg'
None of these
Previous Question
Next Question
25
See Explanation !
15
The data type of an expression int(m)/int(n) will result in:
किसी अभिव्यक्ति के डेटा प्रकार int(m )/ int(n) का परिणाम होगा:
Int
Float
int or float
None of these
Previous Question
Next Question
25
See Explanation !
16
Empty list indicated by which symbol.
खाली सूची किस प्रतीक द्वारा इंगित की गई है।
[]
()
{}
None
Previous Question
Next Question
25
See Explanation !
17
Which of these is the definition for packages in Python?
पायथन में पैकेजों की परिभाषा इनमें से कौन सी है?
A set of main modules.
A folder of python modules
A number of files containing Python definitions and statements.
A set of programs making use of Python modules.
Previous Question
Next Question
25
See Explanation !
18
If list1=[10,20,30], then operation list1*2 returns ____ .
यदि list1=[10,20,30], तो ऑपरेशन list1*2 ____ लौटाता है।
[10,20,30,10,20,30]
[20,40,60]
[10,20,30,20,40,60]
None
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print("abc DEF".capitalize())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abc DEF".capitalize())
abc def
ABC DEF
Abc def
Abc Def
Previous Question
Next Question
25
See Explanation !
20
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
21
Which of the following data types is not supported in python?
पायथन में निम्नलिखित में से कौन सा डेटा प्रकार समर्थित नहीं है?
Number
String
List
Slice
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which of these definitions correctly describes a module?
इनमें से कौन सी परिभाषा सही ढंग से एक मॉड्यूल का वर्णन करती है?
Denoted by triple quotes for providing the specification of certain program elements
Design and implementation of specific functionality to be incorporated into a program
Defines the specification of how it is to be used
Any program that reuses code
Previous Question
Next Question
25
See Explanation !
24
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
25
For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए, व्यंजक x, y है, सत्य प्राप्त करेगा, यदि और केवल यदि
id(x) == id(y)
len(x) == len(y)
x == y
all of these
Previous Question