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
When we open file in append mode the file pointer is at the of the file?
जब हम फाइल को एपेंड मोड में खोलते हैं तो फाइल पॉइंटर फाइल के ____ पर होता है?
anywhere in between the file
End
beginning
second line of the file
Next Question
25
See Explanation !
2
NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है
Indexed
Sliced
Iterated
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
3
____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-
True
false
ValueError occurs
TypeError occurs
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? a=[(2,4),(1,2),(3,9)] a.sort() print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a =[(2,4),(1,2),(3,9)] a.sort() print(a)
[(1, 2), (2, 4), (3, 9)]
[(2,4),(1,2),(3,9)]
Error because tuples are immutable
Error, tuple has no sort attribute
Previous Question
Next Question
25
See Explanation !
5
This symbol is used to print more than one item on a single line.
इस सिंबल का इस्तेमाल एक ही लाइन में एक से ज़्यादा आइटम प्रिंट करने के लिए किया जाता है।
Semicolon(;)
Dollor($)
comma(,)
Colon(:)
Previous Question
Next Question
25
See Explanation !
6
What is a Python dictionary?
पायथन शब्दकोश क्या है?
A collection of ordered and mutable data
A collection of unordered and mutable data with key-value pairs
A collection of immutable key-value pairs
A collection of values only
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code if the system date is 18th August, 2016? import datetime d=datetime.date.today() print(d.month)
यदि सिस्टम की तारीख 18 अगस्त, 2016 है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime d= datetime.date.today () print(d.month)
August
Aug
08
8
Previous Question
Next Question
25
See Explanation !
8
Which of these is the definition for packages in Python?
पायथन में पैकेजों की परिभाषा इनमें से कौन सी है?
A set of main modules.
A folder of python modules
A number of files containing Python definitions and statements.
A set of programs making use of Python modules.
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? print(max("what are you"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(max("what are you"))
error
u
t
y
Previous Question
Next Question
25
See Explanation !
10
Which one is not a looping structure available in python.
पायथन में कौन सी लूपिंग स्ट्रक्चर अवेलबल नहीं है?
while loop
for loop
do while loop
all of these
Previous Question
Next Question
25
See Explanation !
11
What will be the output of this code? print(2 ** 3)
इस कोड का आउटपुट क्या होगा? print(2 ** 3)
6
8
9
11
Previous Question
Next Question
25
See Explanation !
12
Regarding creating ndarray, choose the build in functions in numpy.
Ndarray बनाने के संबंध में, numpy में बिल्ड इन फ़ंक्शंस चुनें।
np.array()
np.zeros()
np.empty()
All of the above
Previous Question
Next Question
25
See Explanation !
13
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लीजिए कि t=(1,2,4,3), निम्नलिखित में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
14
The _____ function reads a line entered on a console by an input device such as a keyboard and convert it into a string and returns it.
_____ फ़ंक्शन एक इनपुट डिवाइस जैसे कि कीबोर्ड द्वारा कंसोल पर दर्ज की गई एक पंक्ति को पढ़ता है और इसे एक स्ट्रिंग में परिवर्तित करता है और इसे वापस करता है।
raw_input
input()
eval
accep
Previous Question
Next Question
25
See Explanation !
15
Which module in Python supports regular expressions?
पायथन में कौन सा मॉड्यूल रेगुलर एक्सप्रेशन का समर्थन करता है?
re
regex
pyregex
none of the mentioned
Previous Question
Next Question
25
See Explanation !
16
_____method calls the built-in Python help system.
_____विधि अंतर्निहित पायथन सहायता प्रणाली को बुलाती है।
python.help ()
help()
help.python()
None of the Above
Previous Question
Next Question
25
See Explanation !
17
Write the list comprehension to pick out only negative integers from a given list ‘l’.
दी गई लिस्ट। L ’से केवल नेगटिव इन्टिजर निकालने के लिए लिस्ट की समझ लिखें।
[x<0 in l]
[x for x<0 in l]
[x in l for x<0]
[x for x in l if x<0]
Previous Question
Next Question
25
See Explanation !
18
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन सा प्रोग्रामिंग कोड लाइन दर लाइन निष्पादित करता है?
Compiler
Interpreter
Executer
Translator
Previous Question
Next Question
25
See Explanation !
19
Which operator is used in Python to import modules from packages?
पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है?
.
*
->
&
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What will be the output of the following Python code? print('abcd'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcd '.partition (' cd '))
(‘ab’, ‘cd’, ”)
(‘ab’, ‘cd’)
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
22
Which of the following methods is used to check if a string starts with a specific prefix?
निम्नलिखित में से किस विधि का उपयोग यह जांचने के लिए किया जाता है कि कोई स्ट्रिंग किसी विशिष्ट उपसर्ग से शुरू होती है या नहीं?
startswith()
startswith_prefix()
startswithwith()
startswiths()
Previous Question
Next Question
25
See Explanation !
23
What is the output of following Python code? >>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है? >>print(5*(2//3))
3
3.3
0
error
Previous Question
Next Question
25
See Explanation !
24
The brain of computer system is
कंप्यूटर सिस्टम का मस्तिष्क है
RAM
CPU
ROM
Control Unit
Previous Question
Next Question
25
See Explanation !
25
What is the order of namespaces in which Python looks for an identifier?
नामस्थानों का क्रम क्या है जिसमें पायथन एक पहचानकर्ता की तलाश करता है?
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
Python first searches the local namespace, then the global namespace and finally the built-in namespace
Python first searches the global namespace, then the local namespace and finally the built-in namespace
Previous Question