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 translator is used to convert assembly language into machine language?
असेंबली भाषा को मशीन भाषा में को बदलने के लिए किस अनुवादक का उपयोग किया जाता है
Compiler
Interpreter
Assembler
None of these
Next Question
25
See Explanation !
2
What is the output of the following code? print(not False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(गलत नहीं)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
3
Which function is used to get the number of elements in a NumPy array?
NumPy सरणी में तत्वों की संख्या प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
len(array)
array.length()
array.size
count(array)
Previous Question
Next Question
25
See Explanation !
4
Which of the following is not a keyword?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
5
Which one is not the attribute of a file?
कौन सी एक फ़ाइल की विशेषता नहीं है?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following ? import math print(math.fact(5))
निम्नलिखित का आउटपुट क्या होगा? import math print(math.fact(5))
120
25
1,2,3,4,5
Error
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following code ? st='abcdefg' print(st[2:5])
निम्नलिखित कोड का आउटपुट क्या होगा? st='abcdefg' प्रिंट(st[2:5])
'cde'
'abc'
'efg'
None of these
Previous Question
Next Question
25
See Explanation !
8
The ____ function takes two parameters, filename and mode.
____ फ़ंक्शन दो पैरामीटर, फ़ाइल नाम और मोड लेता है।
Range
Input
Open()
Pass
Previous Question
Next Question
25
See Explanation !
9
What is standard module in Python?
पायथन में मानक मॉड्यूल क्या है?
It can not be imported the same way as we import our user-defined modules.
It can be imported the same way as we import our user-defined modules,
Both
None of the above
Previous Question
Next Question
25
See Explanation !
10
What is a correct method to join two or more arrays?
दो या दो से अधिक सरणियों में शामिल होने का सही तरीका क्या है?
np.concatenate()
np.join()
np.array_join()
np.join_array()
Previous Question
Next Question
25
See Explanation !
11
Part of an algorithm which is repeated for fixed number of times is classified as
एक एल्गोरिथ्म का हिस्सा जिसे निश्चित संख्या में बार - बार दोहराया जाता है, को निम्नानुसार वर्गीकृत किया जाता है
iteration
selection
sequence
reverse action
Previous Question
Next Question
25
See Explanation !
12
Correcting the program code:
प्रोग्राम कोड को ठीक करना:
Testing
Syntax error
Runtime error
Debugging
Previous Question
Next Question
25
See Explanation !
13
Which of the statements about modules is false?
मॉड्यूल के बारे में कौन से कथन गलत हैं?
In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
dir() built-in function monitors the items in the namespace of the main module.
In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
Previous Question
Next Question
25
See Explanation !
14
What will be the result of the expression 10 or 0 ?
अभिव्यक्ति 10 या 0 का परिणाम क्या होगा?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? print('ab,12'.isalnum())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' ab,12'.isalnum ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 02 MINUTES 50 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
0 1 2
{0, 1, 2} {0, 1, 2} {0, 1, 2}
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
Making the code look clean
A complex task can be broken into sub-problems
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Previous Question
Next Question
25
See Explanation !
18
What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?
100
-100
-101
101
Previous Question
Next Question
25
See Explanation !
19
Identify the correct sequence of steps to run a program.
प्रोग्राम चलाने के लिए चरणों के सही अनुक्रम की पहचान करें।
Link, Load, Code, Compile, & Execute
Code, Compile, Link, Execute & Load
Code, Compile, Link, load & Execute
Compile, Code, Link, load, & Execute
Previous Question
Next Question
25
See Explanation !
20
What will be the output of np.array([[1,2],[3,4]]).shape?
Np.array([[1,2],[3,4 ]).shape का आउटपुट क्या होगा?
(2,)
(2,2)
(4,)
(1,4)
Previous Question
Next Question
25
See Explanation !
21
The process of finding errors in code is called as
कोड में त्रुटियों को खोजने की प्रक्रिया को कहा जाता है
Compiling
Running
Testing
Debugging
Previous Question
Next Question
25
See Explanation !
22
How do you convert the string "123" to an integer in Python?
आप स्ट्रिंग "123" को पायथन में एक पूर्णांक में कैसे परिवर्तित करते हैं?
int("123")
integer("123")
int["123“]
(int) “123”
Previous Question
Next Question
25
See Explanation !
23
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
24
What will be the output after following statements? x = 2 if x < 5: print(x) else: pass
निम्नलिखित कथनों के बाद आउटपुट क्या होगा? x = 2 if x < 5: print(x) else: pass
2 3 4
1 2 3 4
2
None of These
Previous Question
Next Question
25
See Explanation !
25
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
for
while
do while
None of the above
Previous Question