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
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Next Question
25
See Explanation !
2
Two main measures for the efficiency of an algorithm are
एक एल्गोरिथ्म की दक्षता के लिए दो मुख्य उपाय हैं
Processor and memory
Complexity and capacity
Time and space
Data and space
Previous Question
Next Question
25
See Explanation !
3
Which of the following is not a keyword in Python
पायथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है
eval
assert
nonlocal
pass
Previous Question
Next Question
25
See Explanation !
4
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
.......... निर्माण किसी स्थिति के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
5
Getting and setting the value of individual array elements:
पर्टिकुलर ऐरे एलिमेंट का मान प्राप्त करना और सेट करना
Indexing
Slicing
Reshaping
None of the above
Previous Question
Next Question
25
See Explanation !
6
Hierarchy in a pseudo-code can be shown by:
सूड़ो-कोड में पदानुक्रम को द्वारा दिखाया जा सकता है|
Curly Braces
Round Brackets
Indentation
Semicolon
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(d[x])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.values () में x के लिए: print(d[x])
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? print("ccdcddcd".find("c"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("ccdcddcd ".find (" c "))
4
0
Error
True
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python statement? print(chr(ord('A')+32))
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 16 HOURS 53 MINUTES 09 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
A
B
a
Error
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code? a={'B':5,'A':9,'C':7} print(sorted(a))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={'B':5,'A':9,'C':7} print(sorted(a))
[‘A’,’B’,’C’]
[‘B’,’C’,’A’]
[5,7,9]
[9,5,7]
Previous Question
Next Question
25
See Explanation !
11
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
12
Strings in Python are _____
पायथन में तार _____ हैं।
mutable
immutable
fixed
None of these
Previous Question
Next Question
25
See Explanation !
13
The ____ function is used to convert a string value to int.
____ फ़ंक्शन का उपयोग स्ट्रिंग मान को int में बदलने के लिए किया जाता है।
Str
int
convert
None of these
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code snippet? print('cd'.partition('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('cd '.partition (' cd '))
(‘cd’)
(”)
(‘cd’, ”, ”)
(”, ‘cd’, ”)
Previous Question
Next Question
25
See Explanation !
15
Is it safe to directly use the == operator to determine whether objects of type float are equal ?
क्या यह निर्धारित करने के लिए सीधे == ऑपरेटर का उपयोग करना सुरक्षित है कि टाइप फ्लोट की वस्तुएं समान हैं या नहीं?
Yes
No
Yes, if the values are < 100
Yes, if the values are > 100
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? a=[1,2,3] b=a.append(4) print(a) print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[1,2,3] b= a.append (4) print(a) print(b)
[1,2,3,4] [1,2,3,4]
[1, 2, 3, 4] None
Syntax error
[1,2,3] [1,2,3,4]
Previous Question
Next Question
25
See Explanation !
17
Suppose a list with name arr, contains 5 elements, You can get the 2nd element from the list using?
मान लीजिए कि नाम arr वाली एक सूची, जिसमें 5 तत्व हैं, का उपयोग करके आप सूची से दूसरा तत्व प्राप्त कर सकते हैं?
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
18
Which of the following will run without errors?
निम्नलिखित में से कौन सी त्रुटि के बिना चलेगी?
round(45.8)
round(6352.898,2,5)
round()
round(7463.123,2,1)
Previous Question
Next Question
25
See Explanation !
19
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
20
What will the following code output? a=55 b=’55’ print( a is not b)
निम्नलिखित कोड क्या आउटपुट देगा? a=55 b=’55’ print( a is not b)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
21
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 !
22
How is a function declared in Python?
पायथन में फ़ंक्शन को कैसे घोषित किया जाता है?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Previous Question
Next Question
25
See Explanation !
23
What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?
100
-100
-101
101
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Previous Question
Next Question
25
See Explanation !
25
Which function returns the strings?
कौन सा फंक्शन स्ट्रिंग्स लौटाता है?
readlines()
read()
Both of the above
None of the above
Previous Question