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 of the following is false about “from ….. import …… " form of import?
निम्नलिखित में से कौन सा आयात के "from ….. import …… " रूप के बारे में गलत है?
The syntax is: from module name import identifier
This form of import does not import anything
The namespace of imported module becomes part of importing module
The identifiers in module are accessed directly as: identifier
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 the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
10
9
7
6
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(d["john"])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(d["john"])
40
45
“john”
“peter”
Previous Question
Next Question
25
See Explanation !
5
The method used to removes all the items at once.
सभी आइटम को एक साथ हटाने के लिए इस्तेमाल किया जाने वाला तरीका।
remove ()
clear()
removelist ()
None of these
Previous Question
Next Question
25
See Explanation !
6
A detailed flowchart is known as:
एक विस्तृत फ़्लोचार्ट के रूप में जाना जाता है:
Micro
Union
Macro
Stack
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
What will be the output of the following Python function, assuming that the random module has already been imported? import random random.uniform(3,4)
यह मानते हुए कि random मॉड्यूल पहले से ही आयात किया जा चुका है, निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? import random random.uniform(3,4)
Error
Either 3 or 4
Any integer other than 3 and 4
Any decimal value between 3 and 4
Previous Question
Next Question
25
See Explanation !
9
Which of the following is the exponentiation operator in Python?
पायथन में घातांकन ऑपरेटर निम्नलिखित में से कौन सा है?
^
**
^^
exp()
Previous Question
Next Question
25
See Explanation !
10
Which of the following functions converts date to corresponding time in Python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में दिनांक को संगत समय में परिवर्तित करता है?
strptime()
strftime()
Both A and B
None of the above
Previous Question
Next Question
25
See Explanation !
11
What does the // operator do in Python?
// ऑपरेटर पायथन में क्या करता है?
Performs integer division and returns the integer part.
Performs normal division and returns a float.
Performs modulus operation.
Performs exponential calculation.
Previous Question
Next Question
25
See Explanation !
12
Recursive functions usually take _____ memory space than non- recursive function.
रिकर्सिव फ़ंक्शन आमतौर पर गैर - रिकर्सिव फ़ंक्शन की तुलना में _____ मेमोरी स्पेस लेते हैं।
less
more
End
None of these
Previous Question
Next Question
25
See Explanation !
13
The error that can be pointed out by the compiler are
कम्पाइलर द्वारा इंगित की जा सकने वाली त्रुटि हैं
Syntax errors
Semantic errors
logical errors
None of the above
Previous Question
Next Question
25
See Explanation !
14
Which function is used to generate evenly spaced values within a specified range?
किसी निर्दिष्ट सीमा के भीतर समान दूरी वाले मान उत्पन्न करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
numpy.linspace()
numpy.range()
numpy.arrange()
numpy.spaceline()
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code snippet? print('Ab!2'.swapcase())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Ab!2 '.swapcase ())
AB!@
ab12
aB!2
aB1@
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? len(["hello",2, 4, 6])
Error
6
4
3
Previous Question
Next Question
25
See Explanation !
17
What is the symbol used to represent start and stop of a flowchart ?
फ्लोचार्ट के प्रारंभ और ठहराव का प्रतिनिधित्व करने के लिए किस प्रतीक का उपयोग किया जाता है?
Oval
Rectangle
Arrow
Diamond
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following python program? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
5
8
2
1
Previous Question
Next Question
25
See Explanation !
19
Function range(0, 5, 2) will yield on iterable sequence like
फंक्शन रेंज(0, 5, 2) पुनरावर्तनीय अनुक्रम पर प्राप्त होगी जैसे
[0, 2, 4]
[1, 3, 5]
[0, 1, 2, 5]
[0, 5, 2]
Previous Question
Next Question
25
See Explanation !
20
What does size attribute in numpy use to find?
numpy में numpy एट्रिब्यूट का क्या उपयोग है
Number of Rows and Column in array
Size of each items in array
Number of elements in array
Largest element of an array
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित कोड का परिणाम क्या है ? example = "helle" print(example.rfind("e"))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? for i in [1, 2, 3, 4][::-1]: print (i)
1 2 3 4
4 3 2 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? print('abef'.partition('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abef '.partition (' cd '))
(‘abef’)
(‘abef’, ‘cd’, ”)
(‘abef’, ”, ”)
error
Previous Question
Next Question
25
See Explanation !
24
Provide the output for the expression: list = [1, 2] + [3, 4]
list= [1, 2] + [3, 4] का आउटपुट क्या होगा
[4,6]
[1, 2, 3, 4]
10
Error in Code
Previous Question
Next Question
25
See Explanation !
25
What is the output of the following y='klmn' for i in range(len(y)): print(y)
निम्नलिखित कोड का परिणाम क्या है ? y='klmn' for i in range(len(y)): print(y)
klmn klmn klmn klmn
k
kkk
None of the these
Previous Question