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 is not an immutable type in Python ?
निम्नलिखित में से कौन पायथन में एक अपरिवर्तनीय प्रकार नहीं है?
String
Tuples
Set
None of these
Next Question
25
See Explanation !
2
____ are the arguments passed to a function in correct positional order.
सही स्थिति क्रम में किसी फंक्शन को दिए गए आर्गुमेन्ट हैं।
Required arguments
Keyword arguments
Default arguments
Variable-length arguments
Previous Question
Next Question
25
See Explanation !
3
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 !
4
What will be the output of the following ? import math print(math.fact(5))
निम्नलिखित का आउटपुट क्या होगा? import math print(math.fact(5))
120
25
1,2,3,4,5
Error
Previous Question
Next Question
25
See Explanation !
5
Which of these is the definition for packages in Python?
पायथन में पैकेजों की परिभाषा इनमें से कौन सी है?
A set of main modules.
A folder of python modules
A number of files containing Python definitions and statements.
A set of programs making use of Python modules.
Previous Question
Next Question
25
See Explanation !
6
The function which reads one line from standards input and returns it as a string (removing the trailing newline)
वह फंक्शन जो स्टैण्डर्ड इनपुट से एक पंक्ति रीड करता है और इसे स्ट्रिंग के रूप में लौटाता है (ट्रेलिंग न्यूलाइन को हटाते हुए)
raw_input
input
eval
accept
Previous Question
Next Question
25
See Explanation !
7
Each line of a text file is terminated by a special character, called the ___
टेक्स्ट फाइल की प्रत्येक पंक्ति को एक विशेष कैरेक्टर द्वारा समाप्त किया जाता है, जिसे ____ कहा जाता है।
End of File
End of Line
End of Statement
End of program
Previous Question
Next Question
25
See Explanation !
8
Which of the following is the correct way to check if a value exists in a list?
किसी लिस्ट में कोई मान मौजूद है या नहीं इसकी जाँच करने का निम्नलिखित में से कौन सा सही तरीका है?
list.contains(value)
list.index(value)
list.contains(value)
value in list
Previous Question
Next Question
25
See Explanation !
9
which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.float([1,2,3,4])
arr=np.array([1,2,3,4]).toFloat()
arr=np.array([1,2,3,4],dtype='float')
arr=np.farray([1,2,3,4])
Previous Question
Next Question
25
See Explanation !
10
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा प्रोग्राम को निर्देशों के एक सेट में परिवर्तित करता है जो कंप्यूटर पर चल सकता है उसे एक कहा जाता है
Compiler
Debugger
Editor
None of the above
Previous Question
Next Question
25
See Explanation !
11
Which file extension is used to save Python files?
पायथन फ़ाइलों को सहेजने के लिए किस फ़ाइल एक्सटेंशन का उपयोग किया जाता है?
.py
.python
.pt
.pyt
Previous Question
Next Question
25
See Explanation !
12
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
13
Which one of the following is inmmutable data type?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dict
Previous Question
Next Question
25
See Explanation !
14
is used for data analysis and manipulations in tabular data in Python.
पायथन में सारणीबद्ध डेटा में डेटा विश्लेषण और हेरफेर के लिए उपयोग किया जाता है।
Pandas
circle
rhombus
block
Previous Question
Next Question
25
See Explanation !
15
Which type of elements are accepted by random.shuffle()?
किस प्रकार के एलिमेंट्स को random.shuffle () द्वारा एक्सेप्ट किया जाता है?
strings
lists
tuples
integers
Previous Question
Next Question
25
See Explanation !
16
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? for i in range(int(2.0)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(int(2.0)): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
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 !
19
Function range(3) will yield an iteratable sequence like
फंक्शन रेंज(3) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[0, 1, 2]
[0, 1, 2, 3]
[1, 2, 3]
[0, 2]
Previous Question
Next Question
25
See Explanation !
20
What is the data type of (1)?
(1) का डेटा प्रकार क्या है?
Tuple
Integer
List
Both tuple and integer
Previous Question
Next Question
25
See Explanation !
21
What will the following code output? a=555 b=55 print( b in a)
निम्नलिखित कोड क्या आउटपुट देगा? a=555 b=55 print( b in a)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
22
What is the output of : print(2*3**3*4)
इसका आउटपुट क्या है: print(2*3**3*4)
211
216
1024
512
Previous Question
Next Question
25
See Explanation !
23
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 !
24
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', 2))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', 2))
[‘ab’, ‘ef’, ‘ghcd’]
[‘ab’, ‘efcdghcd’]
[‘abcdef’, ‘ghcd’]
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question