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
Which of the following statements is used to test multiple conditions in Python?
निम्नलिखित में से किस स्टेट्मेंट का यूज़ पायथन में मल्टिपल कंडीशन का टेस्ट करने के लिए किया जाता है?
if
if-else
elif
if-else-if
Next Question
25
See Explanation !
2
Empty list indicated by which symbol.
खाली सूची किस प्रतीक द्वारा इंगित की गई है।
[]
()
{}
None
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: x = x[:-1] print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x: x = x [:-1] print(i, end = "")
i i i i i i
a a a a a a
a a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
4
elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है
nested if
if..else
else if
if..elif
Previous Question
Next Question
25
See Explanation !
5
What will the following code produce? print(type(10))
निम्नलिखित कोड क्या उत्पन्न करेगा? print(type(10))
<class 'float’>
<class 'int'>
<class 'string'>
<class 'number'>
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd '))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
7
What will be the value of the following Python expression? print(float(4+int(2.39)%2))
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(float(4 int(2.39 )%2))
5.0
5
4.0
4
Previous Question
Next Question
25
See Explanation !
8
Which of the following function returns the index value of first occurrence of substring occurring in the given string.
निम्नलिखित में से कौन सा फंक्शन दिए गए स्ट्रिंग में होने वाली सबस्ट्रिंग की पहली घटना का इंडेक्स मान बताता है।
index()
find()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
9
What is a correct syntax to check the number of dimensions in an array?
ऐरे में डायमेंशन की संख्या की जांच करने के लिए सही सिंटैक्स क्या है?
np.ndim(array_name)
array_name.ndim()
np.dim(array_name)
array_name.dim
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
How can we create on empty list in Python?
हम पायथन में खाली सूची पर कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
12
What is the output of the following code? print(5 > 3 and 5 < 10)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(5 > 3 और 5 < 10)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
13
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 !
14
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
15
What is a correct method to split arrays?
सरणियों को विभाजित करने का सही तरीका क्या है?
array_split()
split()
split_array()
hstack() and vstack()
Previous Question
Next Question
25
See Explanation !
16
Which of the following cannot be returned by random.randrange(4)?
निम्नलिखित में से क्या random.randrange (4) द्वारा रिटर्न नहीं किया जा सकता है?
0
3
2.3
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे ______ कहा जाता है?
Type conversion
Type casting
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
18
What is the full form of IDLE in Python
पायथन में निष्क्रिय का पूर्ण रूप क्या है
Integrated Development and Learning Environment
Interpreted Development and Language Environment
Integrated Development and Language Environment
Integrated Designing and Language Environment
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following ? import numpy as np a = np.arange(5,1) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(5,1) print(a)
[ ]
[1 2 3 4 5]
[5 4 3 2 1]
[1 2 3 4]
Previous Question
Next Question
25
See Explanation !
20
Choose the correct function declaration of fun1() so that we can execute the following two function calls successfully. fun1(25, 75, 55) fun1(10, 20)
fun1() का सही फ़ंक्शन घोषणापत्र चुनें ताकि हम निम्नलिखित दो फ़ंक्शन कॉल सफलतापूर्वक निष्पादित कर सकें fun1(25, 75, 55) fun1(10, 20)
def fun1(**kwargs)
def fun1(args*)
No, it is not possible in Python
def fun1(*data)
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? print('Hello!2@#World'.istitle())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('Hello!2@#World'.istitle())
True
False
None
error
Previous Question
Next Question
25
See Explanation !
22
The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:
फ़ंक्शन डिमोड (ए, बी), जहां दोनों ‘a’ और ‘b’ इन्टिजर हैं, का इवैल्यूऐटनिम्नानुसार किया जाता है:
(a%b, a//b)
(a//b, a%b)
(a//b, a*b)
(a/b, a%b)
Previous Question
Next Question
25
See Explanation !
23
Which method is used to get all keys from a dictionary?
शब्दकोश से सभी कुंजियाँ प्राप्त करने के लिए किस विधि का उपयोग किया जाता है?
keys()
getkeys()
allkeys()
keyvalues()
Previous Question
Next Question
25
See Explanation !
24
What does the update() method do in a dictionary?
अपडेट() विधि शब्दकोश में क्या करती है?
Clears all key-value pairs
Updates a specific key
Merges another dictionary into the current one
Removes all values
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a Keyword in Python ?
पायथन में निम्नलिखित में से कौन सा कीवर्ड नहीं है?
break
while
continue
operators
Previous Question