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 return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Next Question
25
See Explanation !
2
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Which NumPy function returns the cumulative sum of elements?
कौन सा फ़ंक्शन NumPy तत्वों का संचयी योग बताता है?
np.sum()
np.cumsum()
np.add()
np.cumadd()
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following code? a=((0,2,3,4)[1:-2]) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? a=((0,2,3,4)[1:-2]) print(a)
(3,)
(2, )
(1,)
(0,)
Previous Question
Next Question
25
See Explanation !
6
What is the output when we execute list("hello")?
जब हम सूची(" हैलो ") निष्पादित करते हैं तो आउटपुट क्या होता है?
['llo']
['hello']
['h', 'e', T', '1', 'o']
None of the above
Previous Question
Next Question
25
See Explanation !
7
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
8
Empty list indicated by which symbol.
खाली सूची किस प्रतीक द्वारा इंगित की गई है।
[]
()
{}
None
Previous Question
Next Question
25
See Explanation !
9
In a flow chart, which of the following is used to test the condition ?
फ्लो चार्ट में, स्थिति का परीक्षण करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Terminal
Process
Input/Output
Decision
Previous Question
Next Question
25
See Explanation !
10
____ is a set of functions you want to include in your application.
____ फ़ंक्शंस का एक सेट है जिसे आप अपने ऐप्लिकेशन में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 2, 11))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', 2, 11))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
12
How many numbers will be printed by the following code? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
7
8
6
9
Previous Question
Next Question
25
See Explanation !
13
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 = "")
i i i i i i
a a a a a a
a a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
14
What is the output of the following code ? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
(2,3)
(3,1)
(1,3)
None of These
Previous Question
Next Question
25
See Explanation !
15
A graphical representation of a computer program in relation to its sequence of functions____ .
कार्यों के अनुक्रम के संबंध में एक कंप्यूटर प्रोग्राम का एक ग्राफिकल प्रतिनिधित्व ____ ।
Algorithm
flowchart
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
16
Suppose i is 5 and j is 4, i + j is same as ________
मान लीजिए कि i 5 है और j 4 है, i + j ________ के समान है
i.__add(j)
i.__add__(j)
i.__Add(j)
i.__ADD(j)
Previous Question
Next Question
25
See Explanation !
17
_____is a Pandas function for loading CSV files into Dataframe.
_____ CSV फ़ाइलों को डेटाफ़्रेम में लोड करने के लिए एक पांडा फ़ंक्शन है।
read_csv()
csv_read()
csv.write()
None of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of following expression : print(10/2+3*5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10/2+3*5)
20.0
20
40.0
40
Previous Question
Next Question
25
See Explanation !
19
What is the purpose of zeros() function used in NumPy array ?
NumPy सरणी में उपयोग किए जाने वाले शून्य () फ़ंक्शन का उद्देश्य क्या है?
To make a Matrix with all diagonal element 0
To make a Matrix with first row 0
To make a Matrix with all elements 0
None of the above
Previous Question
Next Question
25
See Explanation !
20
What will be the output : 24//6%3,24//4//2
इसका आउटपुट क्या होगा: 24//6%3,24//4//2
(1,3)
(2,5)
(2,1)
(4,8)
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following code? python x = [1, 2, 3] print(x[1])
निम्नलिखित कोड का आउटपुट क्या है? python x = [1, 2, 3] print(x[1])
1
2
3
IndexError
Previous Question
Next Question
25
See Explanation !
22
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 !
23
NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है
Indexed
Sliced
Iterated
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
24
What is the result of the following code? print(10 / 2.0)
निम्नलिखित कोड का परिणाम क्या है? print(10 / 2.0)
5
5.0
10
Error
Previous Question
Next Question
25
See Explanation !
25
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question