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
By using function _____ ,we can change the shape of the Numpy array in python.
फ़ंक्शन _____ का उपयोग करके,हम अजगर में Numpy सरणी के आकार को बदल सकते हैं।
shape ()
reshape()
change()
None of these
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
0 1 2 3
0 1 2 2
3 3 3 3
error
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code snippet? >>bool(‘False’) >>bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? >>bool(' False ') >>bool()
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
4
Which method is used to Write(s) a list of lines to the file.
फ़ाइल की पंक्तियों की सूची लिखने के लिए किस विधि का उपयोग किया जाता है।
write(s)
writelines (lines)
readlines (lines)
None of these
Previous Question
Next Question
25
See Explanation !
5
Which can contain multiple lines of text.
जिसमें टेक्स्ट की कई लाइनें हो सकती हैं।
Docstring
Python Package Index
both a & b
none of the mentioned
Previous Question
Next Question
25
See Explanation !
6
Which of the following is not a legal integer type value in Python
निम्नलिखित में से कौन पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
7
Strings in Python are _____
पायथन में तार _____ हैं।
mutable
immutable
fixed
None of these
Previous Question
Next Question
25
See Explanation !
8
What will happen if you try to access a key that doesn’t exist in a dictionary?
अगर आप किसी ऐसी कुंजी को एक्सेस करने की कोशिश करते हैं, जो किसी शब्दकोश में मौजूद नहीं है, तो क्या होगा?
Returns None
Throws a KeyError
Creates a new key with a default value
Crashes the program
Previous Question
Next Question
25
See Explanation !
9
Set of statements is executed again and again based upon conditional test.
सशर्त परीक्षण के आधार पर कथनों का सेट बार - बार निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code? d1={"abc":5,"def":6,"ghi":7} print(d1[0])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d1={" abc ":5,"def ":6," ghi ":7} प्रिंट(d1[0])
abc
5
{"abc":5}
error
Previous Question
Next Question
25
See Explanation !
11
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
13
Provide the output for the expression: list = [1, 2] + [3, 4]
list= [1, 2] + [3, 4] का आउटपुट क्या होगा
[4,6]
[1, 2, 3, 4]
10
Error in Code
Previous Question
Next Question
25
See Explanation !
14
Which is Special type of literal in Python
जो पायथन में विशेष प्रकार का शाब्दिक है
Integer
Complex Number
None
String
Previous Question
Next Question
25
See Explanation !
15
What are the three different types, of algorithm constructions?
एल्गोरिथ्म निर्माण के तीन अलग - अलग प्रकार क्या हैं?
Input/Output, Decision, Repeat
Loop, Input/Output, Process
Input, Output, Process
Sequence, Selection, Repeat
Previous Question
Next Question
25
See Explanation !
16
find the output of following code: import math print(math.fabs(-3.4))
निम्नलिखित कोड का आउटपुट खोजें: import math print(math.fabs(-3.4))
-3.4
3.4
4.3
3
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
(5,1,6,2)
(5,1,7,6)
(5,1,7,6,2)
Error
Previous Question
Next Question
25
See Explanation !
18
Which is the most appropriate definition for recursion?
पुनरावृत्ति के लिए सबसे उपयुक्त परिभाषा कौन सी है?
A function that calls itself
A function execution instance that calls another execution instance of the same function
A class method that calls another class method
An in-built method that is automatically called
Previous Question
Next Question
25
See Explanation !
19
to use load() function for working with binary file in python which module is require
पायथन में बाइनरी फ़ाइल के साथ काम करने के लिए load() फ़ंक्शन का उपयोग करने के लिए किस मॉड्यूल की आवश्यकता है
pickle
binary
unpickle
fstream
Previous Question
Next Question
25
See Explanation !
20
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन दुभाषिया को बताता है कि किसी प्रोग्राम में आयात की गई मॉड्यूल फ़ाइलों का पता कहां लगाया जाए?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
21
What is a variable defined outside a function referred to as ?
किसी फ़ंक्शन के बाहर परिभाषित वेरिएबल को क्या कहते है?
A static variable
A global variable
A local variable
An automatic variable
Previous Question
Next Question
25
See Explanation !
22
Connectors used to connect flowchart symbols to each other are classified as.
फ्लोचार्ट प्रतीकों को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को इस प्रकार वर्गीकृत किया जाता है।
Arrow lines.
Symbols
Annotation
Special symbols
Previous Question
Next Question
25
See Explanation !
23
What will be the result of the expression : print(10 or 0) ?
अभिव्यक्ति का परिणाम क्या होगा: print(10 या 0)?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
24
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 !
25
What happens if the condition in a while loop is initially False?
यदि थोड़ी देर के लूप में स्थिति शुरू में गलत हो तो क्या होगा?
The loop runs indefinitely.
The loop executes once before terminating.
The loop does not execute.
It raises an error
Previous Question