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
All instructions are executed one after other.
सभी निर्देशों को एक के बाद एक निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Next Question
25
See Explanation !
2
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
-9
9
6
-6
Previous Question
Next Question
25
See Explanation !
3
____ keyword used for function in python
पायथन में फ़ंक्शन के लिए कौन सा कीवर्ड उपयोग किया जाता है
fun
function
def
define
Previous Question
Next Question
25
See Explanation !
4
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 !
5
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम _____ के रूप में जाना जाता है।
An Algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following code? print(10 // 3)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10 // 3)
3.33
3
4
Error
Previous Question
Next Question
25
See Explanation !
8
Which of the following is the correct way to write multiple lines to a file in Python?
पायथन में किसी फ़ाइल में एक से अधिक पंक्तियाँ लिखने का सही तरीका निम्नलिखित में से कौन सा है?
Use multiple write() statements.
Use writelines() method.
Use writeLine() method.
Use append() method.
Previous Question
Next Question
25
See Explanation !
9
The syntax used to rename a file :
फ़ाइल का नाम बदलने के लिए प्रयुक्त सिंटैक्स:
os.rename(existing_name, new_name)
fq.name = ‘new_name.txt’
os.rename(fp, new_name)
os.set_name(existing_name, new_name)
Previous Question
Next Question
25
See Explanation !
10
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 !
11
Which one of the following has the same precedence level?
निम्नलिखित में से किसका वरीयता स्तर समान है?
Addition and Subtraction
Multiplication, Division and Addition
Multiplication, Division, Addition and Subtraction
Addition and Multiplication
Previous Question
Next Question
25
See Explanation !
12
PyPI stands for
PyPI का मतलब ____ है
Python Package Index.
Python package Installer
Both A & B
None of the above.
Previous Question
Next Question
25
See Explanation !
13
Structured program can be broken into to assign to more than one developer
एक से अधिक डेवलपर को असाइन करने के लिए संरचित प्रोग्राम को खंडित किया जा सकता है
Segments
Modules
Units
All the above
Previous Question
Next Question
25
See Explanation !
14
Bookmark Report Bug The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?
बुकमार्क रिपोर्ट बग यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न - ए - मूसा अल खोवारिज़मी के नाम से आया है?
Flowchart
Flow
Algorithm
Syntax
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? a={1:5,2:3,3:4} a.pop(3) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:5,2:3,3:4} a.pop(3) print(a)
{1: 5}
{1: 5, 2: 3}
Error, syntax error for pop() method
{1: 5, 3: 4}
Previous Question
Next Question
25
See Explanation !
16
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 !
17
What will be the output of the following Python code? x = 'abcd' for i in x: print(i) x.upper()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = x में i के लिए 'abcd ': print(i) x.upper ()
a B C D
a b c d
A B C D
error
Previous Question
Next Question
25
See Explanation !
18
What is the return type of following function ? def func1(): return 'mnp',22 print(type(func1()))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def func1(): return 'mnp',22 print(type(func1()))
List
Dictionary
String
Tuple
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print('ab'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('ab'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
20
What will be the value of the following Python expression? print(4+2**5//10)
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(4 2**5 // 10)
3
7
77
0
Previous Question
Next Question
25
See Explanation !
21
NumPy arrays used over lists because
NumPy ऐरे का उपयोग लिस्ट पर किया जाता है क्योंकि
NumPy arrays have contiguous memory location
They are more speedy to work with
They are more convenient to deal with
All of the above
Previous Question
Next Question
25
See Explanation !
22
Which of the following is a valid way to create an empty tuple?
खाली टपल बनाने के लिए निम्नलिखित में से कौन सा एक वैध तरीका है?
empty_tuple = ()
empty_tuple = tuple()
empty_tuple = []
Both A and B
Previous Question
Next Question
25
See Explanation !
23
To print a line a text without ending it with a newline, ____ argument is used with print()
किसी पंक्ति को किसी नई पंक्ति के साथ समाप्त किए बिना किसी पाठ को प्रिंट करने के लिए, ____ तर्क का उपयोग print() के साथ किया जाता है
sep
newline
end
next
Previous Question
Next Question
25
See Explanation !
24
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
25
Which of the following operations is NOT allowed on a tuple?
एक टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?
Slicing
Concatenation
Deletion of elements
Iteration
Previous Question