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
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
Next Question
25
See Explanation !
2
Error does not fall into any category
गड़बड़ी किसी भी श्रेणी में नहीं आती है
Syntax Error
Runtime Error
Value Error
None of these
Previous Question
Next Question
25
See Explanation !
3
Which of these definitions correctly describes a module?
इनमें से कौन सी परिभाषा सही ढंग से एक मॉड्यूल का वर्णन करती है?
Denoted by triple quotes for providing the specification of certain program elements
Design and implementation of specific functionality to be incorporated into a program
Defines the specification of how it is to be used
Any program that reuses code
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
True
False
1
Error
Previous Question
Next Question
25
See Explanation !
5
What is mean by 'rb' mode when working with binary file in python
पायथन में बाइनरी फ़ाइल के साथ काम करते समय 'आरबी' मोड का क्या मतलब है?
read binary
write binary
append binary
read write
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 0 जबकि i < 3: print(i) i = 1 else: print(0)
0 1 2 3 0
0 1 2 0
0 1 2
error
Previous Question
Next Question
25
See Explanation !
7
The _____ function converts the specified value into a string.
_____ फ़ंक्शन निर्दिष्ट मान को स्ट्रिंग में परिवर्तित करता है।
str()
int()
String()
None of these
Previous Question
Next Question
25
See Explanation !
8
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा प्रोग्राम को निर्देशों के एक सेट में परिवर्तित करता है जो कंप्यूटर पर चल सकता है उसे एक कहा जाता है
Compiler
Debugger
Editor
None of the above
Previous Question
Next Question
25
See Explanation !
9
What will be the output of this code? print(2 ** 3)
इस कोड का आउटपुट क्या होगा? print(2 ** 3)
6
8
9
11
Previous Question
Next Question
25
See Explanation !
10
What is identifier ?
पहचानकर्ता क्या है?
User-defined name
Pre-defined name
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
11
What will be the output after following statements? x = 2 if x < 5: print(x) else: pass
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? x = 2 if x < 5: print(x) else: pass
2 3 4
1 2 3 4
2
None of These
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
[2,3,4]
3
2
An exception is thrown
Previous Question
Next Question
25
See Explanation !
13
What is the output of this code? def calc(x): r=2*x**2 return r print(calc(5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def calc(x): r=2*x**2 return r print(calc(5))
Error
50
100
20
Previous Question
Next Question
25
See Explanation !
14
Which denotes file binary mode?
फ़ाइल बाइनरी मोड को कौन दर्शाता है?
r
rb
w
r+
Previous Question
Next Question
25
See Explanation !
15
What will be the output of following code import math print(math.pi)
निम्नलिखित कोड का आउटपुट क्या होगा import math print(math.pi)
5.354562653589793
3.141592653589793
7.867564234556778
9.048495456553358
Previous Question
Next Question
25
See Explanation !
16
Both the functions randint and uniform accept ____________ parameters.
दोनों फ़ंक्शन में रैंडम और यूनिफार्म ____________ पैरामीटर्स को स्वीकार करते हैं।
0
1
3
2
Previous Question
Next Question
25
See Explanation !
17
____ are the arguments passed to a function in correct positional order.
सही स्थिति क्रम में किसी फंक्शन को दिए गए आर्गुमेन्ट हैं।
Required arguments
Keyword arguments
Default arguments
Variable-length arguments
Previous Question
Next Question
25
See Explanation !
18
f.read(5) will read________from a file (file object 'f')
f.read(5) एक फ़ाइल से________ पढ़ेगा (file object 'f')
5 characters
5 words
5 lines
None of the above
Previous Question
Next Question
25
See Explanation !
19
_____ is a procedure or step by step process for solving a problem.
_____ एक समस्या को हल करने के लिए एक प्रक्रिया या चरण - दर - चरण प्रक्रिया है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following python code? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
3
4
4 is maximum
None of these
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? list1=[1,3] list2=list1 list1[0]=4 print(list2)
निम्नलिखित कोड का परिणाम क्या है ? list1=[1,3] list2=list1 list1[0]=4 print(list2)
[1, 4]
[1,3, 4]
[4,3]
[1,3]
Previous Question
Next Question
25
See Explanation !
22
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
23
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 !
24
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
int
float
bool
dict
Previous Question
Next Question
25
See Explanation !
25
What is the maximum possible length of an identifier for better redability? -
बेहतर रीडेबिलिटी के लिए एक पहचानकर्ता की अधिकतम संभव लंबाई क्या है? -
31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Previous Question