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 statement is correct
कौन सा कथन सही है
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both List and Tuple are Mutable
Both List and Tuple are Immutable
Next Question
25
See Explanation !
2
How many arguments a Python program can accept from the command line?
पायथन प्रोग्राम कमांड लाइन से कितने तर्क स्वीकार कर सकता है?
One
Two
Three
Any Number of Times
Previous Question
Next Question
25
See Explanation !
3
The output of this expression, >>>6*1**3 is ____ .
इस अभिव्यक्ति का आउटपुट, >>>6*1**3 ____ है।
6
18
10
None of these
Previous Question
Next Question
25
See Explanation !
4
What is the data type of (1)?
(1) का डेटा प्रकार क्या है?
Tuple
Integer
List
Both tuple and integer
Previous Question
Next Question
25
See Explanation !
5
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
6
Which function returns the strings?
कौन सा फंक्शन स्ट्रिंग्स लौटाता है?
readlines()
read()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
7
How do you insert a comment in Python?
आप पायथन में एक टिप्पणी कैसे सम्मिलित करते हैं?
<!-- This is Comment -->
// This is Comment
/* This is Comment */
# This is Comment
Previous Question
Next Question
25
See Explanation !
8
Which of the following is NOT a valid use of a loop in Python?
निम्नलिखित में से कौन सा पायथन में लूप का वैलिड यूज़ नहीं है?
Iterating over a list.
Iterating over a string.
Iterating over a dictionary.
None of the above
Previous Question
Next Question
25
See Explanation !
9
Every function has an implicit statement _____ as the last instruction in the function body.
फ़ंक्शन बॉडी में अंतिम निर्देश के रूप में प्रत्येक फ़ंक्शन का एक अंतर्निहित कथन _____ होता है।
Return
pass
for
None of these
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following ? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
[1 5 2]
[1 5 4]
[2 3 4]
[2 5 4]
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code snippet? >>bool(‘False’) >>bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? >>bool(' False ') >>bool()
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
12
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 !
13
Which of the following methods is not a string method in Python?
पायथन में निम्नलिखित में से कौन सी विधि स्ट्रिंग विधि नहीं है?
capitalize()
startswith()
pop()
find()
Previous Question
Next Question
25
See Explanation !
14
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 !
15
Which function is used to add an element (5) in the list1?
लिस्ट 1 में एक एलिमेंट (5 ) जोड़ने के लिए किस फंक्शन का प्रयोग किया जाता है ?
list1.sum(5)
list1.add(5)
listl.append(5)
list1.addelement(5)
Previous Question
Next Question
25
See Explanation !
16
Suppose list1 is [2445,133,12454,123], what is max(list1)?
मान लीजिए list1 [2445,133,12454,123] है, MAX(list1) क्या है?
2445
133
12454
123
Previous Question
Next Question
25
See Explanation !
17
What is the output of the following? m=0 while m<5: m+=1 if m==3: break else: print(0)
निम्नलिखित का आउटपुट क्या है? m=0 while m<5: m+=1 if m==3: break else: print(0)
0 1 2 0
0 1 2
0 0 1 0 2
error
Previous Question
Next Question
25
See Explanation !
18
find the output of following code: import math print(math.fabs(-3.4))
निम्नलिखित कोड का आउटपुट खोजें: import math print(math.fabs(-3.4))
-3.4
3.4
4.3
3
Previous Question
Next Question
25
See Explanation !
19
____ 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 !
20
What is the output of the following code? count=0 while count<3: print(count,end=" ") count+=1
निम्नलिखित कोड का आउटपुट क्या है? count=0 while count<3: print(count,end=" ") count+=1
0 1 2
1 2 3
0 1 2 3
Error
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(3))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?
Error, invalid syntax
A
5
C
Previous Question
Next Question
25
See Explanation !
22
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
Making the code look clean
A complex task can be broken into sub-problems
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Previous Question
Next Question
25
See Explanation !
23
Which of the following is not a valid identifier?
निम्नलिखित में से कौन एक मान्य पहचानकर्ता नहीं है?
student
s12
123
_123
Previous Question
Next Question
25
See Explanation !
24
Which of the following cannot be returned by random.randrange(4)?
निम्नलिखित में से क्या random.randrange (4) द्वारा रिटर्न नहीं किया जा सकता है?
0
3
2.3
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
How to import numpy module?
कैसे numpy मॉड्यूल आयात करने के लिए?
from numpy import *
import numpy
import numpy as my_numpy
All of above
Previous Question