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
Which of the following is the basic I/O connections in file ?
फ़ाइल में निम्न में से कौन सा बुनियादी I/O कनेक्शन है?
Standard Input
Standard Output
Standard Errors
All of the mentioned
Next Question
25
See Explanation !
2
To return the length of string s what command do we execute?
स्ट्रिंग की लेंथ रिटर्न करने के लिए हम किस कमांड को एक्सक्यूट करते हैं?
s.__len__()
len(s)
size(s)
s.size()
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Which one is not a looping structure available in python.
पायथन में कौन सी लूपिंग स्ट्रक्चर अवेलबल नहीं है?
while loop
for loop
do while loop
all of these
Previous Question
Next Question
25
See Explanation !
5
range(3) in Python is equivalent to:
पायथन में range(3) के बराबर है:
range(0,3,1)
range(1,4,1)
range(1,3)
range(1,3,0)
Previous Question
Next Question
25
See Explanation !
6
Which of the following commands will create a list?
निम्नलिखित में से कौन सा आदेश एक सूची बनाएगा?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
7
Which function is used to generate a sequence of numbers in Python loops?
पायथन लूप्स में नंबर्स का सीक्वेंस जनरेट करने के लिए किस फ़ंक्शन का यूज़ किया जाता है?
sequence()
range()
list()
loop()
Previous Question
Next Question
25
See Explanation !
8
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
9
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 !
10
____ 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 !
11
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x: x = x[1:] print(i, end = "")
a a a a a a
a
no output
error
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? import datetime d=datetime.date(2017,6,18) print(d)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime d=datetime.date(2017,6,18) print(d)
Error
2017-06-18
18-06-2017
06-18-2017
Previous Question
Next Question
25
See Explanation !
13
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
14
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
my_string_1
1st_string
foo
_myvar
Previous Question
Next Question
25
See Explanation !
15
Which function is used to Evaluates string and returns an object.
स्ट्रिंग का मूल्यांकन करने और किसी ऑब्जेक्ट को वापस करने के लिए किस फ़ंक्शन का उपयोग किया जाता है।
exp(x)
eval(str)
str(x)
None of the above
Previous Question
Next Question
25
See Explanation !
16
Testing is known as -
परीक्षण को किस रूप में जाना जाता है -
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of the above
Previous Question
Next Question
25
See Explanation !
17
_____ is also known as the alias array.
_____ को उपनाम सरणी के रूप में भी जाना जाता है।
ndarray
array
alias
None of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following? print(sum(1,2,3))
निम्नलिखित कोड का परिणाम क्या है ? print(sum(1,2,3))
error
6
1
3
Previous Question
Next Question
25
See Explanation !
19
Every function has an implicit statement _____ as the last instruction in the function body.
फ़ंक्शन बॉडी में अंतिम निर्देश के रूप में प्रत्येक फ़ंक्शन का एक अंतर्निहित कथन _____ होता है।
Return
pass
for
None of these
Previous Question
Next Question
25
See Explanation !
20
which of the following is an escape sequence for a tab character
निम्नलिखित में से कौन एक टैब वर्ण के लिए एक एस्केप अनुक्रम है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
21
Which of the following statements are used in Exception Handling in Python?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन सा कथन उपयोग किया जाता है?
try
except
finally
All of the above
Previous Question
Next Question
25
See Explanation !
22
To obtain a list of all the functions defined under sys module, which of the following functions can be used?
Sys मॉड्यूल के अंडर डिफाइन सभी फंक्शंस की एक लिस्ट प्राप्त करने के लिए, निम्नलिखित में से किस फ़ंक्शन का यूज़ किया जा सकता है?
print(sys)
print(dir.sys)
print(dir[sys])
print(dir(sys))
Previous Question
Next Question
25
See Explanation !
23
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 !
24
Negative count from the Right.
दाईं ओर से नकारात्मक गिनती।
L1[-2]
L1[-1]
L1[2]
None of the above
Previous Question
Next Question
25
See Explanation !
25
What happens if the base condition isn’t defined in recursive programs?
यदि रिकर्सिव फ़ंक्शन में बेस की कंडीशन को डिफाइन नहीं किया जाता है तो क्या होता है?
Program gets into an infinite loop
Program runs once
Program runs n number of times where n is the argument given to the function
An exception is thrown
Previous Question