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
CSS
Javascript
Python
Practical Questions
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? print("xyyzxyzxzxyy".endswith("xyy"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy ".endswith (" xyy "))
1
True
3
2
Next Question
25
See Explanation !
2
what is Lambda function in python
पायथन में लैम्ब्डा फंक्शन क्या है ?
A built-in Python function
A one-line anonymous function
Lambda is a function in python but user can not use it.
None of the above
Previous Question
Next Question
25
See Explanation !
3
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
4
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} print(a.items())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.items())
Syntax error
dict_items([(‘A’), (‘B’), (‘C’)])
dict_items([(1,2,3)])
dict_items([(1, ‘A’), (2, ‘B’), (3, ‘C’)])
Previous Question
Next Question
25
See Explanation !
6
Which one of the following is the correct extension of the Python file?
पाइथन फ़ाइल का सही एक्सटेंशन निम्नलिखित में से कौन सा है?
.python
.py
.p
.pyt
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’}
Method update() doesn’t exist for dictionaries
{1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}
{4: ‘D’, 5: ‘E’}
Previous Question
Next Question
25
See Explanation !
8
What does the update() method do in a dictionary?
अपडेट() विधि शब्दकोश में क्या करती है?
Clears all key-value pairs
Updates a specific key
Merges another dictionary into the current one
Removes all values
Previous Question
Next Question
25
See Explanation !
9
Which one of these is NOT true about recursion?
इनमें से कौन सा पुनरावृत्ति के बारे में सही नहीं है?
We can replace a recursive function by a non-recursive function.
The memory space taken by the recursive functions is more than that of non-recursive function,
Running a recursive function is faster as compared to a non-recursive function.
The process of recursion makes it easier for users to understand a program.
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]:
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]: v
3
5
6
33
Previous Question
Next Question
25
See Explanation !
12
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question
Next Question
25
See Explanation !
13
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
14
Which one of the following is the correct extension of the Python file.
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही विस्तार है।
.py
.python
.p
None of these
Previous Question
Next Question
25
See Explanation !
15
The datatype whose representation is known are called
जिस डेटाटाइप का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
16
What is the output of the following code? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
6 4
4 6
4 4
6 6
Previous Question
Next Question
25
See Explanation !
17
Which of the following is a valid arithmetic operator in Python?
पायथन में निम्नलिखित में से कौन एक मान्य अंकगणितीय ऑपरेटर है?
/ /
>
and
?
Previous Question
Next Question
25
See Explanation !
18
What is the output when we execute list("hello")?
जब हम सूची(" हैलो ") निष्पादित करते हैं तो आउटपुट क्या होता है?
['llo']
['hello']
['h', 'e', T', '1', 'o']
None of the above
Previous Question
Next Question
25
See Explanation !
19
Which of the following methods can be used with a tuple?
निम्नलिखित में से किस विधि का उपयोग टपल के साथ किया जा सकता है?
append()
insert()
index()
remove()
Previous Question
Next Question
25
See Explanation !
20
Which of these in not a core data type in python?
इनमें से कौन सा पायथन में कोर डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
21
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 !
22
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
23
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 !
24
______ are additional readable information to clarify the statement in python.
अजगर में कथन को स्पष्ट करने के लिए ______ अतिरिक्त पठनीय जानकारी हैं।
Comments
Expressions
Tokens
Flow of control
Previous Question
Next Question
25
See Explanation !
25
The ____ provides pictorial representation of given problem.
____ दी गई समस्या का चित्रात्मक प्रतिनिधित्व प्रदान करता है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question