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 a unit of code that is often defined within a greater code structure?
निम्नलिखित में से कौन सी कोड की वह इकाई है जिसे अक्सर एक बड़ी कोड संरचना के भीतर परिभाषित किया जाता है?
Subroutines
Function
Files
Modules
Next Question
25
See Explanation !
2
What will be the output of the following Python code? string = "my name is x" for i in string.split(): print (i, end=", ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? string = "my name is x" for i in string.split(): print (i, end=", ")
m, y, , n, a, m, e, , i, s, , x,
m, y, , n, a, m, e, , i, s, , x
my, name, is, x,
error
Previous Question
Next Question
25
See Explanation !
3
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
4
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
5
range(3) in Python is equivalent to:
पायथन में range(3) के बराबर है:
range(0,3,1)
range(1,4,1)
range(1,3)
range(1,3,0)
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following? n=5 while n>0: n-=1 if n==2: continue print(n,end=' ')
निम्नलिखित का आउटपुट क्या है? n=5 while n>0: n-=1 if n==2: continue print(n,end=' ')
5 4 3 1 0
4 3 1 0
4 3 2
none of these
Previous Question
Next Question
25
See Explanation !
7
What is list data type in python?
अजगर में सूची डेटा प्रकार क्या है?
collection of integer number
collection of string
collection of same data type
collection of different data type
Previous Question
Next Question
25
See Explanation !
8
The part of a machine level instruction, which tells the central processor what has to be done, is
मशीन स्तर के निर्देश का हिस्सा, जो केंद्रीय प्रोसेसर को बताता है कि क्या करना है, है
An operation code
An address
An operand
None of the above
Previous Question
Next Question
25
See Explanation !
9
Which of these is not a core data type ?
इनमें से कौन सा मुख्य डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
10
_____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 !
11
The graphical representation of algorithm is
एल्गोरिथ्म का ग्राफिकल प्रतिनिधित्व है
program
Flowchart
statement
Algorithm
Previous Question
Next Question
25
See Explanation !
12
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 !
13
What will be the output of the following Python code snippet? print('a@ 1,'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' a@ 1,'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
14
Which of the following statement will be true?
निम्नलिखित में से कौन सा कथन सत्य होगा?
It is mandatory to have_main_function in python.
It is not mandatory to have _main_function in python.
It is mandatory to have any function in python.
None of the above
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित कोड का परिणाम क्या है ? example = "helle" print(example.rfind("e"))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', 0))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', 0))
[‘abcdefcdghcd’]
‘abcdefcdghcd’
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Previous Question
Next Question
25
See Explanation !
18
What is called when a function is defined inside a class?
जब किसी फ़ंक्शन को क्लास के अंदर परिभाषित किया जाता है तो उसे क्या कहा जाता है?
Module
Class
Another function
Method
Previous Question
Next Question
25
See Explanation !
19
This imports * statement import all in the modules except those beginning with ____ .
यह imports * स्टेटमेन्ट मॉड्यूल में सभी नामों को इंपोर्ट करता है जो .......से शुरुआत करते हैं।
-
&
%
None of the above
Previous Question
Next Question
25
See Explanation !
20
Every function has an implicit statement _____ as the last instruction in the function body.
फ़ंक्शन बॉडी में अंतिम निर्देश के रूप में प्रत्येक फ़ंक्शन का एक अंतर्निहित कथन _____ होता है।
Return
pass
for
None of these
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code snippet? print('Hello World'.istitle())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Hello World '.istitle ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी प्रारूप में पढ़ने और लिखने दोनों के लिए एक फ़ाइल खोलता है।
rb+
rb-
Wb
None
Previous Question
Next Question
25
See Explanation !
24
Which one of the following is not a python's predefined data type?
निम्नलिखित में से कौन सा अजगर का पूर्वनिर्धारित डेटा प्रकार नहीं है?
Class
List
Dictionary
Tuple
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? def foo(k): k[0] = 1 q = [0] foo(q) print(q)
निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? def foo(k): k[0] = 1 q = [0] foo(q) print(q)
[0]
[1]
[1, 0]
[0, 1]
Previous Question