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
n the Python statement x =a + 5 - b : a + 5 - b is
n पायथन कथन x =a 5 - b : a 5 - b है
Operands
Expression
operators
Equation
Next Question
25
See Explanation !
2
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? i = 1 while False: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि False: if i%2 == 0: break print(i) i = 2
1
1 3 5 7 …
1 2 3 4 …
Nothing will be printed
Previous Question
Next Question
25
See Explanation !
4
Which module in the python standard library parses options received from the command line?
पायथन स्टैंडर्ड लाइब्रेरी में कौन सा मॉड्यूल कमांड लाइन से प्राप्त ऑप्शन है?
getopt
os
getarg
main
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? x = ['ab', 'cd'] for i in x: x.append(i.upper()) print(x)
X: x.append (i.upper ()) print(x) में i के लिए निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = [' ab ', 'cd ']
[‘AB’, ‘CD’]
[‘ab’, ‘cd’, ‘AB’, ‘CD’]
[‘ab’, ‘cd’]
Infinite Loop
Previous Question
Next Question
25
See Explanation !
6
The command is used to take input from the keyboard.
कमांड का उपयोग कीबोर्ड से इनपुट लेने के लिए किया जाता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.keys(): print(d[x])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.keys () में x के लिए: print(d[x])
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? min(max(False,-3,-4), 2,7)
2
False
-3
-4
Previous Question
Next Question
25
See Explanation !
10
Which is the function to read the remaining lines of the file from a file object infile?
फ़ाइल ऑब्जेक्ट infile से फ़ाइल की शेष पंक्तियों को पढ़ने के लिए कौन सा फंक्शन है?
infile.read(2)
infile.read()
infile.readlines()
infile.readline()
Previous Question
Next Question
25
See Explanation !
11
What is the output of below program ? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
2
3
The number are equal
None of These
Previous Question
Next Question
25
See Explanation !
12
____ is a set of functions you want to include in your applications.
____ कार्यों का एक सेट है जिसे आप अपने अनुप्रयोगों में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code snippet? print('HelloWorld'.istitle())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('HelloWorld'.istitle ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
14
What is NumPy?
NumPy क्या है?
A machine learning library
A web development framework
A numerical computing library in Python
A data visualization tool
Previous Question
Next Question
25
See Explanation !
15
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
16
Connectors used to connect flowchart symbols to each other are classified as.
फ्लोचार्ट प्रतीकों को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को इस प्रकार वर्गीकृत किया जाता है।
Arrow lines.
Symbols
Annotation
Special symbols
Previous Question
Next Question
25
See Explanation !
17
Which of the following functions converts a string to a float in python ?
निम्नलिखित में से कौन सा कार्य अजगर में एक स्ट्रिंग को एक फ्लोट में परिवर्तित करता है?
int(x [,base])
long(x [,base])
float(x)
str(x)
Previous Question
Next Question
25
See Explanation !
18
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
19
The syntax used to rename a file :
फ़ाइल का नाम बदलने के लिए प्रयुक्त सिंटैक्स:
os.rename(existing_name, new_name)
fq.name = ‘new_name.txt’
os.rename(fp, new_name)
os.set_name(existing_name, new_name)
Previous Question
Next Question
25
See Explanation !
20
Which of the following argument we need to pass in reshape function.
निम्नलिखित में से कौन सा आर्गुमेन्ट हमें reshape फंक्शन में पास करने की आवश्यकता होती है।
Shape
Array
both a) and b)
None of the above.
Previous Question
Next Question
25
See Explanation !
21
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है।
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
22
What is list data type in python?
अजगर में सूची डेटा प्रकार क्या है?
collection of integer number
collection of string
collection of same data type
collection of different data type
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
24
Which operator is used in Python to import modules from packages?
पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है?
.
*
->
&
Previous Question
Next Question
25
See Explanation !
25
Which of the following is a valid way to create an empty tuple?
खाली टपल बनाने के लिए निम्नलिखित में से कौन सा एक वैध तरीका है?
empty_tuple = ()
empty_tuple = tuple()
empty_tuple = []
Both A and B
Previous Question