Home
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
Other 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
2024
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 snippet? print('11'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('11'.isnumeric ())
True
False
None
Error
Next Question
25
See Explanation !
2
By using function _____ ,we can change the shape of the Numpy array in python.
फ़ंक्शन _____ का उपयोग करके,हम अजगर में Numpy सरणी के आकार को बदल सकते हैं।
shape ()
reshape()
change()
None of these
Previous Question
Next Question
25
See Explanation !
3
Which of the following is not a keyword in python?
पाइथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है?
raise
try
val
with
Previous Question
Next Question
25
See Explanation !
4
Which term describes a loop that continues repeating without a terminating (ending) condition ?
कौन सा शब्द एक लूप का वर्णन करता है जो बिना किसी समाप्ति (समाप्त) स्थिति के दोहराना जारी रखता है?
Infinite Loop
conditional loop
unlimited loop
None of these
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? a=[13,56,17] a.append([87]) a.extend([45,67]) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[13,56,17] a.append ([87]) a.extend([45,67]) print(a)
[13, 56, 17, [87], 45, 67]
[13, 56, 17, 87, 45, 67]
[13, 56, 17, 87,[ 45, 67]]
[13, 56, 17, [87], [45, 67]]
Previous Question
Next Question
25
See Explanation !
6
To increase the value of x five times using an augmented assignment operator, the correct expression will be
संवर्धित असाइनमेंट ऑपरेटर का उपयोग करके x के मान को पांच गुना बढ़ाने के लिए, सही अभिव्यक्ति होगी
x += 5
x *= 5
x = x ** 5
none of these
Previous Question
Next Question
25
See Explanation !
7
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट - ओरिएंटेड शैली या प्रोग्रामिंग की तकनीक का समर्थन करता है जो _____ के भीतर कोड को समाहित करता है।
objects
style
memory
None
Previous Question
Next Question
25
See Explanation !
8
What is the output of the following code? a=set('abc') | b=set('cdef') | print(a&b)
निम्नलिखित कोड का आउटपुट क्या है? a=set(' abc ') | b=set(' cdef ') | print(a
{'c'}
{'a','b','c','d','e','r'}
{c}
None of these
Previous Question
Next Question
25
See Explanation !
9
If a is a dictionary with some key-value pairs, what does a.popitem() do?
यदि कुछ की-वैल्यू वाले पेअर के साथ एक ड़िक्शनरी है,तो a.popitem () क्या करता है?
Removes an arbitrary element
Removes all the key-value pairs
Removes the key-value pair for the key given as an argument
Invalid method for dictionary
Previous Question
Next Question
25
See Explanation !
10
which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :
#
=
/
&
Previous Question
Next Question
25
See Explanation !
11
The ____ function takes two parameters, filename and mode.
____ फ़ंक्शन दो पैरामीटर, फ़ाइल नाम और मोड लेता है।
Range
Input
Open()
Pass
Previous Question
Next Question
25
See Explanation !
12
The function random.randint(4) can return only one of the following values. Which?
फ़ंक्शन random.randint (4) निम्न में से केवल एक वैल्यू रिटर्न कर सकता है। कौन से है ?
4
3.4
error
5
Previous Question
Next Question
25
See Explanation !
13
Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?
मान लीजिए d = {“john”:40, “peter”:45}, “john” की प्रविष्टि हटाने के लिए हम किस कमांड का उपयोग करेंगे?
d.delete(“john”:40)
d.delete(“john”)
del d[“john”]
del d(“john”:40)
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
os.getlogin() function return?
os.getlogin() फ़ंक्शन क्या रिटर्न करेगा ?
Return the name of the user logged in to the terminal
Return the email of the user logged in to the terminal
Return the login time when user logged in to the terminal
None of the above
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? print('1Rn@'.lower())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('1Rn@'.lower())
n
1rn@
m
r
Previous Question
Next Question
25
See Explanation !
17
Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is:
मान लीजिए list1 = [0.5 * x for x in range(0, 4)], list1 है:
[0, 1, 2, 3]
[0, 1, 2, 3, 4]
[0.0, 0.5, 1.0, 1.5]
[0.0, 0.5, 1.0, 1.5, 2.0]
Previous Question
Next Question
25
See Explanation !
18
Python uses a/an _______ to convert source code
पायथन स्रोत कोड को परिवर्तित करने के लिए एक/एक _______ का उपयोग करता है
Interpreter
Compiler
Combination of Compiler and Interpreter
all of these
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
3 33
1 1
5 6
5 33
Previous Question
Next Question
25
See Explanation !
20
Choose the correct option with respect to Python.
पाइथन के सन्दर्भ में सही विकल्प का चयन कीजिए
Both tuples and lists are immutable
Tuples are immutable while lists are mutable
Both tuples and lists are mutable
Tuples are mutable while lists are immutable
Previous Question
Next Question
25
See Explanation !
21
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
exit
break
continue
stop
Previous Question
Next Question
25
See Explanation !
22
Flowchart and algorithms are used for
फ्लोचार्ट और एल्गोरिदम का उपयोग किसके लिए किया जाता है
Better programming
easy testing and debugging
Efficient Coding
All
Previous Question
Next Question
25
See Explanation !
23
What is the value of the expression 100 / 25 ?
व्यंजक 100/25 का मान क्या है?
4
4.0
2.5
none of these
Previous Question
Next Question
25
See Explanation !
24
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
25
Which symbol is used to write single line comment?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
*
#
/
?
Previous Question