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
Which statement is generally used as a placeholder?
कौन सा कथन सामान्यतः प्लेसहोल्डर के रूप में प्रयोग किया जाता है?
continue
break
pass
goto
Next Question
25
See Explanation !
2
Which of the following will never be displayed on executing print(random.choice({0: 1, 2: 3}))?
निम्नलिखित में से कौन सा प्रिंट निष्पादित करने पर कभी प्रदर्शित नहीं होगा (random.choice ({0: 1, 2: 3}))?
0
1
KeyError: 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following ? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
[ 2 4 3 5]
[ 6 20]
[ 6 12 10 20]
26
Previous Question
Next Question
25
See Explanation !
4
Which of the following is a unit of code that is often defined within a greater code structure?
निम्नलिखित में से कौन सी कोड की वह इकाई है जिसे अक्सर एक बड़ी कोड संरचना के भीतर परिभाषित किया जाता है?
Subroutines
Function
Files
Modules
Previous Question
Next Question
25
See Explanation !
5
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
6
What will the following code output? a=5;b=7 b=a print(a,” ”,b)
निम्नलिखित कोड क्या आउटपुट देगा? a=5;b=7 b=a print(a,” ”,b)
5 7
7 5
5 5
7 7
Previous Question
Next Question
25
See Explanation !
7
Which of the following is not a keyword?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
8
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following expression? a = 2 b = 8 print(a|b ) print(a >> 1)
निम्नलिखित कोड का परिणाम क्या है ? a = 2 b = 8 print(a|b ) print(a >> 1)
10 0
10 2
2 2
10 1
Previous Question
Next Question
25
See Explanation !
10
What does random.shuffle(x) do when x = [1, 2, 3]?
जब x = [1, 2, 3] random.shuffle(x) क्या करता है?
error
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
none of the mentioned
Previous Question
Next Question
25
See Explanation !
11
Each individual character in a string can be accessed using a technique called _____ .
स्ट्रिंग में प्रत्येक व्यक्तिगत चरित्र को _____ नामक तकनीक का उपयोग करके एक्सेस किया जा सकता है।
indexing
Replication
concatenation
None of the Above
Previous Question
Next Question
25
See Explanation !
12
Which function is used to get the Data Type of any value?
किसी भी मान का डेटा प्रकार प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
type()
data_type()
datatype()
dataType()
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print("john" in d)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print("john" in d)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
14
What will be output for the following code ? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
निम्नलिखित कोड का परिणाम क्या है? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
15
____ is a set of functions you want to include in your applications.
____ कार्यों का एक सेट है जिसे आप अपने अनुप्रयोगों में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
16
How do you convert the string "123" to an integer in Python?
आप स्ट्रिंग "123" को पायथन में एक पूर्णांक में कैसे परिवर्तित करते हैं?
int("123")
integer("123")
int["123“]
(int) “123”
Previous Question
Next Question
25
See Explanation !
17
What arithmetic operators cannot be used with strings?
तारों के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता है?
+
*
-
All of the mentioned
Previous Question
Next Question
25
See Explanation !
18
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
मान लीजिए d = {“john”:40, “peter”:45}. शब्दकोश में प्रविष्टियों की संख्या प्राप्त करने के लिए हम किस कमांड का उपयोग करते हैं?
d.size()
len(d)
size(d)
d.len()
Previous Question
Next Question
25
See Explanation !
19
what will be the output of :print( 22//3+3/3)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 22//3+3/3)
4
4.0
8
8.0
Previous Question
Next Question
25
See Explanation !
20
What is the output of this expression, 3*1**3?
इस व्यंजक का आउटपुट क्या है, 3*1**3?
29
9
3
1
Previous Question
Next Question
25
See Explanation !
21
Which of the following precedence order is correct in Python?
पायथन में निम्नलिखित में से कौन सा वरीयता क्रम सही है?
Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? d = {0, 1, 2} for x in d.values(): print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 03 MINUTES 33 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
0 1 2
None None None
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
Which of the following statement is correct about Getcwd() .
Getcwd () के बारे में निम्नलिखित में से कौन सा कथन सही है।
Method displays the directory of a process.
Method displays the current working directory of a process.
Method create file of a process.
None of these
Previous Question
Next Question
25
See Explanation !
24
What is zeros() function in numpy use to?
numpy उपयोग में zeros() फ़ंक्शन क्या है?
make a matrix with first column 0
make a matrix with all elements 0
make a matrix with diagonal elements 0
All of the above
Previous Question
Next Question
25
See Explanation !
25
What is a recursive function?
एक रिकर्सिव फंक्शन क्या है?
A function that calls other function.
A function which calls itself.
Both A and B
None of the above
Previous Question