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
What is the output of the following code? a = {1:"A", 2: "B", 3: "C"} b = {4: "D", 5: "E"} a.update(b) print(a)
निम्नलिखित कोड का परिणाम क्या है ? a = {1:"A", 2: "B", 3: "C"} b = {4: "D", 5: "E"} a.update(b) print(a)
{1:’A’, 2: ‘B’,3: ‘C’}
{1: ‘A’, 2: ‘b’, 3: ‘c’, 4: ‘D’, 5: ‘E’}
Error
{4: ‘D’, 5: ‘E’}
Next Question
25
See Explanation !
2
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?
मान लीजिए list1 [2, 33, 222, 14, 25] है, list1 [-1] क्या है?
Error
None
25
2
Previous Question
Next Question
25
See Explanation !
3
Which of the following declaration is incorrect?
निम्नलिखित में से कौन सी घोषणा गलत है?
a_=3
_a=3
a?=3
All of These
Previous Question
Next Question
25
See Explanation !
4
Which one is not a looping structure available in python.
पायथन में कौन सी लूपिंग स्ट्रक्चर अवेलबल नहीं है?
while loop
for loop
do while loop
all of these
Previous Question
Next Question
25
See Explanation !
5
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question
Next Question
25
See Explanation !
6
what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)
1
8
True
False
Previous Question
Next Question
25
See Explanation !
7
Which is mean by 'a' mode when working with text file.
टेक्स्ट फ़ाइल के साथ काम करते समय a मोड से इसका मतलब है।
Append File
Write File
Read File
Read and Write both
Previous Question
Next Question
25
See Explanation !
8
The variables in a function definition are called as
फ़ंक्शन परिभाषा में वेरिएबल्स को कहा जाता है
Subroutines
Function
Function
Parameters
Previous Question
Next Question
25
See Explanation !
9
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फ़ंक्शन फ़ाइल से एक पंक्ति पढ़ता है; स्ट्रिंग के अंत में एक नई पंक्ति वर्ण (\n) छोड़ दिया जाता है।
read()
Readline()
write()
None of these
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
11
random.shuffle() function shuffle value of
random.shuffle() फंक्शन किसकी वैल्यू को शफल करता है
take a sequence, like a list, and arrange the items in ascending order
take a sequence, like a list, and reorganize the order of the items.
take a sequence, like a list, and arrange the items in descending
take a sequence, like a list, and return the same copy of sequence
Previous Question
Next Question
25
See Explanation !
12
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 !
13
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
Flowchart
Flow
Algorithm
syntax
Previous Question
Next Question
25
See Explanation !
14
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 !
15
Python code can run on a variety of platforms, it means Python is a _____ language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक _____ भाषा है।
Graphical
Cross-Platform
Platform Dependent
All of these
Previous Question
Next Question
25
See Explanation !
16
Which of the following is not a valid mode to open a file?
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है?
ab
rw
r+
w+
Previous Question
Next Question
25
See Explanation !
17
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
18
What is the output of this expression, 3*1**3?
इस व्यंजक का आउटपुट क्या है, 3*1**3?
29
9
3
1
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python expression? print(round(4.5676,2))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(round(4.5676,2))
4.5
4.6
4.57
4.56
Previous Question
Next Question
25
See Explanation !
20
Each module should also be divided into sub modules according to software engineering and programming style.
प्रत्येक मॉड्यूल को सॉफ्टवेयर इंजीनियरिंग और प्रोग्रामिंग शैली के अनुसार उप मॉड्यूल में भी विभाजित किया जाना चाहिए।
Top down method
Bottom up method
Coding
None of the above
Previous Question
Next Question
25
See Explanation !
21
What type of data is: a=[(1,1),(2,4),(3,9)]?
किस प्रकार का डेटा है: a = [(1,1), (2,4), (3,9)]?
Array of tuples
List of tuples
Tuples of lists
Invalid type
Previous Question
Next Question
25
See Explanation !
22
Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?
switch
foreach
Nested Loop
None
Previous Question
Next Question
25
See Explanation !
23
What is tail recursion?
टेल रिकर्शन क्या है?
A recursive function that has two base cases
A function where the recursive functions leads to an infinite loop
A recursive function where the function doesn’t return anything and just prints the values
A function where the recursive call is the last thing executed by the function
Previous Question
Next Question
25
See Explanation !
24
Which of the following declarations is incorrect?
निम्नलिखित में से कौन सी डेक्लरेशंस गलत है?
_x=2
x=3
_xyz_=5
None of these
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following code? list1=[2,33,222,14,25] print(list1[-1])
निम्नलिखित कोड का आउटपुट क्या होगा? list1=[2,33,222,14,25] print(list1[-1])
2
33
14
25
Previous Question