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
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
a
b
A
B
Next Question
25
See Explanation !
2
Which one of the following is immutable data type ?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dictionary
Previous Question
Next Question
25
See Explanation !
3
Which of the following returns an array of ones with the same shape and type as a given array?
निम्नलिखित में से कौन दिए गए ऐरे के समान आकार और प्रकार का एक ऐरे देता है?
all_like
ones_like
one_alike
all of the mentioned
Previous Question
Next Question
25
See Explanation !
4
How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड हैं?
32
33
31
30
Previous Question
Next Question
25
See Explanation !
5
ndarray is also known as the ____ array.
ndarray को ____ सरणी के रूप में भी जाना जाता है।
Array
alias
variable
None of these
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
1 A 2 B 3 C
1 2 3
A B C
1:”A” 2:”B” 3:”C”
Previous Question
Next Question
25
See Explanation !
7
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
Next Question
25
See Explanation !
8
To add a new element to a list we use which command?
एक लिस्ट में एक न्यू एलिमेंट ऐड करने के लिए हम किस कमांड का यूज़ करते हैं?
list1.add(5)
list1.append(5)
list1.addLast(5)
list1.addEnd(5)
Previous Question
Next Question
25
See Explanation !
9
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 !
10
What will be the output of the following Python code snippet? print('abc'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abc'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
11
Which of the following function convert a sequence of tuples to dictionary in python?
निम्नलिखित में से कौन सा फ़ंक्शन ट्यूपल्स के अनुक्रम को अजगर में शब्दकोश में परिवर्तित करता है?
set (x)
dict(d)
frozenset(s)
chr(x)
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code snippet? print('11'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('11'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
13
Which of the following is not a correct mode to open a file ?
फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
14
Which operator is also called as Conditional operator?
किस ऑपरेटर को कंडीशनल ऑपरेटर भी कहा जाता है?
Ternary
Relational
Logical
Assignment
Previous Question
Next Question
25
See Explanation !
15
What is the value of the following Python code? >>>print(36 / 4)
निम्नलिखित कोड का परिणाम क्या है ?
9
4
9.0
4.0
Previous Question
Next Question
25
See Explanation !
16
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है? -
Exponential
Parentheses
Multiplication
None of the above
Previous Question
Next Question
25
See Explanation !
17
Python supports the creation of anonymous functions at runtime, using a construct called
पायथन एक निर्माण का उपयोग करते हुए रनटाइम पर अनाम कार्यों के निर्माण का समर्थन करता है
pi
anonymous
lambda
none of the above
Previous Question
Next Question
25
See Explanation !
18
Which of the following is not a legal integer type value in Python
निम्नलिखित में से कौन पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
19
What will tuple('abc') return?
Tuple(' abc ') क्या लौटाएगा?
('abc’)
('a', 'b', 'c’)
['a', 'b', 'c’]
Error
Previous Question
Next Question
25
See Explanation !
20
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 !
21
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is the value of list1.count(5)?
मान लीजिए list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.count (5) का मान क्या है?
0
4
1
2
Previous Question
Next Question
25
See Explanation !
22
Each module should also be divided into sub modules according to software engineering and programming style.
प्रत्येक मॉड्यूल को सॉफ्टवेयर इंजीनियरिंग और प्रोग्रामिंग शैली के अनुसार उप मॉड्यूल में भी विभाजित किया जाना चाहिए।
Top down method
Bottom up method
Coding
None of the above
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', 2))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', 2))
[‘ab’, ‘ef’, ‘ghcd’]
[‘ab’, ‘efcdghcd’]
[‘abcdef’, ‘ghcd’]
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
The readlines() method reads and returns ______ .
रीडलाइन () विधि पढ़ती है और ______ लौटाती है।
individual lines of a file.
A list of remaining lines of the entire file
Write individual lines
None of the Above
Previous Question
Next Question
25
See Explanation !
25
Which function is used to generate a sequence of numbers in Python loops?
पायथन लूप्स में नंबर्स का सीक्वेंस जनरेट करने के लिए किस फ़ंक्शन का यूज़ किया जाता है?
sequence()
range()
list()
loop()
Previous Question