Syllabus
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
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
2025
New!
2024
New!
2023
New!
2022
New!
2021
New!
2020
New!
2019
New!
2018
New!
2017
New!
2016
New!
2015
New!
2014
New!
2013
New!
2012
New!
2011
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
The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?
Yes
No
Can't say
None of these
Next Question
25
See Explanation !
2
random.shuffle() function shuffle value of
random.shuffle() फंक्शन किसकी वैल्यू को शफल करता है
take a sequence, like a list, and arrange the items in ascending order
take a sequence, like a list, and reorganize the order of the items.
take a sequence, like a list, and arrange the items in descending
take a sequence, like a list, and return the same copy of sequence
Previous Question
Next Question
25
See Explanation !
3
What is a correct method to join two or more arrays?
दो या दो से अधिक सरणियों में शामिल होने का सही तरीका क्या है?
np.concatenate()
np.join()
np.array_join()
np.join_array()
Previous Question
Next Question
25
See Explanation !
4
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
5
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question
Next Question
25
See Explanation !
6
Select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? names = ['Amir', 'Bear', 'Charlton', 'Daman'] print(names[-1][-1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? NAMES = [' अमीर ', 'भालू ',' चार्ल्टन ', 'दमन '] PRINT(NAMES [-1] [-1])
A
Daman
Error
n
Previous Question
Next Question
25
See Explanation !
8
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में सूची का अंतिम तत्व खोजें? मान लें कि 'बाइक' सूची का नाम है।
bikes[:-1]
bilkes[1]
bikes (:-1)
None of the above
Previous Question
Next Question
25
See Explanation !
9
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
11
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?
मान लीजिए कि list1 [4, 2, 2, 4, 5, 2, 1, 0] है, स्लाइसिंग ऑपरेशन के लिए निम्नलिखित में से कौन सा वाक्यविन्यास सही है?
print(list1[0])
print(list1[:2])
print(list1[:-2])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following code? list1=[2,33,222,14,25] print(list1[-1])
निम्नलिखित कोड का आउटपुट क्या होगा? list1=[2,33,222,14,25] print(list1[-1])
2
33
14
25
Previous Question
Next Question
25
See Explanation !
13
Which statement will open file data.txt in append mode?
कौन सा स्टेटमेंट data.txt फाइल को एपेंड मोड में खोलेगा?
f = open("data.txt", "a")
f = Open("data.txt", "ab")
f= new("data.txt", "a")
open("data.txt", "a")
Previous Question
Next Question
25
See Explanation !
14
What does random.shuffle(x) do when x = [1, 2, 3]?
जब x = [1, 2, 3] random.shuffle(x) क्या करता है?
error
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
none of the mentioned
Previous Question
Next Question
25
See Explanation !
15
immutable means.
अपरिवर्तनीय साधन हैं।
They cannot be edited
They can be edited
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd '))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
17
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 !
18
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 !
19
Given a function that does not return any value, what value is shown when executed at the shell ?
एक फ़ंक्शन जो कोई मान नहीं लौटाता है ,शेल पर निष्पादित होने पर कौन सा मान दिखाया जाता है
int
bool
void
None
Previous Question
Next Question
25
See Explanation !
20
Which of the following will not be returned by random.choice(“1 ,”)?
निम्नलिखित में से कौन सा random.choice(“1 ,”) द्वारा रिटर्न नहीं किया जाएगा?
1
(space)
'
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
What are the attributes of numpy array?
Numpy सरणी के गुण क्या हैं?
shape, dtype, ndim
objects, type, list
objects, non vectorization
Unicode and shape
Previous Question
Next Question
25
See Explanation !
22
What is the purpose of the in operator in Python?
पायथन में इन ऑपरेटर का उद्देश्य क्या है?
Checks if an element exists within a sequence.
Checks for inequality between two variables.
Checks if two variables refer to the same object.
Checks the length of a sequence.
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
1
3
5
6
Previous Question
Next Question
25
See Explanation !
24
In Python, which of the following will create a block in a compound statement ?
पायथन में, निम्नलिखित में से कौन एक यौगिक कथन में एक ब्लॉक बनाएगा?
colon
statements indented at a lower, same level
indentation in any form
{ }
Previous Question
Next Question
25
See Explanation !
25
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
Previous Question