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
Given a string s="Welcome", which of the following code is incorrect ?
एक स्ट्रिंग s="Welcome" दी गई है, निम्नलिखित में से कौन सा कोड गलत है?
print s[0]
print s.lower()
s[1]='r'
print s.strip()
Next Question
25
See Explanation !
2
Which function is used to get the number of elements in a NumPy array?
NumPy सरणी में तत्वों की संख्या प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
len(array)
array.length()
array.size
count(array)
Previous Question
Next Question
25
See Explanation !
3
Which of these about a frozenset is not true?
फ्रोजेनसेट के बारे में इनमें से कौन सा सच नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following ? import numpy as np a = np.arange(5,1) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(5,1) print(a)
[ ]
[1 2 3 4 5]
[5 4 3 2 1]
[1 2 3 4]
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? a=["Apple","Ball","Cobra"] a.sort(key=len) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=["Apple","Ball","Cobra"] a.sort(key=len) print(a)
[‘Apple’, ‘Ball’, ‘Cobra’]
[‘Ball’, ‘Apple’, ‘Cobra’]
[‘Cobra’, ‘Apple’, ‘Ball’]
Invalid syntax for sort()
Previous Question
Next Question
25
See Explanation !
6
NumPy arrays used over lists because
NumPy ऐरे का उपयोग लिस्ट पर किया जाता है क्योंकि
NumPy arrays have contiguous memory location
They are more speedy to work with
They are more convenient to deal with
All of the above
Previous Question
Next Question
25
See Explanation !
7
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python statement? print(ord('b') - ord('a'))
निम्नलिखित पायथन कथन का आउटपुट क्या होगा? print(ord (' b ') - ord(' a '))
0
1
-1
2
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? a=55 | b=55 | print( a is not b)
निम्नलिखित कोड आउटपुट क्या होगा? a=55 | b=55 | print( a b नहीं है)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
10
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
not
%
and
+
Previous Question
Next Question
25
See Explanation !
11
What is the output of the following y='klmn' for i in range(len(y)): print(y)
निम्नलिखित कोड का परिणाम क्या है ? y='klmn' for i in range(len(y)): print(y)
klmn klmn klmn klmn
k
kkk
None of the these
Previous Question
Next Question
25
See Explanation !
12
Which of the following is incorrect regarding variables in Python?
पायथन में चर के संबंध में निम्नलिखित में से कौन सा गलत है?
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Variable names can start with an underscore.
Data type of variable names should not be declared.
None of the above.
Previous Question
Next Question
25
See Explanation !
13
n the Python statement x =a + 5 - b : a + 5 - b is
n पायथन कथन x =a 5 - b : a 5 - b है
Operands
Expression
operators
Equation
Previous Question
Next Question
25
See Explanation !
14
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम _____ के रूप में जाना जाता है।
An Algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
15
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
16
Diagram that represents steps or operations involved in any kind of process is called
आरेख जो किसी भी प्रकार की प्रक्रिया में शामिल चरणों या संचालन का प्रतिनिधित्व करता है, को कहा जाता है
System diagram
Management hierarchy
Flowcharts
Convenience diagrams
Previous Question
Next Question
25
See Explanation !
17
What is the purpose of the in operator in Python?
पायथन में इन ऑपरेटर का उद्देश्य क्या है?
Checks if an element exists within a sequence.
Checks for inequality between two variables.
Checks if two variables refer to the same object.
Checks the length of a sequence.
Previous Question
Next Question
25
See Explanation !
18
The Compexity of linear search algorithm is
रैखिक खोज एल्गोरिथ्म की संयोजकता है
O(n)
O (log n)
O(n2)
O (n log n)
Previous Question
Next Question
25
See Explanation !
19
Which of the following functions is not defined under the sys module?
निम्नलिखित फंक्शंस में से कौन सी sys मॉड्यूल के अंडर डिफाइन नहीं है?
sys.platform
sys.path
sys.readline
sys.argv
Previous Question
Next Question
25
See Explanation !
20
what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा
12.5
8
9.8
9
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} for i in a: print(i,end=" ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i in a: print(i,end=" ")
1 2 3
‘A’ ‘B’ ‘C’
1 ‘A’ 2 ‘B’ 3 ‘C’
Error, it should be: for i in a.items():
Previous Question
Next Question
25
See Explanation !
22
What is standard module in Python?
पायथन में मानक मॉड्यूल क्या है?
It can not be imported the same way as we import our user-defined modules.
It can be imported the same way as we import our user-defined modules,
Both
None of the above
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? len(["hello",2, 4, 6])
Error
6
4
3
Previous Question
Next Question
25
See Explanation !
24
The offset of the local DST time zone.
स्थानीय डीएसटी समय क्षेत्र का ऑफसेट।
Time.altzone
alt.Timezone
zone.altTime
None
Previous Question
Next Question
25
See Explanation !
25
Which of the following is a Python tuple?
निम्नलिखित में से कौन एक Python tuple है?
[1, 2, 3]
(1, 2, 3)
{1, 2, 3}
{}
Previous Question