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 will be the output of the following Python code snippet? print('Ab!2'.swapcase())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Ab!2 '.swapcase ())
AB!@
ab12
aB!2
aB1@
Next Question
25
See Explanation !
2
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 2, 11))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', 2, 11))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
3
Converts a list into tuple.
किसी लिस्ट को टपल में बदल देता है।
Tuples (seq)
list(seq)
dict (seq)
None
Previous Question
Next Question
25
See Explanation !
4
Why does the name of local variables start with an underscore denote?
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
To identify the variable.
To identify the constant.
It indicates a public variable of a class.
Variables cannot be accessed from outside the class.
Previous Question
Next Question
25
See Explanation !
5
Which predefined Python function is used to find length of String()
स्ट्रिंग() की लंबाई का पता लगाने के लिए किस पूर्वनिर्धारित पायथन फ़ंक्शन का उपयोग किया जाता है
length
length()
len()
None
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following y='klmn' for i in range(len(y)): print(y)
निम्नलिखित कोड का परिणाम क्या है ? y='klmn' for i in range(len(y)): print(y)
klmn klmn klmn klmn
k
kkk
None of the these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? example = "helle" print(example.find("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.find("e"))
Error
-1
1
0
Previous Question
Next Question
25
See Explanation !
8
Which is a valid Constant in python
जो अजगर में एक वैध स्थिरांक है
Hello
949227
True
"2'
Previous Question
Next Question
25
See Explanation !
9
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
Next Question
25
See Explanation !
10
Which of these is not a core data type ?
इनमें से कौन सा मुख्य डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
11
In flowchart, parallelogram is used to show
फ्लोचार्ट में, समानांतर चतुर्भुज का उपयोग दिखाने के लिए किया जाता है
General input symbol
Operation on data
Online use of keyboard
Output data screen
Previous Question
Next Question
25
See Explanation !
12
Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Exponential
Addition
Multiplication
Parentheses
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 0 जबकि i < 3: print(i) i = 1 else: print(0)
0 1 2 3 0
0 1 2 0
0 1 2
error
Previous Question
Next Question
25
See Explanation !
14
Which of the following declarations is incorrect?
निम्नलिखित में से कौन सी डेक्लरेशंस गलत है?
_x=2
x=3
_xyz_=5
None of these
Previous Question
Next Question
25
See Explanation !
15
f.read(5) will read________from a file (file object 'f')
f.read(5) एक फ़ाइल से________ पढ़ेगा (file object 'f')
5 characters
5 words
5 lines
None of the above
Previous Question
Next Question
25
See Explanation !
16
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
17
How many keyword arguments can be passed to a function in a single function call?
एक फ़ंक्शन कॉल में एक फ़ंक्शन में कितने कीवर्ड तर्क पारित किए जा सकते हैं?
zero
one
zero or more
one or more
Previous Question
Next Question
25
See Explanation !
18
Raw data assigned to a variable is called as...
एक चर को असाइन किया गया कच्चा डेटा कहा जाता है...
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
19
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
not
%
and
+
Previous Question
Next Question
25
See Explanation !
20
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse()?
मान लीजिए कि list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.reverse () के बाद list1 क्या है?
[3, 4, 5, 20, 5, 25, 1, 3]
[1, 3, 3, 4, 5, 5, 20, 25]
[25, 20, 5, 5, 4, 3, 3, 1]
[3, 1, 25, 5, 20, 5, 4, 3]
Previous Question
Next Question
25
See Explanation !
21
Algorithm when translated into a programming language is called
प्रोग्रामिंग भाषा में अनुवाद करने पर एल्गोरिथ्म को कहा जाता है
Flowchart
Identifier
Code
Debugging
Previous Question
Next Question
25
See Explanation !
22
Which of the following Statement will create a Tuple:
निम्नलिखित में से कौन सा कथन एक टपल बनाएगा:
t1=1,2,4
t1=(1,)
t1=tuple(“123”)
All of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): i.upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): i.upper() print (x)
a b c d
0 1 2 3
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
Which of the following error is returned when we try to open a file in write mode which does not exist?
जब हम किसी ऐसी फ़ाइल को राइट मोड में खोलने की प्रयास करते हैं जो मौजूद नहीं है तो निम्न में से कौन सी एरर दिखाई देती है
File Found Error
File Not Exist Error
File Not Found Error
None of the above
Previous Question
Next Question
25
See Explanation !
25
NumPY stands for?
NumPY का मतलब है?
Numbering Python
Number in Python
Numerical Python
Number for Python
Previous Question