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
What is a variable defined outside a function referred to as ?
किसी फ़ंक्शन के बाहर परिभाषित वेरिएबल को क्या कहते है?
A static variable
A global variable
A local variable
An automatic variable
Next Question
25
See Explanation !
2
What is the purpose of the elif statement in Python?
पायथन में एलिफ स्टेटमेंट का पर्पज क्या है?
To create an infinite loop.
To check additional conditions when the first if condition is False.
To end the if block.
To execute code unconditionally.
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code snippet? test = {1:'A', 2:'B', 3:'C'} del test[1] test[1] = 'D' del test[2] print(len(test))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? test = {1:'A', 2:'B', 3:'C'} del test[1] test[1] = 'D' del test[2] print(len(test))
0
2
Error as the key-value pair of 1:’A’ is already deleted
1
Previous Question
Next Question
25
See Explanation !
4
Function blocks begin with the keyword _.
फ़ंक्शन ब्लॉक कीवर्ड_ से शुरू होते हैं।
function
method
def
None of the above
Previous Question
Next Question
25
See Explanation !
5
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 !
6
Which symbol is used to write single line comment ?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
.
#
/
?
Previous Question
Next Question
25
See Explanation !
7
Which of the following is not a valid keyword of Python associated with loops?
निम्नलिखित में से कौन लूप से सम्बन्धित पायथन का वैलिड कीवर्ड नहीं है?
continue
check
range
break
Previous Question
Next Question
25
See Explanation !
8
How can you perform element-wise addition of two NumPy arrays arr1 and arr2?
आप दो NumPy सरणियों arr1 और arr2 को एलिमेंट वाइज कैसे जोड़ सकते हैं?
arr1 + arr2
add(arr1, arr2)
arr1.add(arr2)
elementwise_add(arr1, arr2)
Previous Question
Next Question
25
See Explanation !
9
The data type whose representation is known are called
जिस डेटा प्रकार का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
10
The offset of the local DST time zone.
स्थानीय डीएसटी समय क्षेत्र का ऑफसेट।
Time.altzone
alt.Timezone
zone.altTime
None
Previous Question
Next Question
25
See Explanation !
11
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 !
12
Which operator is also called as Conditional operator?
किस ऑपरेटर को कंडीशनल ऑपरेटर भी कहा जाता है?
Ternary
Relational
Logical
Assignment
Previous Question
Next Question
25
See Explanation !
13
To print the value of a variable, Python uses
एक चर के मूल्य को मुद्रित करने के लिए, पायथन का उपयोग करता है
Print Statement
Print Function()
print Statement
print() Function
Previous Question
Next Question
25
See Explanation !
14
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following program ? print "Hello World".[::-1]
निम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]
dlroWolleH
Hello Worl
d
Error
Previous Question
Next Question
25
See Explanation !
16
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
17
When we open file in append mode the file pointer is at the of the file?
जब हम फाइल को एपेंड मोड में खोलते हैं तो फाइल पॉइंटर फाइल के ____ पर होता है?
anywhere in between the file
End
beginning
second line of the file
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print('abcd'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcd '.partition (' cd '))
(‘ab’, ‘cd’, ”)
(‘ab’, ‘cd’)
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
21
Function of a compiler is to
एक संकलक का कार्य है
put to gether the file and functions that are required by the program
translate the instructions in to a form suitable for execution by the program
load the executable code in to the memory and execute them
allow the user to type the program
Previous Question
Next Question
25
See Explanation !
22
Which type of Programming does Python support?
पायथन किस प्रकार के प्रोग्रामिंग का समर्थन करता है?
Object-oriented programming
Structured programming
Functional programming
All of the mentioned
Previous Question
Next Question
25
See Explanation !
23
Select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
24
In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?
k^1
k**1
k^ ^1
k^*1
Previous Question
Next Question
25
See Explanation !
25
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Previous Question