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 be the output of the following Python code snippet? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
0 1 2 3
0 1 2 2
3 3 3 3
error
Next Question
25
See Explanation !
2
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Previous Question
Next Question
25
See Explanation !
3
Which of the following defines what an object can do?
निम्नलिखित में से कौन परिभाषित करता है कि कोई वस्तु क्या कर सकती है?
Operating System
Compiler
Interface
None of these
Previous Question
Next Question
25
See Explanation !
4
Which of the following function headers is correct ?
निम्नलिखित में से कौन सा फंक्शन हेडर सही है?
def fun (a = 2, b = 3, c)
def fun(a = 2, b, c = 3)
def fun(a, b = 2, c = 3)
def fun(a, b, c = 3, d)
Previous Question
Next Question
25
See Explanation !
5
Which statement is correct?
कौन सा कथन सही है?
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both are mutable
Both are immutable
Previous Question
Next Question
25
See Explanation !
6
which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :
#
=
/
&
Previous Question
Next Question
25
See Explanation !
7
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
4
8
16
32
Previous Question
Next Question
25
See Explanation !
8
How many arguments a Python program can accept from the command line?
पायथन प्रोग्राम कमांड लाइन से कितने तर्क स्वीकार कर सकता है?
One
Two
Three
Any Number of Times
Previous Question
Next Question
25
See Explanation !
9
____ is a set of functions you want to include in your application.
____ फ़ंक्शंस का एक सेट है जिसे आप अपने ऐप्लिकेशन में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
10
What is recursion in python?
पाइथन में रिकर्शन फंक्शन के है
Repeating a process in a loop
Calling a function from within itself
Using a loop to iterate over elements
Breaking down a problem into smaller subproblems
Previous Question
Next Question
25
See Explanation !
11
___ is correct regarding the object- oriented programming concept in Python?
___ पायथन में ऑब्जेक्ट - ओरिएंटेड प्रोग्रामिंग अवधारणा के बारे में सही है?
Classes are real world entities.
Objects are real world entities
Objects and classes are real world entities.
objects are real-world entities while classes are not real.
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? print('xyxxyyzxxy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyxxyyzxxy '.lstrip (' xyy '))
zxxy
xyxxyyzxxy
xyxzxxy
none of the mentioned
Previous Question
Next Question
25
See Explanation !
13
What will happen if a for loop tries to iterate over an empty list?
यदि कोई लूप किसी एम्प्टी लिस्ट पर पुनरावृति करने का प्रयास करता है तो क्या होगा?
It will raise an IndexError.
It will iterate once with a default value of None.
It will not execute the loop body.
It will run indefinitely.
Previous Question
Next Question
25
See Explanation !
14
To add a new element to a list we use which Python command?
एक सूची में एक नया तत्व जोड़ने के लिए हम किस पायथन कमांड का उपयोग करते हैं?
list1.addEnd (5)
list1.addLast (5)
list1.append (5)
list1.add(5)
Previous Question
Next Question
25
See Explanation !
15
In flowchart, parallelogram is used to show
फ्लोचार्ट में, समानांतर चतुर्भुज का उपयोग दिखाने के लिए किया जाता है
General input symbol
Operation on data
Online use of keyboard
Output data screen
Previous Question
Next Question
25
See Explanation !
16
NumPY stands for. -
NumPY का अर्थ है -
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? >>> a={5,6,7} >>> sum(a,5)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? >>> a={5,6,7} >>> sum(a,5)
5
23
18
Invalid syntax for sum method, too many arguments
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
19
What is the output of the following code? print(len("Python\nProgramming"))
निम्नलिखित कोड का आउटपुट क्या है? print(len(" Python\ nProgramming "))
19
18
17
Error
Previous Question
Next Question
25
See Explanation !
20
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question
Next Question
25
See Explanation !
21
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
22
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
23
What is a correct syntax to print the numbers [3, 4, 5] from the array below: arr = np.array([1,2,3,4,5,6,7])
नीचे दी गई सारणी से संख्या [3, 4, 5] को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([1,2,3,4,5,6,7])
print(arr[2:4])
print(arr[2:5])
print(arr[2:6])
print(arr[3:6])
Previous Question
Next Question
25
See Explanation !
24
To remove string "hello" from list1, we use which command ?
List1 से स्ट्रिंग "hello" हटाने के लिए, हम किस कमांड का उपयोग करते हैं?
list1.remove("hello")
list1.remove(hello)
list1.removeAll("hello")
list1.removeOne ("hello")
Previous Question
Next Question
25
See Explanation !
25
The _____ function converts the specified value into a string.
_____ फ़ंक्शन निर्दिष्ट मान को स्ट्रिंग में परिवर्तित करता है।
str()
int()
String()
None of these
Previous Question