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
Which statement can be use to swap the values of an and b
a और b के मानों को स्वैप करने के लिए किस कथन का उपयोग किया जा सकता है?
a=b,b=a
a,b=b,a
a=b;b=a
a=b and b=a
Next Question
25
See Explanation !
2
in python which function is used to read CSV file
पायथन में CSV फ़ाइल को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
csv.reader(file)
csv.read(file)
csv.readcsv(file)
csv.readcsvdata(file)
Previous Question
Next Question
25
See Explanation !
3
Which of the following commands will create a list?
निम्नलिखित में से कौन सा आदेश एक सूची बनाएगा?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
4
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, -2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[10, 8, 6]
[9, 7, 5]
[6, 8, 10]
[5, 7, 9]
Previous Question
Next Question
25
See Explanation !
5
What is full form of PVM?
पीवीएम (PVM) का पूर्ण रूप क्या है?
Python Visual Machine
Python Visual Mode
Python Virtual Machine
Python Virtual Mode
Previous Question
Next Question
25
See Explanation !
6
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 !
7
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.
Previous Question
Next Question
25
See Explanation !
8
Suppose a list with name arr, contains 5 elements, You can get the 2nd element from the list using?
मान लीजिए कि नाम arr वाली एक सूची, जिसमें 5 तत्व हैं, का उपयोग करके आप सूची से दूसरा तत्व प्राप्त कर सकते हैं?
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code?
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
x = [' ab ', 'cd ']
i के लिए x:i.upper () print(x) में
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
[None, None]
none of the mentioned
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code? a=[1,2,3] b=a.append(4) print(a) print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[1,2,3] b= a.append (4) print(a) print(b)
[1,2,3,4] [1,2,3,4]
[1, 2, 3, 4] None
Syntax error
[1,2,3] [1,2,3,4]
Previous Question
Next Question
25
See Explanation !
11
Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं से निपटते समय पायथन केस संवेदनशील होता है?
yes
no
machine dependent
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?
मान लीजिए list1 [2, 33, 222, 14, 25] है, list1 [-1] क्या है?
Error
None
25
2
Previous Question
Next Question
25
See Explanation !
13
which of the following are valid string manipulation function in python
पायथन में मान्य स्ट्रिंग हेरफेर फ़ंक्शन निम्नलिखित में से कौन से हैं
count()
strip()
upper()
All of the above
Previous Question
Next Question
25
See Explanation !
14
____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____ एक स्ट्रिंग शाब्दिक है जिसे कुछ प्रोग्राम तत्वों के विनिर्देश प्रदान करने के लिए ट्रिपल कोट्स द्वारा दर्शाया गया है।
Interface
Modularity
Client
Docstring
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? string = "my name is x" for i in string.split(): print (i, end=", ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? string = "my name is x" for i in string.split(): print (i, end=", ")
m, y, , n, a, m, e, , i, s, , x,
m, y, , n, a, m, e, , i, s, , x
my, name, is, x,
error
Previous Question
Next Question
25
See Explanation !
16
Which of the following functions can be used to find the coordinated universal time, assuming that the datetime module has already been imported?
निम्नलिखित कार्यों में से किसको कोआर्डिनेट यूनिवर्सल समय का पता लगाने के लिए यूज़ किया जा सकता है, यह मानते हुए कि डेटाइम मॉड्यूल पहले ही इम्पोर्ट किया जा चुका है?
datetime.utc()
datetime.datetime.utc()
datetime.utcnow()
datetime.datetime.utcnow()
Previous Question
Next Question
25
See Explanation !
17
Which function returns the exact copy of the string with the first letter in uppercase.
कौन सा फ़ंक्शन अपरकेस में पहले अक्षर के साथ स्ट्रिंग की सटीक कॉपी देता है।
find()
copy()
upper()
capitalize()
Previous Question
Next Question
25
See Explanation !
18
In Python, a complex number is represented as:
पायथन में, एक जटिल संख्या को इस प्रकार दर्शाया जाता है:
a+√b
a+√b j
a+bj
a+√j
Previous Question
Next Question
25
See Explanation !
19
to use load() function for working with binary file in python which module is require
पायथन में बाइनरी फ़ाइल के साथ काम करने के लिए load() फ़ंक्शन का उपयोग करने के लिए किस मॉड्यूल की आवश्यकता है
pickle
binary
unpickle
fstream
Previous Question
Next Question
25
See Explanation !
20
Which of the following is not a relational opeartor in Python?
निम्नलिखित में से कौन पायथन में एक रिलेशनल ऑपरेटर नहीं है?
>=
<=
=
!=
Previous Question
Next Question
25
See Explanation !
21
What is a correct syntax to print the numbers [3, 4, 5] from the array below: arr = np.array([1,2,3,4,5,6,7])
नीचे दी गई सारणी से संख्या [3, 4, 5] को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([1,2,3,4,5,6,7])
print(arr[2:4])
print(arr[2:5])
print(arr[2:6])
print(arr[3:6])
Previous Question
Next Question
25
See Explanation !
22
How many for loop structure we can use in our program?
हम अपने प्रोग्राम में कितने फॉर लूप स्ट्रक्चर का यूज़ कर सकते हैं?
Only One
1-10
Any number of Times
Any number of times but one inside another only.
Previous Question
Next Question
25
See Explanation !
23
Which statement is correct
कौन सा कथन सही है
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both List and Tuple are Mutable
Both List and Tuple are Immutable
Previous Question
Next Question
25
See Explanation !
24
What does the following code print ? x = 'mohan' for i in range (len(x)): x[i].upper() print (x)
निम्नलिखित कोड क्या प्रिंट करता है? x = 'mohan' for i in range (len(x)): x[i].upper() print (x)
mohan
MOHAN
Error
None of These
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? i = 1 while False: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि False: if i%2 == 0: break print(i) i = 2
1
1 3 5 7 …
1 2 3 4 …
Nothing will be printed
Previous Question