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
Bookmark Report Bug The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?
बुकमार्क रिपोर्ट बग यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न - ए - मूसा अल खोवारिज़मी के नाम से आया है?
Flowchart
Flow
Algorithm
Syntax
Next Question
25
See Explanation !
2
Suppose list1 is [1, 3, 2], What is list1 * 2?
मान लीजिए list1 [1, 3, 2] है, list1 * 2 क्या है?
[2, 6, 4]
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
Previous Question
Next Question
25
See Explanation !
3
what will the output of following : print(2+9*((3*12)-8)/10)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 2+9*((3*12)-8)/10)
27.2
29.0
14.9
12.3
Previous Question
Next Question
25
See Explanation !
4
What is the data type of elements in a NumPy array?
NumPy ऐरे में तत्वों का डेटा प्रकार क्या है?
Only integers
Only floating-point numbers
Homogeneous, but can be integers or floating-point numbers
Heterogeneous, supporting a mix of data types
Previous Question
Next Question
25
See Explanation !
5
____ operator repeats a list for the given number of items.
____ ऑपरेटर दिए गए आइटम की संख्या के लिए एक सूची दोहराता है।
*
+
&
None of these
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x: x = x[1:] print(i, end = "")
a a a a a a
a
no output
error
Previous Question
Next Question
25
See Explanation !
7
What happens if the condition in a while loop is initially False?
यदि थोड़ी देर के लूप में स्थिति शुरू में गलत हो तो क्या होगा?
The loop runs indefinitely.
The loop executes once before terminating.
The loop does not execute.
It raises an error
Previous Question
Next Question
25
See Explanation !
8
Which of the following is a Python tuple?
निम्नलिखित में से कौन एक Python tuple है?
[1, 2, 3]
(1, 2, 3)
{1, 2, 3}
{}
Previous Question
Next Question
25
See Explanation !
9
Which of the following methods will create a copy of a list?
निम्नलिखित में से कौन सा तरीका एक सूची की एक प्रति बनाएगा?
copy = list(original)
copy = original[:]
copy = original.copy()
All of the above
Previous Question
Next Question
25
See Explanation !
10
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question
Next Question
25
See Explanation !
11
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
12
Which of the following statement will be true.
निम्नलिखित में से कौन सा कथन सत्य होगा।
Python allows you to assign a single value to multiple variables simultaneously.
You can assign multiple values to multiple variables by separating variables and values with commas.
You can assign the same value to multiple variables by using = consecutively..
All of the above
Previous Question
Next Question
25
See Explanation !
13
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question
Next Question
25
See Explanation !
14
The scope rule in Python are summarized as____.
पायथन में स्कोप नियम को ____ के रूप में संक्षेप में प्रस्तुत किया गया है।
ELGB ( enclosed, local,global, built-in).
LEGB (local, enclosed,global, built-in ).
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following code: L=['a','b','c','d'] print ( "".join(L))
निम्नलिखित कोड का आउटपुट क्या है: L=[' a ', 'b ',' c ', 'd '] print (".join(L))
Error
None
abcd
[‘a’,’b’,’c’,’d’]
Previous Question
Next Question
25
See Explanation !
16
Python Programs are typed in
पायथन प्रोग्राम टाइप किए गए हैं
Interactive Mode
Script Mode
Both Interactive Mode or Script Mode
None of These
Previous Question
Next Question
25
See Explanation !
17
Which module in Python supports regular expressions?
पायथन में कौन सा मॉड्यूल रेगुलर एक्सप्रेशन का समर्थन करता है?
re
regex
pyregex
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
How can you close a file in Python after processing?
प्रसंस्करण के बाद आप पायथन में किसी फ़ाइल को कैसे बंद कर सकते हैं?
close_file()
file_close()
close()
end_file()
Previous Question
Next Question
25
See Explanation !
19
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
20
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर एक वैकल्पिक मॉड्यूल खोज पथ है?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
21
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
Flowchart
Flow
Algorithm
syntax
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(i)
a b c d
0 1 2 3
error
1 2 3 4
Previous Question
Next Question
25
See Explanation !
23
Which method is used to Write(s) a list of lines to the file.
फ़ाइल की पंक्तियों की सूची लिखने के लिए किस विधि का उपयोग किया जाता है।
write(s)
writelines (lines)
readlines (lines)
None of these
Previous Question
Next Question
25
See Explanation !
24
Evaluate the expression A%B//A if the value of A= 16 and b= 15
एक्सप्रेशन A%B//A का मूल्यांकन करें यदि A=16 और b=15 का मान है
0.0
0
1.0
1
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(d.add(x))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0, 1, 2} for x in d: print(d.add(x))
0 1 2
0 1 2 0 1 2 0 1 2 …
None None None
None of the mentioned
Previous Question