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 will be the output of the following ? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
[ 2 4 3 5]
[ 6 20]
[ 6 12 10 20]
26
Next Question
25
See Explanation !
2
What will be the output of following code? print(“5”+5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(" 5 "5)
55
10
5
Type Error
Previous Question
Next Question
25
See Explanation !
3
____ operator repeats a list for the given number of items.
____ ऑपरेटर दिए गए आइटम की संख्या के लिए एक सूची दोहराता है।
*
+
&
None of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print(''.isdigit())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?print(''.isdigit ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? print('ab'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('ab'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? print("ccdcddcd".find("c"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("ccdcddcd ".find (" c "))
4
0
Error
True
Previous Question
Next Question
25
See Explanation !
7
Function range(0, 5, 2) will yield on iterable sequence like
फंक्शन रेंज(0, 5, 2) पुनरावर्तनीय अनुक्रम पर प्राप्त होगी जैसे
[0, 2, 4]
[1, 3, 5]
[0, 1, 2, 5]
[0, 5, 2]
Previous Question
Next Question
25
See Explanation !
8
_____ help programmers to create lists in a concise way.
_____ प्रोग्रामर को संक्षिप्त तरीके से सूचियाँ बनाने में मदद करें।
Tuple
Dictionary
List Comprehensions
None of these
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
1 A 2 B 3 C
1 2 3
A B C
1:”A” 2:”B” 3:”C”
Previous Question
Next Question
25
See Explanation !
10
Python is a/an _________ language.
पायथन एक _________ भाषा है।
High Level
Low Level
Procedural
Difficult
Previous Question
Next Question
25
See Explanation !
11
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 !
12
The ____________ function removes the first element of a set and the last element of a list.
____________ फ़ंक्शन सेट का फर्स्ट एलिमेंट् और किसी लिस्ट का लास्ट एलिमेंट निकालता है।
remove
pop
discard
dispose
Previous Question
Next Question
25
See Explanation !
13
What does readlines() method return ?
Readlines() विधि क्या लौटाती है?
Dictionary
String
Tuple
List
Previous Question
Next Question
25
See Explanation !
14
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
Next Question
25
See Explanation !
15
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a 5 - b : a और b हैं
Operands
Expression
operators
Equation
Previous Question
Next Question
25
See Explanation !
16
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर एक वैकल्पिक मॉड्यूल खोज पथ है?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
17
The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?
ndarray
narray
nd_array
darray
Previous Question
Next Question
25
See Explanation !
18
Which of the following is a membership operator in Python?
निम्नलिखित में से कौन पायथन में एक सदस्यता ऑपरेटर है?
is
in
on
at
Previous Question
Next Question
25
See Explanation !
19
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
.......... निर्माण किसी स्थिति के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
20
Which is Special type of literal in Python
जो पायथन में विशेष प्रकार का शाब्दिक है
Integer
Complex Number
None
String
Previous Question
Next Question
25
See Explanation !
21
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday.weekday())
यदि सिस्टम दिनांक 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.weekday())
6
1
0
7
Previous Question
Next Question
25
See Explanation !
23
What does the is keyword do in Python?
पायथन में कीवर्ड क्या करता है?
Checks if two variables have the same value.
Checks if two variables refer to the same object in memory.
Assigns a value to a variable.
None of the above
Previous Question
Next Question
25
See Explanation !
24
What is Full form of LEGB ?
LEGB का फुल फॉर्म क्या है?
Low, Enclosing, Global and Built-in
Local, Enclosing, Global and Built-in
Local, Ending, Global and Built-in
Light, Emitting, Global and Built-in
Previous Question
Next Question
25
See Explanation !
25
What does the // operator do in Python?
// ऑपरेटर पायथन में क्या करता है?
Performs integer division and returns the integer part.
Performs normal division and returns a float.
Performs modulus operation.
Performs exponential calculation.
Previous Question