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
Regarding creating ndarray, choose the build in functions in numpy.
Ndarray बनाने के संबंध में, numpy में बिल्ड इन फ़ंक्शंस चुनें।
np.array()
np.zeros()
np.empty()
All of the above
Next Question
25
See Explanation !
2
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों को ____ में दर्शाया गया है।
Boxes
Circles
Arrows
All of the above
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
[1, 3]
[4, 3]
[1, 4]
[1, 3, 4]
Previous Question
Next Question
25
See Explanation !
4
The values which are passed to a function definition are called
फ़ंक्शन परिभाषा में जो मान पास किए जाते हैं उन्हें कहा जाता है
Arguments
Subroutines
Function
Definition
Previous Question
Next Question
25
See Explanation !
5
What is the purpose of an else block in loops?
लूप्स में else ब्लॉक का पर्पज़ क्या है?
To execute if the loop terminates normally without a break.
To execute after every iteration..
To handle errors in the loop.
To terminate the loop.
Previous Question
Next Question
25
See Explanation !
6
What will the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)
0
infinite
5
ZeroDivisionError
Previous Question
Next Question
25
See Explanation !
7
To return the length of string s what command do we execute?
स्ट्रिंग की लेंथ रिटर्न करने के लिए हम किस कमांड को एक्सक्यूट करते हैं?
s.__len__()
len(s)
size(s)
s.size()
Previous Question
Next Question
25
See Explanation !
8
What does the function re-search do?
फ़ंक्शन फिर से खोज क्या करता है?
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 !
9
Which of the following function of dictionary gets all the keys from the dictionary
निम्नलिखित में से डिक्शनरी का कौन सा फ़ंक्शन डिक्शनरी से सभी की निकालने के लिए किया जाता है
getkeys()
key()
keys()
none of the mentioned
Previous Question
Next Question
25
See Explanation !
10
Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is:
मान लीजिए list1 = [0.5 * x for x in range(0, 4)], list1 है:
[0, 1, 2, 3]
[0, 1, 2, 3, 4]
[0.0, 0.5, 1.0, 1.5]
[0.0, 0.5, 1.0, 1.5, 2.0]
Previous Question
Next Question
25
See Explanation !
11
lstrip() method is used for :
lstrip () फंक्शन का उपयोग इसके लिए किया जाता है:
delete all the trailing whitespace characters
delete all the leading whitespace characters
delete all the leading and trailing whitespace characters
delete upper case characters
Previous Question
Next Question
25
See Explanation !
12
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
Provides a means of reuse of program code
Provides a means of dividing up tasks
Provides a means of reducing the size of the program
Provides a means of testing individual parts of the program
Previous Question
Next Question
25
See Explanation !
13
Given a string x="hello" What is the output of x.count('l')?
एक स्ट्रिंग x = "hello " को देखते हुए x.count ('1') का आउटपुट क्या है?
2
1
0
none
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following code snippet? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbe
निम्नलिखित कोड का परिणाम क्या है ? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbers)
[7, 19, 45, 89]
[2, 4, 22, 72]
[4, 7, 19, 2, 89, 45, 72, 22]
[24, 7, 19, 22, 45, 72, 89]
Previous Question
Next Question
25
See Explanation !
15
Function defined to achieve some task as per the programmers requirement is called a :
प्रोग्रामर की आवश्यकता के अनुसार कुछ कार्य को पूरा करने के लिए परिभाषित फ़ंक्शन को कहा जाता है:
User Defined Function
Library Functions
Builtin Functions
All of the above
Previous Question
Next Question
25
See Explanation !
16
What does the strip() method do in Python?
पाइथन में स्ट्रिप() विधि क्या करती है?
Removes all spaces from the string.
Removes the first and last character of the string.
Removes whitespace from the beginning and end of the string.
Converts the string into a list of characters.
Previous Question
Next Question
25
See Explanation !
17
Which function is used to Writes the string(s) to the file and returns the number of characters written.
स्ट्रिंग(ओं) को फ़ाइल में लिखने के लिए किस फ़ंक्शन का उपयोग किया जाता है और लिखे गए वर्णों की संख्या बताता है।
writeline (s)
write(s)
read(s)
None
Previous Question
Next Question
25
See Explanation !
18
What will tuple('abc') return?
Tuple(' abc ') क्या लौटाएगा?
('abc’)
('a', 'b', 'c’)
['a', 'b', 'c’]
Error
Previous Question
Next Question
25
See Explanation !
19
What is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Previous Question
Next Question
25
See Explanation !
20
Which of the following is the basic I/O connections in file?
फ़ाइल में बुनियादी I/O कनेक्शन निम्नलिखित में से कौन सा है?
Standard Input
Standard Output
Standard Errors
All of the mentioned
Previous Question
Next Question
25
See Explanation !
21
Which of the following can be a variable name in Python?
पायथन में निम्नलिखित में से कौन सा एक चर नाम हो सकता है?
123var
_var
if
var-name
Previous Question
Next Question
25
See Explanation !
22
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 !
23
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 !
24
What will be the output of following statement ? >>>"m"+"n1"
निम्नलिखित कोड का परिणाम क्या है ? >>>"m"+"n1"
'm+nl'
'mn1'
'm n1'
'm'
Previous Question
Next Question
25
See Explanation !
25
Which of the following functions that retrieve information from the data type?
निम्नलिखित में से कौन सा कार्य डेटा प्रकार से जानकारी प्राप्त करता है?
Constructors
Retriever
Finder
Selectors
Previous Question