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 keywords is used to skip the current iteration in a Python loop?
निम्नलिखित में से कौन सा कीवर्ड पायथन लूप में वर्तमान पुनरावृत्ति को छोड़ने के लिए उपयोग किया जाता है?
break
exit
pass
continue
Next Question
25
See Explanation !
2
What will be the value of the following Python expression? print(float(4+int(2.39)%2))
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(float(4 int(2.39 )%2))
5.0
5
4.0
4
Previous Question
Next Question
25
See Explanation !
3
The function generates sequence of numbers from 1 to n.
फ़ंक्शन 1 से n तक संख्याओं का अनुक्रम उत्पन्न करता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
4
Which of the following functions can help us to find the version of python that we are currently working on?
निम्नलिखित में से कौन सा फ़ंक्शन हमें वर्तमान में काम कर रहे Python के वर्जन को फाइंड करने में हेल्प कर सकता है?
sys.version
sys.version()
sys.version(0)
sys.version(1)
Previous Question
Next Question
25
See Explanation !
5
What is the output of the following code? list1=[2, 33, 222, 14, 25] print(list1[ : -1 ])
निम्नलिखित कोड का आउटपुट क्या है? list1=[2, 33, 222, 14, 25] print(list1 [:-1])
[2, 33, 222, 14]
Error
25
[25, 14, 222, 33, 2]
Previous Question
Next Question
25
See Explanation !
6
Which of the following statement(s) will terminate the whole loop and proceed to the statement following the loop ?
निम्नलिखित में से कौन सा कथन पूरे लूप को समाप्त कर देगा और लूप के बाद के कथन पर आगे बढ़ेगा?
pass
break
continue
goto
Previous Question
Next Question
25
See Explanation !
7
What is called when a function is defined inside a class?
जब किसी फ़ंक्शन को क्लास के अंदर परिभाषित किया जाता है तो उसे क्या कहा जाता है?
Module
Class
Another function
Method
Previous Question
Next Question
25
See Explanation !
8
NumPY stands for:
NumPY का पूर्ण रूप है:
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
9
How is a function declared in Python ?
पायथन में एक फ़ंक्शन कैसे घोषित किया जाता है?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Previous Question
Next Question
25
See Explanation !
10
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
मान लीजिए लिस्ट है [3, 4, 5, 20, 5, 25, 1, 3] ,listExample.extend([34, 5]) के बाद की लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
[1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
[25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
[1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
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
What will be the output of the following Python function? len(["hello",2, 4, 6])
निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? len(["hello",2, 4, 6])
4
3
Error
6
Previous Question
Next Question
25
See Explanation !
13
Which of the function take takes two arguments?
कौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी
dump()
load()
Both A and B
None of the above
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’}
Method update() doesn’t exist for dictionaries
{1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}
{4: ‘D’, 5: ‘E’}
Previous Question
Next Question
25
See Explanation !
15
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
int
float
bool
dict
Previous Question
Next Question
25
See Explanation !
16
The function used to find power of a number.
एक संख्या की शक्ति का पता लगाने के लिए उपयोग किया जाने वाला फ़ंक्शन।
pow()
exp()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
17
Which of the following NumPy function is used to create an identity matrix?
पहचान मैट्रिक्स बनाने के लिए निम्नलिखित में से किस NumPy फ़ंक्शन का उपयोग किया जाता है?
np.identity()
np.eye()
np.matrix()
np.ones()
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} b=a.copy() b[2]="D" print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} b=a.copy() b[2]="D" print(a)
Error, copy() method doesn’t exist for dictionaries
{1: ‘A’, 2: ‘B’, 3: ‘C’}
{1: ‘A’, 2: ‘D’, 3: ‘C’}
“None” is printed
Previous Question
Next Question
25
See Explanation !
19
Which of the following symbol is used for input and output operations in a flow chart?
फ्लो चार्ट में इनपुट और आउटपुट संचालन के लिए निम्नलिखित में से किस प्रतीक का उपयोग किया जाता है?
Rectangle
Parallelogram
Circle
Diamond
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1
2
4
Error, the keys can’t be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
22
Which of the following statement is correct about Getcwd() .
Getcwd () के बारे में निम्नलिखित में से कौन सा कथन सही है।
Method displays the directory of a process.
Method displays the current working directory of a process.
Method create file of a process.
None of these
Previous Question
Next Question
25
See Explanation !
23
Recursive function is
रिकर्सिव फंक्शन _______है
A function that calls itself
A function that calls other functions
Both (A) and (B)
None of the above
Previous Question
Next Question
25
See Explanation !
24
Which of the following is not a correct mode to open a file ?
फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
25
Debugging is used to:
डीबगिंग का इस्तेमाल इन चीज़ों के लिए किया जाता है:
Find errors from the program
Check the functionality of the program
Black box testing
All of the above
Previous Question