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 is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Next Question
25
See Explanation !
2
filter() is used to
filter() का उपयोग करने के लिए किया जाता है
constructs an iterator from elements of an iterable for which a function returns true.
filters the given sequence with the help of a function that tests each element in the sequence to be true or not.
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
3
_____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 !
4
What will be the output of the following ? import numpy as np a = np.arange(5,1) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(5,1) print(a)
[ ]
[1 2 3 4 5]
[5 4 3 2 1]
[1 2 3 4]
Previous Question
Next Question
25
See Explanation !
5
How can you close a file in Python after processing?
प्रसंस्करण के बाद आप पायथन में किसी फ़ाइल को कैसे बंद कर सकते हैं?
close_file()
file_close()
close()
end_file()
Previous Question
Next Question
25
See Explanation !
6
What happens if you attempt to access an index that is out of range in a list?
यदि आप किसी सूचकांक को एक्सेस करने का प्रयास करते हैं जो सूची में सीमा से बाहर है, तो क्या होता है?
It returns None.
It raises an IndexError
It creates a new element at that index.
It returns an empty list.
Previous Question
Next Question
25
See Explanation !
7
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?
65536
33
169
None of the above
Previous Question
Next Question
25
See Explanation !
8
What is the use of the zeros() function in Numpy array in python ?
पायथन में Numpy ऐरे में zero() फंक्शन का उपयोग है
To make a Matrix with all element 0
To make a Matrix with all diagonal element 0
To make a Matrix with first row 0
None of the above
Previous Question
Next Question
25
See Explanation !
9
Which of these is false about recursion?
इनमें से कौन सी पुनरावृत्ति के बारे में गलत है?
Recursive function can be replaced by a non-recursive function
Recursive functions usually take more memory space than non-recursive function
Recursive functions run faster than non-recursive function
Recursion makes programs easier to understand
Previous Question
Next Question
25
See Explanation !
10
Function range(3) will yield an iteratable sequence like
फंक्शन रेंज(3) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[0, 1, 2]
[0, 1, 2, 3]
[1, 2, 3]
[0, 2]
Previous Question
Next Question
25
See Explanation !
11
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 !
12
Escape sequences are treated as ____
एस्केप सीक्वेंस को ____ माना जाता है
Strings
Characters
Integers
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
Python is written in
पायथन को किस भाषा में लिखा जाता है?
Java
C
PHP
All of the above
Previous Question
Next Question
25
See Explanation !
15
How we can convert the Numpy array to the list in python?
हम पायथन में Numpy सरणी को सूची में कैसे परिवर्तित कर सकते हैं?
list(array)
list.array
array.list
None of these
Previous Question
Next Question
25
See Explanation !
16
When an algorithm is written in the form of a programming language it becomes a
जब एक एल्गोरिथ्म को एक प्रोग्रामिंग भाषा के रूप में लिखा जाता है तो यह एक
Flowchart
Program
Pseudo Code
Syntax
Previous Question
Next Question
25
See Explanation !
17
elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है
nested if
if..else
else if
if..elif
Previous Question
Next Question
25
See Explanation !
18
What function do you use to read a string?
एक स्ट्रिंग को रीड करने के लिए आप किस फ़ंक्शन का यूज़ करते हैं?
input(“Enter a string”)
eval(input(“Enter a string”))
enter(“Enter a string”)
eval(enter(“Enter a string”))
Previous Question
Next Question
25
See Explanation !
19
Which part of the memory does the system store the parameter and local variables of a function call ?
मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है?
Heap
Stack
Uninitialized data segment
None of the above
Previous Question
Next Question
25
See Explanation !
20
Structured program can be broken into to assign to more than one developer
एक से अधिक डेवलपर को असाइन करने के लिए संरचित प्रोग्राम को खंडित किया जा सकता है
Segments
Modules
Units
All the above
Previous Question
Next Question
25
See Explanation !
21
Which symbol is used as a flowline to connect two blocks in a flow chart?
फ्लो चार्ट में दो ब्लॉक को जोड़ने के लिए फ्लोलाइन के रूप में किस प्रतीक का उपयोग किया जाता है?
arrow
circle
box
parallelogram
Previous Question
Next Question
25
See Explanation !
22
You can also create your own functions, these functions are called?
आप अपने खुद के फंक्शन भी बना सकते हैं, इन फंक्शन्स को क्या कहते हैं?
built-in functions
user-defined functions
py function
None of the above
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
[[1, 2], [3, 1.5], [0.5, 0.5]]
[[3, 1.5], [1, 2], [0.5, 0.5]]
[[0.5, 0.5], [1, 2], [3, 1.5]]
[[0.5, 0.5], [3, 1.5], [1, 2]]
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? def foo(): return total + 1 total = 0 print(foo())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(): कुल 1 कुल = 0 प्रिंट(foo ()) लौटाएं
0
1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
Python allows ____ operations on string data type .
पाइथन स्ट्रिंग डेटा प्रकार पर ____ संचालन की अनुमति देता है।
Concatenation
Membership
Slicing
All of the above
Previous Question