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 happens if you attempt to access an index that is out of range in a list?
यदि आप किसी सूचकांक को एक्सेस करने का प्रयास करते हैं जो सूची में सीमा से बाहर है, तो क्या होता है?
It returns None.
It raises an IndexError
It creates a new element at that index.
It returns an empty list.
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? print('abcefd'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcefd '.replace (' cd ', '12 '))
ab1ef2
abcefd
ab1efd
ab12ed2
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Istrip() method is used for :
Istrip() विधि का उपयोग इसके लिए किया जाता है:
delete all the trailing characters
delete all the leading characters
delete all the leading and trailing characters
delete upper case characters
Previous Question
Next Question
25
See Explanation !
5
How can we create on empty list in Python?
हम पायथन में खाली सूची पर कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
6
Which of the following statements is used to check if a file exists in Python?
निम्नलिखित में से किस फंक्शन का उपयोग यह जांचने के लिए किया जाता है कि कोई फ़ाइल पायथन में मौजूद है या नहीं?
file_exists()
exists_file()
os.path.exists()
check_file()
Previous Question
Next Question
25
See Explanation !
7
What is a correct syntax to create a NumPy array?
NumPy array बनाने के लिए सही सिंटैक्स क्या है?
np.array([4,5,6])
np.create_array([4,5,6])
np.createArray([4,5,6])
np.numpyArray([4,5,6])
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) pr
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) print(a)
An exception is thrown
3
6
2
Previous Question
Next Question
25
See Explanation !
9
Suppose list1 is [1, 3, 2], What is list1 * 2?
मान लीजिए list1 [1, 3, 2] है, list1 * 2 क्या है?
[2, 6, 4]
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
Previous Question
Next Question
25
See Explanation !
10
Which is a valid Constant in python
जो अजगर में एक वैध स्थिरांक है
Hello
949227
True
"2'
Previous Question
Next Question
25
See Explanation !
11
..........design approach starts by dividing the complex algorithm into one or more modules.
..........डिजाइन दृष्टिकोण जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
Top-Down
Down-Top
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
12
Correct syntax of file.writelines is?
File.writelines का सही वाक्यविन्यास है?
file.writelines(sequence)
fileObject.writelines()
fileObject.writelines(sequence)
none of the mentioned
Previous Question
Next Question
25
See Explanation !
13
NumPY stands for. -
NumPY का अर्थ है -
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
14
What will be output for the following code ? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
निम्नलिखित कोड का परिणाम क्या है? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? x = 'abcd' for i in x: print(i) x.upper()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = x में i के लिए 'abcd ': print(i) x.upper ()
a B C D
a b c d
A B C D
error
Previous Question
Next Question
25
See Explanation !
16
Special meaning words of Pythons, fixed for specific functionality are called ___
विशिष्ट कार्यक्षमता के लिए तय किए गए पायथन के विशेष अर्थ वाले शब्दों को ___ कहा जाता है।
Identifiers
Functions
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
17
What is the maximum possible length of an identifier for better redability? -
बेहतर रीडेबिलिटी के लिए एक पहचानकर्ता की अधिकतम संभव लंबाई क्या है? -
31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Previous Question
Next Question
25
See Explanation !
18
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 !
19
Which one of the following is not attributes of file?
निम्नलिखित में से कौन सा फाइल का ऐट्रीब्यूट नहीं है?
closed
softspace
rename
None of the above.
Previous Question
Next Question
25
See Explanation !
20
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
21
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? print('abc'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abc'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
23
Which function is used to generate evenly spaced values within a specified range?
किसी निर्दिष्ट सीमा के भीतर समान दूरी वाले मान उत्पन्न करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
numpy.linspace()
numpy.range()
numpy.arrange()
numpy.spaceline()
Previous Question
Next Question
25
See Explanation !
24
In python, Valid identifier is_
अजगर में, मान्य पहचानकर्ता है_
1abc
$12a
_xy 1
@python
Previous Question
Next Question
25
See Explanation !
25
What is a recursive function?
एक रिकर्सिव फंक्शन क्या है?
A function that calls other function.
A function which calls itself.
Both A and B
None of the above
Previous Question