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
The error that can be pointed out by the compiler are
कम्पाइलर द्वारा इंगित की जा सकने वाली त्रुटि हैं
Syntax errors
Semantic errors
logical errors
None of the above
Next Question
25
See Explanation !
2
Who developed Python?
पायथन किसने विकसित किया?
James Gosling
Guido van Rossum
Dennis Ritchie
Bjarne Stroustrup
Previous Question
Next Question
25
See Explanation !
3
You can also create your own functions, these functions are called?
आप अपने खुद के फंक्शन भी बना सकते हैं, इन फंक्शन्स को क्या कहते हैं?
built-in functions
user-defined functions
py function
None of the above
Previous Question
Next Question
25
See Explanation !
4
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 !
5
Which method is used to get all keys from a dictionary?
शब्दकोश से सभी कुंजियाँ प्राप्त करने के लिए किस विधि का उपयोग किया जाता है?
keys()
getkeys()
allkeys()
keyvalues()
Previous Question
Next Question
25
See Explanation !
6
The function that yields current position in the file.
फ़ंक्शन जो फ़ाइल में वर्तमान स्थिति प्राप्त करता है।
tell()
write()
Writelines()
None of the above
Previous Question
Next Question
25
See Explanation !
7
What will the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)
0
infinite
5
ZeroDivisionError
Previous Question
Next Question
25
See Explanation !
8
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 !
9
Which one is the type of algorithm:
कौन सा एल्गोरिथ्म का प्रकार है:
Flowchart
Pseudo
Greedy
Connector
Previous Question
Next Question
25
See Explanation !
10
____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____ एक स्ट्रिंग शाब्दिक है जिसे कुछ प्रोग्राम तत्वों के विनिर्देश प्रदान करने के लिए ट्रिपल कोट्स द्वारा दर्शाया गया है।
Interface
Modularity
Client
Docstring
Previous Question
Next Question
25
See Explanation !
11
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a 5 - b : a और b हैं
Operands
Expression
operators
Equation
Previous Question
Next Question
25
See Explanation !
12
What does the strip() method do in Python?
पाइथन में स्ट्रिप() विधि क्या करती है?
Removes all spaces from the string.
Removes the first and last character of the string.
Removes whitespace from the beginning and end of the string.
Converts the string into a list of characters.
Previous Question
Next Question
25
See Explanation !
13
____ operator repeats a list for the given number of items.
____ ऑपरेटर दिए गए आइटम की संख्या के लिए एक सूची दोहराता है।
*
+
&
None of these
Previous Question
Next Question
25
See Explanation !
14
What will be the output after the following statements? a = 0 b = 3 while a + b < 8: a += 1 print(a, end='')
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? a = 0 b = 3 while a + b < 8: a += 1 print(a, end='')
0 1 2 3 4
1 2 3 4 5 6
1 2 3 4 5
None of these
Previous Question
Next Question
25
See Explanation !
15
Which of the following statements is used to test multiple conditions in Python?
निम्नलिखित में से किस स्टेट्मेंट का यूज़ पायथन में मल्टिपल कंडीशन का टेस्ट करने के लिए किया जाता है?
if
if-else
elif
if-else-if
Previous Question
Next Question
25
See Explanation !
16
Which keyword is used to remove individual items or the entire dictionary itself.
अलग - अलग आइटम या पूरे शब्दकोश को हटाने के लिए किस कीवर्ड का उपयोग किया जाता है।
del
remove
removeAll
None of these
Previous Question
Next Question
25
See Explanation !
17
Which operator is also called as Conditional operator?
किस ऑपरेटर को कंडीशनल ऑपरेटर भी कहा जाता है?
Ternary
Relational
Logical
Assignment
Previous Question
Next Question
25
See Explanation !
18
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 !
19
____ keyword used for function in python
पायथन में फ़ंक्शन के लिए कौन सा कीवर्ड उपयोग किया जाता है
fun
function
def
define
Previous Question
Next Question
25
See Explanation !
20
In which year was the Python 3.0 version developed?
पायथन 3.0 संस्करण किस वर्ष विकसित किया गया था?
2008
2010
2000
2005
Previous Question
Next Question
25
See Explanation !
21
A loop block in python starts with a.
पायथन में एक लूप ब्लॉक एक... से शुरू होता है
; (semicolon)
,(Comma)
: (colan)
None of these
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which of the following functions helps us to randomize the items of a list?
निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
seed
randomise
shuffle
uniform
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python expression? print(round(4.576))
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा? print(round(4.576))
4.5
5
4
4.6
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? count={} count[(1,2,4)] = 5 count[(4,2,1)] = 7 count[(1,2)] = 6 count[(4,2,1)] = 2 tot = 0
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? count={} count[(1,2,4)] = 5 count[(4,2,1)] = 7 count[(1,2)] = 6 count[(4,2,1)] = 2 tot = 0 for i
25
17
16
Tuples can’t be made keys of a dictionary
Previous Question