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 is not an immutable type in Python ?
निम्नलिखित में से कौन पायथन में एक अपरिवर्तनीय प्रकार नहीं है?
String
Tuples
Set
None of these
Next Question
25
See Explanation !
2
Why does the name of local variables start with an underscore denote?
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
To identify the variable.
To identify the constant.
It indicates a public variable of a class.
Variables cannot be accessed from outside the class.
Previous Question
Next Question
25
See Explanation !
3
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी प्रारूप में पढ़ने और लिखने दोनों के लिए एक फ़ाइल खोलता है।
rb+
rb-
Wb
None
Previous Question
Next Question
25
See Explanation !
4
What happens if the base condition isn’t defined in recursive programs?
यदि रिकर्सिव फ़ंक्शन में बेस की कंडीशन को डिफाइन नहीं किया जाता है तो क्या होता है?
Program gets into an infinite loop
Program runs once
Program runs n number of times where n is the argument given to the function
An exception is thrown
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
6
Testing is known as
परीक्षण के रूप में जाना जाता है?
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of the above
Previous Question
Next Question
25
See Explanation !
7
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 !
8
The _____ symbol is used at the beginning of a flow chart.
फ्लो चार्ट की शुरुआत में _____ प्रतीक का उपयोग किया जाता है।
Oval or Pill Shape
Rectangle
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
9
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
10
A stores information in the form of a stream of ASCII or unicode characters i.e. human readable.
एक सूचन को मानव पठनीय अर्थात ASCII या यूनिकोड वर्णों की एक स्ट्रीम के रूप में संग्रहीत करती है।
Text file
Binary file
Both (A) and (B)
None of these
Previous Question
Next Question
25
See Explanation !
11
What is the length of sys.argv?
Sys.argv की लेंथ क्या है?
number of arguments
number of arguments + 1
number of arguments – 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
Numpy was developed by___ .
Numpy को ___ द्वारा विकसित किया गया था।
Guido van Rosum
Travis Oliphant
Wes McKinney
Jim Hugunin
Previous Question
Next Question
25
See Explanation !
13
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?
मान लीजिए list1 [2, 33, 222, 14, 25] है, list1 [-1] क्या है?
Error
None
25
2
Previous Question
Next Question
25
See Explanation !
14
Which of the following statement(s) will terminate the whole loop and proceed to the statement following the loop ?
निम्नलिखित में से कौन सा कथन पूरे लूप को समाप्त कर देगा और लूप के बाद के कथन पर आगे बढ़ेगा?
pass
break
continue
goto
Previous Question
Next Question
25
See Explanation !
15
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
16
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following code ? st='abcdefg' print(st[2:5])
निम्नलिखित कोड का आउटपुट क्या होगा? st='abcdefg' प्रिंट(st[2:5])
'cde'
'abc'
'efg'
None of these
Previous Question
Next Question
25
See Explanation !
18
What does pip stand for python?
पिप का मतलब पाइथॉन क्या है?
unlimited length
all private members must have leading and trailing underscores
Preferred Installer Program
None of the above
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
Debugging is the process of fixing a______in the software.
डिबगिंग सॉफ्टवेयर में ______ को ठीक करने की प्रक्रिया है।
procedure
function
bug
None of these
Previous Question
Next Question
25
See Explanation !
21
Which of these about a set is not true?
इनमें से कौन सा एक सेट के बारे में सही नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
22
What is the output of the following program: print ("Hello World"[::-1])
निम्नलिखित प्रोग्राम का आउटपुट क्या है: PRINT (" Hello World "[::-1])
dlroW olleH
Hello Worl
D
error
Previous Question
Next Question
25
See Explanation !
23
This imports * statement import all in the modules except those beginning with ____ .
यह imports * स्टेटमेन्ट मॉड्यूल में सभी नामों को इंपोर्ट करता है जो .......से शुरुआत करते हैं।
-
&
%
None of the above
Previous Question
Next Question
25
See Explanation !
24
What will the following code output? print(‘\\n’)
निम्नलिखित कोड आउटपुट क्या होगा? print ('\\n ')
\\n
\n
New line
Error
Previous Question
Next Question
25
See Explanation !
25
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question