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 of the following is the datatype possible in python?
पाइथन में निम्नलिखित में से कौन सा डेटाटाइप संभव है?
int
list
dictionary
All of the above
Next Question
25
See Explanation !
2
Which of the following functions will return the symmetric difference between two sets, x and y?
निम्नलिखित में से कौन सा कार्य दो सेटों, x और y के बीच सिमेट्रिक डिफ्रेंस को रिटर्न करेगा ?
x | y
x ^ y
x & y
x – y
Previous Question
Next Question
25
See Explanation !
3
How many arguments a Python program can accept from the command line?
पायथन प्रोग्राम कमांड लाइन से कितने तर्क स्वीकार कर सकता है?
One
Two
Three
Any Number of Times
Previous Question
Next Question
25
See Explanation !
4
Which of the following is false about “from ….. import …… " form of import?
निम्नलिखित में से कौन सा आयात के "from ….. import …… " रूप के बारे में गलत है?
The syntax is: from module name import identifier
This form of import does not import anything
The namespace of imported module becomes part of importing module
The identifiers in module are accessed directly as: identifier
Previous Question
Next Question
25
See Explanation !
5
Which of the following character is used to give comments in Python Program ?
पायथन प्रोग्राम में टिप्पणियां देने के लिए निम्नलिखित में से किस वर्ण का उपयोग किया जाता है?
#
&
@
$
Previous Question
Next Question
25
See Explanation !
6
Data Items having fixed value are called ______
निश्चित मूल्य वाले डेटा आइटम को ______ कहा जाता है।
Identifiers
Functions
keywords
Literals
Previous Question
Next Question
25
See Explanation !
7
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
8
Which of the following will return reverse string str1?
निम्नलिखित में से कौन रिवर्स स्ट्रिंग str1 लौटाएगा?
str1[ : : -1 ]
str1[ : : 1 ]
str1[ : -1 : -1 ]
None
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? print(10 * 2 + 5)
निम्नलिखित कोड आउटपुट क्या होगा? प्रिंट(10 * 2 5)
30
25
20
50
Previous Question
Next Question
25
See Explanation !
10
Which statement will open file data.txt in append mode?
कौन सा स्टेटमेंट data.txt फाइल को एपेंड मोड में खोलेगा?
f = open("data.txt", "a")
f = Open("data.txt", "ab")
f= new("data.txt", "a")
open("data.txt", "a")
Previous Question
Next Question
25
See Explanation !
11
How is a function declared in Python ?
पायथन में एक फ़ंक्शन कैसे घोषित किया जाता है?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Previous Question
Next Question
25
See Explanation !
12
The variables in a function definition are called as
फ़ंक्शन परिभाषा में वेरिएबल्स को कहा जाता है
Subroutines
Function
Function
Parameters
Previous Question
Next Question
25
See Explanation !
13
Python code can run on a variety of platforms, it means Python is a _____ language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक _____ भाषा है।
Graphical
Cross-Platform
Platform Dependent
All of these
Previous Question
Next Question
25
See Explanation !
14
How can we create on empty list in Python?
हम पायथन में खाली सूची पर कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
15
Which of the following is not Logical operator?
निम्नलिखित में से कौन सा लॉजिकल ऑपरेटर नहीं है?
and
or
not
Assignment
Previous Question
Next Question
25
See Explanation !
16
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 !
17
A natural number 1 is also an ____ .
एक प्राकृतिक संख्या 1 भी एक ____ है।
Factor
integer number
unique number
None of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? print('abcdef'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcdef '.partition (' cd '))
(‘ab’, ‘ef’)
(‘abef’)
(‘ab’, ‘cd’, ‘ef’)
2
Previous Question
Next Question
25
See Explanation !
19
which is a correct way to open a file in python
पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
file_object=open(file_name,mode)
open(file_object,file_name,mode)
file_open(file_object,file_name,mode)
file_object=file_open(file_name,mode)
Previous Question
Next Question
25
See Explanation !
20
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम _____ हैं।
Identifiers
Function
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
21
What signifies the end of a statement block or suite in Python ?
पायथन में स्टेटमेंट ब्लॉक या सुइट के अंत का क्या मतलब है?
A comment
}
end
A line that is indented less than the previous line
Previous Question
Next Question
25
See Explanation !
22
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?
मान लीजिए कि list1 [4, 2, 2, 4, 5, 2, 1, 0] है, स्लाइसिंग ऑपरेशन के लिए निम्नलिखित में से कौन सा वाक्यविन्यास सही है?
print(list1[0])
print(list1[:2])
print(list1[:-2])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
23
The function random.randint(4) can return only one of the following values. Which?
फ़ंक्शन random.randint (4) निम्न में से केवल एक वैल्यू रिटर्न कर सकता है। कौन से है ?
4
3.4
error
5
Previous Question
Next Question
25
See Explanation !
24
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question