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 method used to removes all the items at once.
सभी आइटम को एक साथ हटाने के लिए इस्तेमाल किया जाने वाला तरीका।
remove ()
clear()
removelist ()
None of these
Next Question
25
See Explanation !
2
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy', 1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy".count('yy', 1))
2
0
1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
3
Which function is used to read all the characters from file?
फ़ाइल से सभी वर्णों को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
readall()
read()
readcharacter()
readchar()
Previous Question
Next Question
25
See Explanation !
4
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.rfind("e"))
-1
4
3
1
Previous Question
Next Question
25
See Explanation !
6
Which of the following is not a Python IDE
निम्नलिखित में से कौन पायथन आईडीई नहीं है
IDLE
Spyder
Jupyter Notes
Sublime Test
Previous Question
Next Question
25
See Explanation !
7
What is the length of sys.argv?
Sys.argv की लेंथ क्या है?
number of arguments
number of arguments + 1
number of arguments – 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
The code block within every function starts with a ____ ?
प्रत्येक फंक्शन के भीतर एक कोड ब्लॉक ... से शुरू होता है?
;
: :
:
%
Previous Question
Next Question
25
See Explanation !
9
This imports * statement import all in the modules except those beginning with ____ .
यह imports * स्टेटमेन्ट मॉड्यूल में सभी नामों को इंपोर्ट करता है जो .......से शुरुआत करते हैं।
-
&
%
None of the above
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
Which of the following statements create a dictionary?
निम्नलिखित में से कौन सा स्टेट्मेंट एक ड़िक्शनरी बनाता है?
d = {}
d = {“john”:40, “peter”:45}
d = {40:”john”, 45:”peter”}
All of the mentioned
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code snippet? print('Ab!2'.swapcase())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Ab!2 '.swapcase ())
AB!@
ab12
aB!2
aB1@
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? a={1:5,2:3,3:4} a.pop(3) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:5,2:3,3:4} a.pop(3) print(a)
{1: 5}
{1: 5, 2: 3}
Error, syntax error for pop() method
{1: 5, 3: 4}
Previous Question
Next Question
25
See Explanation !
14
Which function is used to converts and returns the binary equivalent string of a given integer.
किसी दिए गए पूर्णांक के द्विआधारी समतुल्य स्ट्रिंग को परिवर्तित करने और वापस करने के लिए किस फ़ंक्शन का उपयोग किया जाता है।
bin()
int()
binary()
Zip()
Previous Question
Next Question
25
See Explanation !
15
The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?
ndarray
narray
nd_array
darray
Previous Question
Next Question
25
See Explanation !
16
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 !
17
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 !
18
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 !
19
Which one the following is a mutable data type ?
निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?
set
tuple
string
None of These
Previous Question
Next Question
25
See Explanation !
20
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? def f1(a,b=[]): b.append(a) return b print(f1(2,[3,4]))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def f1(a,b=[]): b.append(a) return b print(f1(2,[3,4]))
[3,2,4]
[2,3,4]
Error
[3,4,2]
Previous Question
Next Question
25
-d2)-">
See Explanation !
-d2)-" target="_blank">
22
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
-d2)-" target="_blank">निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
23
Diamond shaped symbol is used in flowcharts to show the
डायमंड के आकार के प्रतीक का उपयोग फ्लोचार्ट में दिखाया जाता है
Decision box
Statement box
Error box
If-statement box
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? d1={"abc":5,"def":6,"ghi":7} print(d1[0])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d1={" abc ":5,"def ":6," ghi ":7} प्रिंट(d1[0])
abc
5
{"abc":5}
error
Previous Question
Next Question
25
See Explanation !
25
NumPY stands for?
NumPY का मतलब है?
Numbering Python
Number in Python
Numerical Python
Number for Python
Previous Question