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 functions accepts only integers as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल इन्टिजर को आर्ग्यमन्ट के रूप में एक्सेप्ट करता है?
ord()
min()
chr()
any()
Next Question
25
See Explanation !
2
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 !
3
What will be the output of the following Python expression? print(round(4.5676,2))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(round(4.5676,2))
4.5
4.6
4.57
4.56
Previous Question
Next Question
25
See Explanation !
4
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जिसे कोष्ठक कोष्ठक () का उपयोग किए बिना बनाया जाता है, को कहा जाता है?
Tuple packing
Tuple sampling
Tuple sorting
None of the above
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x[:-1]: print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x में [:-1]: print(i, end = "")
a a a a a
a a a a a a
a a a a a a … infinite Time
a
Previous Question
Next Question
25
See Explanation !
6
What is range() Funciton ?
range() Funciton क्या है?
generates a list of numbers, to iterate over with for loops
immediate exit from the innermost loop structure.
returned an iterator a sequence object.
Arranging numbers whether in ascending or descending order.
Previous Question
Next Question
25
See Explanation !
7
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 !
8
What will be the output of the following expression x=14 print(x>>2)
निम्नलिखित अभिव्यक्ति x=14 print(x>>2) का आउटपुट क्या होगा
14
1
3
2
Previous Question
Next Question
25
See Explanation !
9
Leading white space at the beginning of each statement, which is used to determine the group of statement.
प्रत्येक कथन के आरंभ में शीर्ष सफेद स्थान, जिसका उपयोग कथनों के समूह को निर्धारित करने के लिए किया जाता है।
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
10
In a Python program, a control structure:
पायथन प्रोग्राम में, एक नियंत्रण संरचना:
directs the order of execution of the statements in the program
dictates what happens before the program starts and after it terminates
defines program-specific data structures
manages the input and output of control characters
Previous Question
Next Question
25
See Explanation !
11
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Only the first condition is checked.
All conditions are checked, even if one is True.
It behaves the same as if-elif.
It raises an error.
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? example = "snow world" example[3] = 's' print (example)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "snow world" example[3] = 's' print (example)
snow
snow world
Error
snos world
Previous Question
Next Question
25
See Explanation !
13
Which type of elements are accepted by random.shuffle()?
किस प्रकार के एलिमेंट्स को random.shuffle () द्वारा एक्सेप्ट किया जाता है?
strings
lists
tuples
integers
Previous Question
Next Question
25
See Explanation !
14
What will be the output of following statement ? >>>"m"+"n1"
निम्नलिखित कोड का परिणाम क्या है ? >>>"m"+"n1"
'm+nl'
'mn1'
'm n1'
'm'
Previous Question
Next Question
25
See Explanation !
15
How many keywords present in the python programming language?
अजगर प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?
32
64
35
29
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
17
Which of the following is not a valid set operation in python?
निम्नलिखित में से कौन सा पायथन में एक वैध सेट ऑपरेशन नहीं है?
Union
Intersection
Difference
None of the above
Previous Question
Next Question
25
See Explanation !
18
Who developed Python?
पायथन किसने विकसित किया?
James Gosling
Guido van Rossum
Dennis Ritchie
Bjarne Stroustrup
Previous Question
Next Question
25
See Explanation !
19
To start Python from the command prompt, use the command
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें
execute python
go python
python
run python
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? def foo(): total += 1 return total total = 0 print(foo())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(): total = 1 return total = 0 print(foo ())
0
1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
ndarray is also known as the ____ array.
ndarray को ____ सरणी के रूप में भी जाना जाता है।
Array
alias
variable
None of these
Previous Question
Next Question
25
See Explanation !
22
A graphical representation of a computer program in relation to its sequence of functions____ .
कार्यों के अनुक्रम के संबंध में एक कंप्यूटर प्रोग्राम का एक ग्राफिकल प्रतिनिधित्व ____ ।
Algorithm
flowchart
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? a = [0, 1, 2, 3] for a[-1] in a: print(a[-1])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a = [0, 1, 2, 3] for a[-1] in a: print(a[-1])
0 1 2 3
0 1 2 2
3 3 3 3
error
Previous Question
Next Question
25
See Explanation !
24
You don't have to pay for Python and you can view its source code too. It means Python is ..........
आपको पायथन के लिए भुगतान करने की ज़रूरत नहीं है और आप इसका सोर्स कोड भी देख सकते हैं। इसका मतलब है कि पायथन.......... है ।
Free and open source
freeware
open source
shareware
Previous Question
Next Question
25
See Explanation !
25
What is the output of the following code? print(True and False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(सही और गलत)
True
False
Error
None
Previous Question