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
Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन एक नए लाइन कैरेक्टर के लिए एक एस्केप सीक्वेंस है
\a
\t
\n
\b
Next Question
25
See Explanation !
2
In Python, the primary use of the tell() method is that:
पायथन में, tell() विधि का प्राथमिक उपयोग यह है कि:
within the file, it tells the end position.
within the file, it tells the current position.
it tells us if the file is opened.
none of the above.
Previous Question
Next Question
25
See Explanation !
3
If the else statement is used with a while loop, the else statement is executed when the condition becomes _____ .
यदि else स्टेटमेंट का प्रयोग 'व्हाइल' लूप के साथ किया जाता है, तो else स्टेटमेंट तब निष्पादित होता है जब कंडीशन हो जाती है।
True
False
Infinite
NULL
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python statement? print(ord('b') - ord('a'))
निम्नलिखित पायथन कथन का आउटपुट क्या होगा? print(ord (' b ') - ord(' a '))
0
1
-1
2
Previous Question
Next Question
25
See Explanation !
5
To give a different separator with print() ______ argument is sued.
Print() ______ तर्क के साथ एक अलग विभाजक देने के लिए मुकदमा दायर किया जाता है।
sep
separator
end
tab
Previous Question
Next Question
25
See Explanation !
6
What does the following code print ? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
निम्नलिखित कोड क्या प्रिंट करता है? if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")
TRUE
TRUE FALSE
TRUE TRUE
FALSE TRUE
Previous Question
Next Question
25
See Explanation !
7
Which of the following is a logical operator in Python?
निम्नलिखित में से कौन पायथन में एक लॉजिकल ऑपरेटर है?
and
or
not
All of the these
Previous Question
Next Question
25
See Explanation !
8
NumPY stands for?
NumPY का मतलब है?
Numbering Python
Number in Python
Numerical Python
Number for Python
Previous Question
Next Question
25
See Explanation !
9
Which of the statements about dictionary values if false?
ड़िक्शनरी वैल्यूज में से कौन सा स्टेट्मेंट यदि गलत है?
More than one key can have the same value
The values of the dictionary can be accessed as dict[key]
Values of a dictionary must be unique
Values of a dictionary can be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
10
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए उपयोग किया जाने वाला प्रतीक _____ है।
parallelogram
Diamond shape
Circle shape
None of the above
Previous Question
Next Question
25
See Explanation !
11
The function generates sequence of numbers from 1 to n.
फ़ंक्शन 1 से n तक संख्याओं का अनुक्रम उत्पन्न करता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
12
The ____ provides pictorial representation of given problem.
____ दी गई समस्या का चित्रात्मक प्रतिनिधित्व प्रदान करता है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
13
lstrip() method is used for :
lstrip () फंक्शन का उपयोग इसके लिए किया जाता है:
delete all the trailing whitespace characters
delete all the leading whitespace characters
delete all the leading and trailing whitespace characters
delete upper case characters
Previous Question
Next Question
25
See Explanation !
14
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
15
150
200
10
Previous Question
Next Question
25
See Explanation !
15
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 !
16
What will be the output of the following Python code? print("Welcome to Python".split())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("Welcome to Python".split())
[“Welcome”, “to”, “Python”]
(“Welcome”, “to”, “Python”)
{“Welcome”, “to”, “Python”}
“Welcome”, “to”, “Python”
Previous Question
Next Question
25
See Explanation !
17
Which of the following is not a declaration of the dictionary?
निम्नलिखित में से कौन सा ड़िक्शनरी का डिक्लेरेशन नहीं है?
{1: ‘A’, 2: ‘B’}
dict([[1,”A”],[2,”B”]])
{1,”A”,2”B”}
{ }
Previous Question
Next Question
25
See Explanation !
18
The functions which are coming with Python software automatically are called ____ .
पायथन सॉफ्टवेयर के साथ आने वाले कार्यों को स्वचालित रूप से ____ कहा जाता है।
built-in functions
User-defined functions
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
19
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 !
20
ndarray is also known as the ____ array.
ndarray को ____ सरणी के रूप में भी जाना जाता है।
Array
alias
variable
None of these
Previous Question
Next Question
25
See Explanation !
21
which of the following will read entire content of file (file object 'f')?
निम्नलिखित में से कौन फ़ाइल (file object 'f') की संपूर्ण सामग्री को पढ़ेगा ?
f.reads()
f.read()
f.read(all)
f.read( *)
Previous Question
Next Question
25
See Explanation !
22
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
____ चरण - दर - चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो अंत या समाधान के साथ एक समस्या को हल करता है
Flowchart
Algorithm
Process
None of these
Previous Question
Next Question
25
See Explanation !
23
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 !
24
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question
Next Question
25
See Explanation !
25
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