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 will be the output of the following Python code? a={1:5,2:3,3:4} a.pop(3) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:5,2:3,3:4} a.pop(3) print(a)
{1: 5}
{1: 5, 2: 3}
Error, syntax error for pop() method
{1: 5, 3: 4}
Next Question
25
See Explanation !
2
Which of the following are valid string manipulation functions in python?
पायथन में मान्य स्ट्रिंग हेरफेर फ़ंक्शन निम्नलिखित में से कौन से हैं?
count()
upper()
strip()
All the above
Previous Question
Next Question
25
See Explanation !
3
What is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)
4.5
4.0
4
Error
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('xyyxyyxyxyxxy'.replace('xy', '12', 100))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' xyyyxyxyxxy '.replace (' xy ', '12 ', 100))
xyyxyyxyxyxxy
12y12y1212x12
none of the mentioned
error
Previous Question
Next Question
25
See Explanation !
5
The part of a machine level instruction, which tells the central processor what has to be done, is
मशीन स्तर के निर्देश का हिस्सा, जो केंद्रीय प्रोसेसर को बताता है कि क्या करना है, है
An operation code
An address
An operand
None of the above
Previous Question
Next Question
25
See Explanation !
6
List is mutable and Tuple is immutable?
सूची परिवर्तनीय है और ट्यूपल अपरिवर्तनीय है?
Yes, list mutable and tuple immutable
No, list and tuple both are mutable
No, list and tuple both are in immutable
No, just opposite, list immutable and tuple mutable
Previous Question
Next Question
25
See Explanation !
7
What is the value of the expression 10 + 3 ** 3 * 2?
अभिव्यक्ति 10 3 ** 3 * 2 का मान क्या है?
28
739
829
64
Previous Question
Next Question
25
See Explanation !
8
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 !
9
What will be the result of the expression: 15 and 10?
अभिव्यक्ति का परिणाम क्या होगा: 15 और 10?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
10
Row data assigned to a variable is called as.
एक चर को असाइन किए गए पंक्ति डेटा को कहा जाता है।
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
11
What is the output of the following code ? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
12
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
my_string_1
1st_string
foo
_myvar
Previous Question
Next Question
25
See Explanation !
13
Which function is used to Writes the string(s) to the file and returns the number of characters written.
स्ट्रिंग(ओं) को फ़ाइल में लिखने के लिए किस फ़ंक्शन का उपयोग किया जाता है और लिखे गए वर्णों की संख्या बताता है।
writeline (s)
write(s)
read(s)
None
Previous Question
Next Question
25
See Explanation !
14
What does the following code print ? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
निम्नलिखित कोड क्या प्रिंट करता है? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
TRUE
TRUE FALSE
TRUE TRUE
FALSE TRUE
Previous Question
Next Question
25
See Explanation !
15
What is the output of below program ? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
2
3
The number are equal
None of These
Previous Question
Next Question
25
See Explanation !
16
What is standard module in Python?
पायथन में मानक मॉड्यूल क्या है?
It can not be imported the same way as we import our user-defined modules.
It can be imported the same way as we import our user-defined modules,
Both
None of the above
Previous Question
Next Question
25
See Explanation !
17
Which of the following is not a features of Python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है?
platform-independent
Low Level Language
Python is open-source and free to use
Object Oriented Programming
Previous Question
Next Question
25
See Explanation !
18
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 !
19
Which of the following character is used to give comments in Python Program ?
पायथन प्रोग्राम में टिप्पणियां देने के लिए निम्नलिखित में से किस वर्ण का उपयोग किया जाता है?
#
&
@
$
Previous Question
Next Question
25
See Explanation !
20
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
21
Which of the following Statement will create a Tuple:
निम्नलिखित में से कौन सा कथन एक टपल बनाएगा:
t1=1,2,4
t1=(1,)
t1=tuple(“123”)
All of these
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following ? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
[2 3 4 5]
[3 4 5 6]
[1 2 3 4]
[2 4 6 8]
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following pseudo code? integer a,b | set a=9,b=5 | a=a mod(a-3) | b=b mod(b-3) | print a+b
निम्नलिखित छद्म कोड का आउटपुट क्या होगा? पूर्णांक a,b सेट a | =9,b = 5 a= a | mod(a -3) | b=b mod(b -3) | print a b
4
5
9
8
Previous Question
Next Question
25
See Explanation !
24
To which of the following the "in" operator can be used to check if an item is in it?
निम्नलिखित में से किसके लिए "in" ऑपरेटर का उपयोग यह जांचने के लिए किया जा सकता है कि कोई आइटम उसमें है या नहीं?
Lists
Dictionary
String
All of the mentioned
Previous Question
Next Question
25
See Explanation !
25
Which function returns the exact copy of the string with the first letter in uppercase.
कौन सा फ़ंक्शन अपरकेस में पहले अक्षर के साथ स्ट्रिंग की सटीक कॉपी देता है।
find()
copy()
upper()
capitalize()
Previous Question