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
The function which reads one line from standards input and returns it as a string (removing the trailing newline)
वह फंक्शन जो स्टैण्डर्ड इनपुट से एक पंक्ति रीड करता है और इसे स्ट्रिंग के रूप में लौटाता है (ट्रेलिंग न्यूलाइन को हटाते हुए)
raw_input
input
eval
accept
Next Question
25
See Explanation !
2
n the Python statement x =a + 5 - b : a + 5 - b is
n पायथन कथन x =a 5 - b : a 5 - b है
Operands
Expression
operators
Equation
Previous Question
Next Question
25
See Explanation !
3
In the declaration, x = Circle (), x contains a _to Circle object. -
घोषणा में, x = Circle (), x में a_to Circle ऑब्जेक्ट है। -
dropna()
Reference
Optimisers
None of these
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following program: i = 0 while i < 3: print (i) i=i+1 print (i+1)
निम्नलिखित प्रोग्राम का आउटपुट क्या है: i = 0 while i < 3: print (i) i=i+1 print (i+1)
0 2 1 3 2 4
0 1 2 3 4 5
Infinite loop
0 1 2 3
Previous Question
Next Question
25
See Explanation !
5
How are default arguments specified in the function heading?
फ़ंक्शन के हैडिंग में डिफ़ॉल्ट आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
identifier followed by an equal to sign and the default value
identifier followed by the default value within backticks (“)
identifier followed by the default value within square brackets ([])
identifier
Previous Question
Next Question
25
See Explanation !
6
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 !
7
os.getlogin() function return?
os.getlogin() फ़ंक्शन क्या रिटर्न करेगा ?
Return the name of the user logged in to the terminal
Return the email of the user logged in to the terminal
Return the login time when user logged in to the terminal
None of the above
Previous Question
Next Question
25
See Explanation !
8
Which of the following is not a valid mode to open a file?
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है?
ab
rw
r+
w+
Previous Question
Next Question
25
See Explanation !
9
Suppose i is 5 and j is 4, i + j is same as ________
मान लीजिए कि i 5 है और j 4 है, i + j ________ के समान है
i.__add(j)
i.__add__(j)
i.__Add(j)
i.__ADD(j)
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not a token ?
निम्नलिखित में से कौन एक टोकन नहीं है?
Interpreter
Identifiers
Keyword
Operators
Previous Question
Next Question
25
See Explanation !
11
How do you import NumPy in Python?
आप Python में NumPy कैसे इम्पोर्ट करते हैं?
import numpy as np
import numPy
from python import numpy
using numpy
Previous Question
Next Question
25
See Explanation !
12
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
स्ट्रिंग 3 = "हैलो" से इंडेक्स 3 पर character को रिट्रीव करने के लिए हम किस कमांड को एक्सक्यूट करते हैं (multiple answers allowed)?
s[]
s.getitem(3)
s.__getitem__(3)
s.getItem(3)
Previous Question
Next Question
25
See Explanation !
13
Escape sequences are treated as ____
एस्केप सीक्वेंस को ____ माना जाता है
Strings
Characters
Integers
None of These
Previous Question
Next Question
25
See Explanation !
14
In Python, which of the following will create a block in a compound statement ?
पायथन में, निम्नलिखित में से कौन एक यौगिक कथन में एक ब्लॉक बनाएगा?
colon
statements indented at a lower, same level
indentation in any form
{ }
Previous Question
Next Question
25
See Explanation !
15
The sleep function (under the time module) is used to ___________
स्लीप फ़ंक्शन (टाइम मॉड्यूल के अंडर) ___________ के लिए यूज़ किया जाता है
Pause the code for the specified number of seconds
Return the specified number of seconds, in terms of milliseconds
Stop the execution of the code
Return the output of the code had it been executed earlier by the specified number of seconds
Previous Question
Next Question
25
See Explanation !
16
What data type is the object below ? L=[1, 23, 'hello', 1]
नीचे दिया गया ऑब्जेक्ट किस डेटा प्रकार का है? L=[1, 23, 'hello', 1]
List
Dictionary
Tuple
Array
Previous Question
Next Question
25
See Explanation !
17
To give a default separator with print() argument is used.
Print() तर्क के साथ एक डिफ़ॉल्ट विभाजक देने के लिए उपयोग किया जाता है।
sep
separator
end
tab
Previous Question
Next Question
25
See Explanation !
18
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
6
1
1.5
Error
Previous Question
Next Question
25
See Explanation !
19
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following code? a=((0,2,3,4)[1:-2]) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? a=((0,2,3,4)[1:-2]) print(a)
(3,)
(2, )
(1,)
(0,)
Previous Question
Next Question
25
See Explanation !
21
The.........symbol is always the first and the last symbol in the flowchart.
......... symbol फ्लोचार्ट में हमेशा पहला और अंतिम प्रतीक होता है।
Rectangle
Terminal
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
22
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
seed()
sqrt()
factorial()
print()
Previous Question
Next Question
25
See Explanation !
23
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम _____ हैं।
Identifiers
Function
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
24
The Pandas ______ method returns a new Data Prame.
पांडा की ______ विधि एक नया डेटा प्रैम बताती है।
dropna()
Pandas
read_csv()
None of these
Previous Question
Next Question
25
See Explanation !
25
what will the output of following code my_string="Hello,world" print(my_string[-6:-1])
निम्नलिखित कोड का आउटपुट क्या होगा my_string ="हैलो,वर्ल्ड" प्रिंट(my_string [-6:-1])
,worl
worl
world
oworld
Previous Question