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? t=32.00 for x in t: print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? t=32.00 for x in t: print(x)
[0]
0
[0.00]
Error
Next Question
25
See Explanation !
2
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 !
3
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
4
The input() returns the value as ____ type.
INPUT() मान को ____ प्रकार के रूप में बताता है।
Integer
String
Floating point
None of these
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following code snippet? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbe
निम्नलिखित कोड का परिणाम क्या है ? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbers)
[7, 19, 45, 89]
[2, 4, 22, 72]
[4, 7, 19, 2, 89, 45, 72, 22]
[24, 7, 19, 22, 45, 72, 89]
Previous Question
Next Question
25
See Explanation !
6
what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा
12.5
8
9.8
9
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following code? import numpy as np a=np.array([1,2,3]) print(a.ndim)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3]) print(a.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
8
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल घोषित करने का सही तरीका निम्नलिखित में से कौन सा है?
int x = 10
x = 10
var x = 10
x: 10
Previous Question
Next Question
25
See Explanation !
9
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम सूची सूचकांक के बाहर आइटम तक पहुंचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
List is not defined
List index out of range
List index out of bound
None of the above
Previous Question
Next Question
25
See Explanation !
10
To start Python from the command prompt, use the command
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें
execute python
go python
python
run python
Previous Question
Next Question
25
See Explanation !
11
How to import numpy module?
कैसे numpy मॉड्यूल आयात करने के लिए?
from numpy import *
import numpy
import numpy as my_numpy
All of above
Previous Question
Next Question
25
See Explanation !
12
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए उपयोग किया जाने वाला प्रतीक _____ है।
parallelogram
Diamond shape
Circle shape
None of the above
Previous Question
Next Question
25
See Explanation !
13
What is the purpose of the in operator in Python?
पायथन में इन ऑपरेटर का उद्देश्य क्या है?
Checks if an element exists within a sequence.
Checks for inequality between two variables.
Checks if two variables refer to the same object.
Checks the length of a sequence.
Previous Question
Next Question
25
See Explanation !
14
Numpy developed by?
Numpy किसके द्वारा विकसित किया गया है?
Guido van Rossum
Travis Oliphant
Wes McKinney
Jim Hugunin
Previous Question
Next Question
25
See Explanation !
15
What is the purpose of an else block in loops?
लूप्स में else ब्लॉक का पर्पज़ क्या है?
To execute if the loop terminates normally without a break.
To execute after every iteration..
To handle errors in the loop.
To terminate the loop.
Previous Question
Next Question
25
See Explanation !
16
Which of the following is not a keyword in Python
पायथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है
eval
assert
nonlocal
pass
Previous Question
Next Question
25
See Explanation !
17
Which of the following refers to mathematical function?
निम्नलिखित में से कौन गणितीय फंक्शन को संदर्भित करता है
sqrt
rhombus
add
Sub
Previous Question
Next Question
25
See Explanation !
18
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
Previous Question
Next Question
25
See Explanation !
19
The data type of an expression int(m)/int(n) will result in:
किसी अभिव्यक्ति के डेटा प्रकार int(m )/ int(n) का परिणाम होगा:
Int
Float
int or float
None of these
Previous Question
Next Question
25
See Explanation !
20
Which one of these is floor division?
इनमें से कौन सा फर्श विभाजन है?
/
//
%
None of the mentioned
Previous Question
Next Question
25
See Explanation !
21
To return the length of string s what command do we execute?
स्ट्रिंग की लेंथ रिटर्न करने के लिए हम किस कमांड को एक्सक्यूट करते हैं?
s.__len__()
len(s)
size(s)
s.size()
Previous Question
Next Question
25
See Explanation !
22
In python we can change the value of variable
अजगर में हम चर का मान बदल सकते हैं
One Time
Two Time
Any Number of Time
we can not change the value of variable
Previous Question
Next Question
25
See Explanation !
23
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 !
24
What is the order of namespaces in which Python looks for an identifier?
नामस्थानों का क्रम क्या है जिसमें पायथन एक पहचानकर्ता की तलाश करता है?
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
Python first searches the local namespace, then the global namespace and finally the built-in namespace
Python first searches the global namespace, then the local namespace and finally the built-in namespace
Previous Question
Next Question
25
See Explanation !
25
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में सूची का अंतिम तत्व खोजें? मान लें कि 'बाइक' सूची का नाम है।
bikes[:-1]
bilkes[1]
bikes (:-1)
None of the above
Previous Question