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
In a flow chart, which of the following is used to test the condition ?
फ्लो चार्ट में, स्थिति का परीक्षण करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Terminal
Process
Input/Output
Decision
Next Question
25
See Explanation !
2
If no delimiter is given in split() function then words are separated by
यदि स्प्लिट() फ़ंक्शन में कोई डेलिमिटर नहीं दिया जाता है, तो शब्दों को निम्नलिखित से अलग किया जाता है
space
colon
semi colon
None
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Which operator is used in Python to import modules from packages?
पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है?
.
*
->
&
Previous Question
Next Question
25
See Explanation !
5
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using :
मान लीजिए arr नाम वाली एक सूची में 5 तत्व हैं। आप सूची से दूसरा तत्व प्राप्त कर सकते हैं:
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
6
Which of the following is incorrect regarding variables in Python?
पायथन में चर के संबंध में निम्नलिखित में से कौन सा गलत है?
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Variable names can start with an underscore.
Data type of variable names should not be declared.
None of the above.
Previous Question
Next Question
25
See Explanation !
7
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 !
8
The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:
फ़ंक्शन डिमोड (ए, बी), जहां दोनों ‘a’ और ‘b’ इन्टिजर हैं, का इवैल्यूऐटनिम्नानुसार किया जाता है:
(a%b, a//b)
(a//b, a%b)
(a//b, a*b)
(a/b, a%b)
Previous Question
Next Question
25
See Explanation !
9
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
10
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
11
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 !
12
What will be the output of the following Python code? print('abcdefcdgh'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcdefcdgh '.partition (' cd '))
(‘ab’, ‘cd’, ‘ef’, ‘cd’, ‘gh’)
(‘ab’, ‘cd’, ‘efcdgh’)
(‘abcdef’, ‘cd’, ‘gh’)
error
Previous Question
Next Question
25
See Explanation !
13
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
6
1
1.5
Error
Previous Question
Next Question
25
See Explanation !
14
Shape() function in Numpy array is used to
Numpy सरणी में SHAPE () फ़ंक्शन का उपयोग किसके लिए किया जाता है?
Find the shape of the array
change the shape of array
Display elements
None of these
Previous Question
Next Question
25
See Explanation !
15
_____ creates an uninitialized array of specified shape and dtype.
.....निर्दिष्ट शेप और dtype का एक अनइनीशिलाइज्ड ऐरे बनाता का है।
full
empty
init
None of these
Previous Question
Next Question
25
See Explanation !
16
What does the function re.match do?
फ़ंक्शन re.match क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
18
Using ndim we can find
ndim का उपयोग करके हम पा सकते हैं
We can find the dimension of the array
Size of array
Operational activities on Matrix
None of the mentioned above
Previous Question
Next Question
25
See Explanation !
19
Which language is derived from many other language, including ABC, Modula- 3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.
कौन सी भाषा कई अन्य भाषाओं से ली गई है, जिसमें ABC, Modula - 3, C, C , Algol -68, SmallTalk, और Unix शेल और अन्य स्क्रिप्टिंग भाषाएं शामिल हैं।
Python
Java
Fortran
None of the above
Previous Question
Next Question
25
See Explanation !
20
Which of the following is correct about Python
पाइथन के बारे में निम्नलिखित में से कौन सा सही है
It supports automatic garbage collection
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
21
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
22
A sentinel-controlled loop can be implemented using _____
_____ का उपयोग करके एक प्रहरी - नियंत्रित लूप को लागू किया जा सकता है।
if
for
Both of the above
None
Previous Question
Next Question
25
See Explanation !
23
Which of the following functions accepts only integers as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल इन्टिजर को आर्ग्यमन्ट के रूप में एक्सेप्ट करता है?
ord()
min()
chr()
any()
Previous Question
Next Question
25
See Explanation !
24
Which statement is correct?
कौन सा कथन सही है?
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both are mutable
Both are immutable
Previous Question
Next Question
25
See Explanation !
25
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question