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
In Python, _____ defines a block of statements.
Python में, _____ कथनों के एक खंड को परिभाषित करता है।
Block
{}
Indentation
loop
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
3
Modules are files saved with _____ extension.
मॉड्यूल _____ एक्सटेंशन के साथ सेव की गई फाइलें हैं।
.module
.py
both a & b
All of the above
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following code ? def add(a, b): return a+5, b+5 result = add(3,2) print(result)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def add(a, b): return a+5, b+5 result = add(3,2) print(result)
15
8
(8,7)
Error
Previous Question
Next Question
25
See Explanation !
5
Which of the following will run without errors?
निम्नलिखित में से कौन सी त्रुटि के बिना चलेगी?
round(45.8)
round(6352.898,2,5)
round()
round(7463.123,2,1)
Previous Question
Next Question
25
See Explanation !
6
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी प्रारूप में पढ़ने और लिखने दोनों के लिए एक फ़ाइल खोलता है।
rb+
rb-
Wb
None
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
9
10
11
12
Previous Question
Next Question
25
See Explanation !
8
Which of the following symbols is used to represent output in a flow chart?
फ्लो चार्ट में आउटपुट का प्रतिनिधित्व करने के लिए निम्नलिखित में से किस प्रतीक का उपयोग किया जाता है?
Square
Circle
Parallelogram
Triangle
Previous Question
Next Question
25
See Explanation !
9
If a function doesn't have a return statement, which of the following does the function return ?
यदि किसी फंक्शन का रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फंक्शन रिटर्न होता है?
int
null
None
An exception is thrown without the return statement
Previous Question
Next Question
25
See Explanation !
10
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is the value of list1.count(5)?
मान लीजिए list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.count (5) का मान क्या है?
0
4
1
2
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? str1="helloworld" print(str1[::-1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? str1="helloworld" print(str1[::-1])
dlrowolleh
hello
world
helloworld
Previous Question
Next Question
25
See Explanation !
12
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
____ चरण - दर - चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो अंत या समाधान के साथ एक समस्या को हल करता है
Flowchart
Algorithm
Process
None of these
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(list(d.keys()))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(list(d.keys()))
[“john”, “peter”]
[“john”:40, “peter”:45]
(“john”, “peter”)
(“john”:40, “peter”:45)
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? min(max(False,-3,-4), 2,7)
2
False
-3
-4
Previous Question
Next Question
25
See Explanation !
15
____ keyword used for function in python
पायथन में फ़ंक्शन के लिए कौन सा कीवर्ड उपयोग किया जाता है
fun
function
def
define
Previous Question
Next Question
25
See Explanation !
16
The order of statement execution in the form of top to bottom, is known as .......... construct.
ऊपर से नीचे के रूप में कथन निष्पादन के क्रम को.......... निर्माण के रूप में जाना जाता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(d["john"])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(d["john"])
40
45
“john”
“peter”
Previous Question
Next Question
25
See Explanation !
18
Which of the following is a feature of DocString?
डॉकस्ट्रिंग की निम्नलिखित में से कौन सी विशेषता है?
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods.
All functions should have a docstring.
Docstrings can be accessed by the ___doc_attribute on objects.
All of the mentioned.
Previous Question
Next Question
25
See Explanation !
19
When we open file in append mode the file pointer is at the ______ of the file.
जब हम अपेंड मोड में फाइल खोलते हैं तो फाइल पॉइंटर फाइल के _____ पर होता है।
end
beginning
anywhere in between the file
None of the above
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? example = "helle" print(example.find("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.find("e"))
Error
-1
1
0
Previous Question
Next Question
25
See Explanation !
21
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन एक वैध पायथन टोकन नहीं है?
Keywords
Identifiers
Operators
Statements
Previous Question
Next Question
25
See Explanation !
22
What is the output of the following program ? print 0.1+0.2==0.3
निम्नलिखित प्रोग्राम का आउटपुट क्या है? प्रिंट 0.1 0.2==0.3
True
False
Machine dependent
Error
Previous Question
Next Question
25
See Explanation !
23
What is the length of sys.argv?
Sys.argv की लेंथ क्या है?
number of arguments
number of arguments + 1
number of arguments – 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What is the correct command to shuffle the following list? fruit=['apple', 'banana', 'papaya', 'cherry']
निम्नलिखित सूची में फेरबदल करने का सही आदेश क्या है? fruit=[' apple ', 'banana ',' papaya ', 'cherry ']
fruit.shuffle()
shuffle(fruit)
random.shuffle(fruit)
random.shuffleList(fruit)
Previous Question
Next Question
25
See Explanation !
25
Which of these about a set is not true?
इनमें से कौन सा एक सेट के बारे में सही नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question