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 words is not a keyword of python language?
निम्नलिखित में से कौन सा शब्द अजगर भाषा का कीवर्ड नहीं है?
val
raise
try
with
Next Question
25
See Explanation !
2
What will be the output of the following Python code? matrix = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? मैट्रिक्स = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
1 2 3 4
4 5 6 7
1 3 8 12
2 5 9 13
Previous Question
Next Question
25
See Explanation !
3
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of following? Y=[2,5J,6] Y.sort()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? Y=[2,5J,6] Y.sort()
[2,6,5J]
[5J,2,6]
Error
[6,5J,2]
Previous Question
Next Question
25
See Explanation !
5
The graphical representation of algorithm is
एल्गोरिथ्म का ग्राफिकल प्रतिनिधित्व है
program
Flowchart
statement
Algorithm
Previous Question
Next Question
25
See Explanation !
6
Which of the following is a membership operator in Python?
निम्नलिखित में से कौन पायथन में एक सदस्यता ऑपरेटर है?
is
in
on
at
Previous Question
Next Question
25
See Explanation !
7
What will be output for the following code? import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
8
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? a=5;b=7 b=a print(a,” ”,b)
निम्नलिखित कोड क्या आउटपुट देगा? a=5;b=7 b=a print(a,” ”,b)
5 7
7 5
5 5
7 7
Previous Question
Next Question
25
See Explanation !
10
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 !
11
In a flowchart an input or output instruction is represented by
फ्लोचार्ट में एक इनपुट या आउटपुट निर्देश का प्रतिनिधित्व किसके द्वारा किया जाता है
A rectangle
A rhombus
A parallelogram
A circle
Previous Question
Next Question
25
See Explanation !
12
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन एक वैध पायथन टोकन नहीं है?
Keywords
Identifiers
Operators
Statements
Previous Question
Next Question
25
See Explanation !
13
How we can convert the Numpy array to the list in python?
हम पायथन में Numpy सरणी को सूची में कैसे परिवर्तित कर सकते हैं?
list(array)
list.array
array.list
None of these
Previous Question
Next Question
25
See Explanation !
14
Which symbol is used as a flowline to connect two blocks in a flow chart?
फ्लो चार्ट में दो ब्लॉक को जोड़ने के लिए फ्लोलाइन के रूप में किस प्रतीक का उपयोग किया जाता है?
arrow
circle
box
parallelogram
Previous Question
Next Question
25
See Explanation !
15
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 !
16
Which term describes a loop that continues repeating without a terminating (ending) condition ?
कौन सा शब्द एक लूप का वर्णन करता है जो बिना किसी समाप्ति (समाप्त) स्थिति के दोहराना जारी रखता है?
Infinite Loop
conditional loop
unlimited loop
None of these
Previous Question
Next Question
25
See Explanation !
17
What is the output of this code? print(bool(0))
इस कोड का आउटपुट क्या है? print(bool(0))
True
False
0
Error
Previous Question
Next Question
25
See Explanation !
18
When we open file in append mode the file pointer is at the ______ of the file.
जब हम अपेंड मोड में फाइल खोलते हैं तो फाइल पॉइंटर फाइल के _____ पर होता है।
end
beginning
anywhere in between the file
None of the above
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print('xyyzxxyxyy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyyzxxyxyy '.lstrip (' xyy '))
error
zxxyxyy
z
zxxy
Previous Question
Next Question
25
See Explanation !
20
What is the output when we execute list(“hello”)?
जब हम सूची(" नमस्ते ") निष्पादित करते हैं तो आउटपुट क्या होता है?
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
[‘hello’]
[‘llo’]
[‘olleh’]
Previous Question
Next Question
25
See Explanation !
21
_______ are user Define name
_______ उपयोगकर्ता हैं नाम को परिभाषित करें
Identifiers
constant
syntax
expression
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following ? import numpy as np a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]]) print(a[2,2])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]]) print(a[2,2])
7
11
10
8
Previous Question
Next Question
25
See Explanation !
23
To remove string "hello" from list1, we use which command ?
List1 से स्ट्रिंग "hello" हटाने के लिए, हम किस कमांड का उपयोग करते हैं?
list1.remove("hello")
list1.remove(hello)
list1.removeAll("hello")
list1.removeOne ("hello")
Previous Question
Next Question
25
See Explanation !
24
In a flow chart, which of the following is used to test the condition ?
फ्लो चार्ट में, स्थिति का परीक्षण करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Terminal
Process
Input/Output
Decision
Previous Question
Next Question
25
See Explanation !
25
Which of the following defines what an object can do?
निम्नलिखित में से कौन परिभाषित करता है कि कोई वस्तु क्या कर सकती है?
Operating System
Compiler
Interface
None of these
Previous Question