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
Which of the following statements is false about recursion?
निम्नलिखित में से कौन सा स्टेट्मेंट रिकर्शन के बारे में गलत है?
Every recursive function must have a base case
Infinite recursion can occur if the base case isn’t properly mentioned
A recursive function makes the code easier to understand
Every recursive function must have a return value
Next Question
25
See Explanation !
2
which is a correct way to open a file in python
पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
file_object=open(file_name,mode)
open(file_object,file_name,mode)
file_open(file_object,file_name,mode)
file_object=file_open(file_name,mode)
Previous Question
Next Question
25
See Explanation !
3
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 !
4
A sentinel-controlled loop can be implemented using _____
_____ का उपयोग करके एक प्रहरी - नियंत्रित लूप को लागू किया जा सकता है।
if
for
Both of the above
None
Previous Question
Next Question
25
See Explanation !
5
What does the following code print ? x = 'mohan' for i in range (len(x)): x[i].upper() print (x)
निम्नलिखित कोड क्या प्रिंट करता है? x = 'mohan' for i in range (len(x)): x[i].upper() print (x)
mohan
MOHAN
Error
None of These
Previous Question
Next Question
25
See Explanation !
6
Leading white space at the beginning of each element, which is used to determine the group of statement
प्रत्येक तत्व की शुरुआत में अग्रणी सफेद स्थान, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
7
Which of the following functions helps us to randomize the items of a list?
निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
seed
randomise
shuffle
uniform
Previous Question
Next Question
25
See Explanation !
8
Which symbol is used to write single line comment?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
*
#
/
?
Previous Question
Next Question
25
See Explanation !
9
Which of the following is a mapping datatype?
निम्नलिखित में से कौन एक मैपिंग डेटाटाइप है?
String
List
Tuple
Dictionary
Previous Question
Next Question
25
See Explanation !
10
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?
65536
33
169
None of the above
Previous Question
Next Question
25
See Explanation !
11
Which of the following isn’t true about dictionary keys?
निम्नलिखित में से कौन ड़िक्शनरी keys के बारे में सही नहीं है?
More than one key isn’t allowed
Keys must be immutable
Keys must be integers
When duplicate keys encountered, the last assignment wins
Previous Question
Next Question
25
See Explanation !
12
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Previous Question
Next Question
25
See Explanation !
13
_____is a Pandas function for loading CSV files into Dataframe.
_____ CSV फ़ाइलों को डेटाफ़्रेम में लोड करने के लिए एक पांडा फ़ंक्शन है।
read_csv()
csv_read()
csv.write()
None of these
Previous Question
Next Question
25
See Explanation !
14
Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?
or
equal
and
not
Previous Question
Next Question
25
See Explanation !
15
What will the following code output? print(‘\\n’)
निम्नलिखित कोड आउटपुट क्या होगा? print ('\\n ')
\\n
\n
New line
Error
Previous Question
Next Question
25
See Explanation !
16
What is the use of the zeros function in Numpy array in python?
अजगर में Numpy सरणी में शून्य फ़ंक्शन का क्या उपयोग है?
To make a Matrix with all element 0
To make a Matrix with all diagonal element
To make a Matrix with first Row 0
None of these
Previous Question
Next Question
25
See Explanation !
17
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
18
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन दुभाषिया को बताता है कि किसी प्रोग्राम में आयात की गई मॉड्यूल फ़ाइलों का पता कहां लगाया जाए?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
19
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
20
What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
10
9
7
6
Previous Question
Next Question
25
See Explanation !
21
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 !
22
What is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Previous Question
Next Question
25
See Explanation !
23
What happens if a local variable exists with the same name as the global variable you want to access?
यदि कोई लोकल वैरिएबल वैसा ही नाम के साथ मौजूद है जैसा कि ग्लोबल वैरिएबल जिसे आप एक्सेस करना चाहते हैं?
Error
The local variable is shadowed
Undefined behavior
The global variable is shadowed
Previous Question
Next Question
25
See Explanation !
24
Special meaning words of Pythons, fixed for specific functionality are called ___
विशिष्ट कार्यक्षमता के लिए तय किए गए पायथन के विशेष अर्थ वाले शब्दों को ___ कहा जाता है।
Identifiers
Functions
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
25
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी प्रारूप में पढ़ने और लिखने दोनों के लिए एक फ़ाइल खोलता है।
rb+
rb-
Wb
None
Previous Question