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
When _____ gets executed, 'inner PI value' is printed as that is 'pi' value inside the function namespace.
जब _____ को निष्पादित किया जाता है, तो 'आंतरिक PI मान' मुद्रित किया जाता है क्योंकि यह फ़ंक्शन नेमस्पेस के अंदर 'pi' मान होता है।
pi()
piFun()
Fun()
None of these
Next Question
25
See Explanation !
2
Function range(10, 5, 2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, 2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[]
[10, 8, 6]
[2, 5, 8]
[8, 5, 2]
Previous Question
Next Question
25
See Explanation !
3
To use a module in another module, you must import it using an, statement
अन्य मॉड्यूल में किसी मॉड्यूल का उपयोग करने के लिए, आपको उस स्टेटमेंट का उपयोग करके इम्पोर्ट करना होगा
import
include
both (A) and (B)
none of the above
Previous Question
Next Question
25
See Explanation !
4
To create sequence of numbers,Numpy provides a function ____ analogous to range that returns arrays instead of lists.
संख्याओं का अनुक्रम बनाने के लिए,Numpy एक फ़ंक्शन प्रदान करता है ____ श्रेणी के अनुरूप जो सूचियों के बजाय सरणी देता है।
arange
aspace
aline
All of the above
Previous Question
Next Question
25
See Explanation !
5
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 !
6
______ functions is a built-in function in python language.
______ फ़ंक्शन Python भाषा में एक अंतर्निहित फ़ंक्शन है।
val()
print()
print In()
const()
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
(5,1,6,2)
(5,1,7,6)
(5,1,7,6,2)
Error
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? word1="Apple" word2="Apple" list1=[1,2,3] list2=[1,2,3] print(word1 is word2) print(list1 is list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? word1 ="Apple" word2 = "Apple" list1=[1,2,3] list2 =[1,2,3] print(word1 is word2) print(list1 is list2)
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
9
will return the mathematical number PI from the constants module.
गणितीय संख्या PI को स्थिरांक मॉड्यूल से वापस कर देगा।
Math.Pi
Circle()
Pandas
None of these
Previous Question
Next Question
25
See Explanation !
10
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
11
f.read(5) will read________from a file (file object 'f')
f.read(5) एक फ़ाइल से________ पढ़ेगा (file object 'f')
5 characters
5 words
5 lines
None of the above
Previous Question
Next Question
25
See Explanation !
12
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
Selection
Sequential
Simple
Loop
Previous Question
Next Question
25
See Explanation !
13
What is the output of the following code? list1=[2, 33, 222, 14, 25] print(list1[ : -1 ])
निम्नलिखित कोड का आउटपुट क्या है? list1=[2, 33, 222, 14, 25] print(list1 [:-1])
[2, 33, 222, 14]
Error
25
[25, 14, 222, 33, 2]
Previous Question
Next Question
25
See Explanation !
14
Which of the following language is understood by computer?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
Machine language
Assembly language
High-level language
None of these
Previous Question
Next Question
25
See Explanation !
15
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
16
A detailed flowchart is known as:
एक विस्तृत फ़्लोचार्ट के रूप में जाना जाता है:
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
17
Designing the problem?
समस्या को डिज़ाइन करना चाहते हैं?
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
18
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लीजिए कि t=(1,2,4,3), निम्नलिखित में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
19
Function defined to achieve some task as per the programmers requirement is called a :
प्रोग्रामर की आवश्यकता के अनुसार कुछ कार्य को पूरा करने के लिए परिभाषित फ़ंक्शन को कहा जाता है:
User Defined Function
Library Functions
Builtin Functions
All of the above
Previous Question
Next Question
25
See Explanation !
20
How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड हैं?
32
33
31
30
Previous Question
Next Question
25
See Explanation !
21
What is true about a break statement?
ब्रेक स्टेटमेंट के बारे में क्या सच है?
Break stops the execution of entire program
Break halts the execution and forces the control out of the loop
Break forces the control out of the loop and starts the execution of next iteration
Break halts the execution of the loop for certain time frame
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? for i in range(5): if i == 5: break else: print(i) else: print("Here")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
0 1 2 3 4 Here
0 1 2 3 4 5 Here
0 1 2 3 4
1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
23
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
-9
9
6
-6
Previous Question
Next Question
25
See Explanation !
24
What is the pickling?
पिकलिंग क्या है?
It is used for object serialization
It is used for object deserialization
All of the mentioned
None of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? >>>max("what are you")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? >>>MAX(" आप क्या हैं ")
what
y
a
Error
Previous Question