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
What is an algorithm
एल्गोरिथ्म क्या है
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
Next Question
25
See Explanation !
2
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Getting and setting the value of individual array elements:
पर्टिकुलर ऐरे एलिमेंट का मान प्राप्त करना और सेट करना
Indexing
Slicing
Reshaping
None of the above
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What is a correct syntax to create a NumPy array?
NumPy array बनाने के लिए सही सिंटैक्स क्या है?
np.array([4,5,6])
np.create_array([4,5,6])
np.createArray([4,5,6])
np.numpyArray([4,5,6])
Previous Question
Next Question
25
See Explanation !
7
which of the following will read entire content of file (file object 'f')?
निम्नलिखित में से कौन फ़ाइल (file object 'f') की संपूर्ण सामग्री को पढ़ेगा ?
f.reads()
f.read()
f.read(all)
f.read( *)
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following code? import numpy as np a=np.array([1,2,3]) print(a.ndim)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3]) print(a.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
10
A Python module is a file with the __________ file extension that contains valid Python code.
एक पायथन मॉड्यूल __________ फाइल एक्सटेंशन वाली एक फाइल है जिसमें वैध पायथन कोड होता है।
.pym
.pymodule
module
.py
Previous Question
Next Question
25
See Explanation !
11
Which inbuilt function is used to takes an iterable object as input and makes them immutable.
कौन सा इनबिल्ट फ़ंक्शन एक पुनरावर्तनीय वस्तु को इनपुट के रूप में लेने के लिए उपयोग किया जाता है और उन्हें अपरिवर्तनीय बनाता है।
frozenset()
obj()
input()
None of these
Previous Question
Next Question
25
See Explanation !
12
What is tail recursion?
टेल रिकर्शन क्या है?
A recursive function that has two base cases
A function where the recursive functions leads to an infinite loop
A recursive function where the function doesn’t return anything and just prints the values
A function where the recursive call is the last thing executed by the function
Previous Question
Next Question
25
See Explanation !
13
Which of the following is not valid Python identifiers?
निम्नलिखित में से कौन पायथन पहचानकर्ता मान्य नहीं है?
email
ca$h
marks10
Python2Shar
Previous Question
Next Question
25
See Explanation !
14
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using:
मान लीजिए कि नाम arr के साथ एक सूची है, जिसमें 5 तत्व हैं। आप निम्न का उपयोग करके सूची से दूसरा तत्व प्राप्त कर सकते हैं:
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
15
What is mean by dynamically typed language
गतिशील रूप से टाइप की गई भाषा का क्या मतलब है
A variable can store any datatype type of value
A variable can store only numeric value
A variable can store only one type of value
A value of a variable is change each type when it run
Previous Question
Next Question
25
See Explanation !
16
Which of the following is used to find the largest element in numpy array
नमपाई ऐरे में सबसे बड़े डाटा को खोजने के लिए निम्नलिखित में से किसका उपयोग किया जाता है
numpy.maximum()
numpy.arraymax()
numpy.amax()
numpy.big()
Previous Question
Next Question
25
See Explanation !
17
In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?
k^1
k**1
k^ ^1
k^*1
Previous Question
Next Question
25
See Explanation !
18
Which keyword is used to remove individual items or the entire dictionary itself.
अलग - अलग आइटम या पूरे शब्दकोश को हटाने के लिए किस कीवर्ड का उपयोग किया जाता है।
del
remove
removeAll
None of these
Previous Question
Next Question
25
See Explanation !
19
Which of the following functions can be used to find the coordinated universal time, assuming that the datetime module has already been imported?
निम्नलिखित कार्यों में से किसको कोआर्डिनेट यूनिवर्सल समय का पता लगाने के लिए यूज़ किया जा सकता है, यह मानते हुए कि डेटाइम मॉड्यूल पहले ही इम्पोर्ट किया जा चुका है?
datetime.utc()
datetime.datetime.utc()
datetime.utcnow()
datetime.datetime.utcnow()
Previous Question
Next Question
25
See Explanation !
20
Select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
21
Which of the following statements are used in Exception Handling in Python?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन सा कथन उपयोग किया जाता है?
try
except
finally
All of the above
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
1
A
4
Invalid syntax for get method
Previous Question
Next Question
25
See Explanation !
23
Which of the following is a mapping datatype?
निम्नलिखित में से कौन एक मैपिंग डेटाटाइप है?
String
List
Tuple
Dictionary
Previous Question
Next Question
25
See Explanation !
24
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
25
What is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Previous Question