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
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम _____ हैं।
Identifiers
Function
Keywords
Literals
Next Question
25
See Explanation !
2
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
[2 4 1]
[3 4 1]
[2 3 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
3
Which of the following is not a features of Python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है?
platform-independent
Low Level Language
Python is open-source and free to use
Object Oriented Programming
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following program ? print 0.1+0.2==0.3
निम्नलिखित प्रोग्राम का आउटपुट क्या है? प्रिंट 0.1 0.2==0.3
True
False
Machine dependent
Error
Previous Question
Next Question
25
See Explanation !
5
Which of the following function returns the index value of first occurrence of substring occurring in the given string.
निम्नलिखित में से कौन सा फंक्शन दिए गए स्ट्रिंग में होने वाली सबस्ट्रिंग की पहली घटना का इंडेक्स मान बताता है।
index()
find()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
6
what is the output of the following code? M=['b' *x for x in range(4)] print(M)
निम्नलिखित कोड का परिणाम क्या है ? M=['b' *x for x in range(4)] print(M)
['', 'b', 'bb', 'bbb']
['b,'bb', "bbb', "bbbb']
['b','bb', bbb']
none of these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code snippet? print('abcefd'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcefd '.replace (' cd ', '12 '))
ab1ef2
abcefd
ab1efd
ab12ed2
Previous Question
Next Question
25
See Explanation !
8
The process of drawing a flowchart for an algorithms is called
एक एल्गोरिदम के लिए एक फ्लोचार्ट बनाने की प्रक्रिया को कहा जाता है
Performance
Algorithmic Representation
Evaluation
Flowcharting
Previous Question
Next Question
25
See Explanation !
9
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम सूची सूचकांक के बाहर आइटम तक पहुंचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
List is not defined
List index out of range
List index out of bound
None of the above
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
Leading white space at the beginning of each element, which is used to determine the group of statement
प्रत्येक तत्व की शुरुआत में अग्रणी सफेद स्थान, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
12
Which of the following python function converts a string to a list.
निम्नलिखित में से कौन सा पायथन फ़ंक्शन एक स्ट्रिंग को एक सूची में परिवर्तित करता है।
list()
str()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
13
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 !
14
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 !
15
What will be the output of the following Python code? i = 2 while True: if i%3 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 2 जबकि सही: यदि i%3 == 0: break print(i) i = 2
2 4 6 8 10 …
2 4
2 3
error
Previous Question
Next Question
25
See Explanation !
16
Which statement can be use to swap the values of an and b
a और b के मानों को स्वैप करने के लिए किस कथन का उपयोग किया जा सकता है?
a=b,b=a
a,b=b,a
a=b;b=a
a=b and b=a
Previous Question
Next Question
25
See Explanation !
17
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 2, 11))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', 2, 11))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
19
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फ़ंक्शन फ़ाइल से एक पंक्ति पढ़ता है; स्ट्रिंग के अंत में एक नई पंक्ति वर्ण (\n) छोड़ दिया जाता है।
read()
Readline()
write()
None of these
Previous Question
Next Question
25
See Explanation !
20
The tiny individual unit in python program is known as
अजगर कार्यक्रम में छोटी व्यक्तिगत इकाई को............ के रूप में जाना जाता है
Keywords
Identifires
Token
Statement
Previous Question
Next Question
25
See Explanation !
21
To increase the value of x five times using an augmented assignment operator, the correct expression will be
संवर्धित असाइनमेंट ऑपरेटर का उपयोग करके x के मान को पांच गुना बढ़ाने के लिए, सही अभिव्यक्ति होगी
x += 5
x *= 5
x = x ** 5
none of these
Previous Question
Next Question
25
See Explanation !
22
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
4
8
16
32
Previous Question
Next Question
25
See Explanation !
23
A step by step method for solving a problem using English Language
अंग्रेजी भाषा का उपयोग करके किसी समस्या को हल करने के लिए चरण - दर - चरण विधि
program
Flowchart
statement
Algorithm
Previous Question
Next Question
25
See Explanation !
24
An empty / null statement in Python is _____ .
Python में एक खाली / शून्य कथन _____ है।
pass
null
empty
None
Previous Question
Next Question
25
See Explanation !
25
How many numbers will be printed by the following code? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
7
8
6
9
Previous Question