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
ndarray is also known as the ____ array.
ndarray को ____ सरणी के रूप में भी जाना जाता है।
Array
alias
variable
None of these
Next Question
25
See Explanation !
2
Which of the following is true for nested loops in Python?
पायथन में नेस्टेड लूप के लिए निम्नलिखित में से कौन सा सत्य है?
The outer loop must run fewer times than the inner loop.
Only for loops can be nested.
Both for and while loops can be nested.
The inner loop runs only once for each iteration of the outer loop.
Previous Question
Next Question
25
See Explanation !
3
The operator returns the quotent after division.
ऑपरेटर विभाजन के बाद कोटेंट लौटाता है।
//
%
&
None of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert('Ball')
3
1
2
0
Previous Question
Next Question
25
See Explanation !
5
_____is a Pandas function for loading CSV files into Dataframe.
_____ CSV फ़ाइलों को डेटाफ़्रेम में लोड करने के लिए एक पांडा फ़ंक्शन है।
read_csv()
csv_read()
csv.write()
None of these
Previous Question
Next Question
25
See Explanation !
6
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 !
7
What will be the output of the following Python code? def f(values): values[0] = 44 v = [1, 2, 3] f(v) print(v)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def f(values): values[0] = 44 v = [1, 2, 3] f(v) print(v)
[1, 44]
[1, 2, 3, 44]
[44, 2, 3]
[1, 2, 3]
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(t
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(ttt(data[0]))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
9
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
______ को केवल उस फ़ंक्शन के अंदर एक्सेस किया जा सकता है जिसमें उन्हें घोषित किया गया है, जबकि सभी फ़ंक्शन द्वारा पूरे प्रोग्राम बॉडी में ग्लोबल वेरिएबल्स को एक्सेस किया जा सकता है।
Global variables
local variables
datatype
None of these
Previous Question
Next Question
25
See Explanation !
10
An algorithm that calls itself directly or indirectly is known as
एक एल्गोरिथ्म जो खुद को प्रत्यक्ष या अप्रत्यक्ष रूप से कॉल करता है, के रूप में जाना जाता है
Sub algorithm
Recursion
Polish notation
Traversal algorithm
Previous Question
Next Question
25
See Explanation !
11
Kite/diamond symbol in flow chart is used for_______
फ्लो चार्ट में पतंग/हीरा प्रतीक का उपयोग _______ के लिए किया जाता है
Execution
Decision
Statement
All of the above
Previous Question
Next Question
25
See Explanation !
12
The default separator character of print() is ___
Print() का डिफ़ॉल्ट विभाजक वर्ण ___ है
tab
space
newline
dot
Previous Question
Next Question
25
See Explanation !
13
Which function is used to get the Data Type of any value?
किसी भी मान का डेटा प्रकार प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
type()
data_type()
datatype()
dataType()
Previous Question
Next Question
25
See Explanation !
14
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
15
It defines the accessibility and the lifetime of a variable.
यह एक चर की सुलभता और जीवनकाल को परिभाषित करता है।
scope
Lifetime
keyword
None
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code snippet? print([i.lower() for i in "HELLO"])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print([i.lower() for i in "HELLO"])
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
‘hello’
[‘hello’]
hello
Previous Question
Next Question
25
See Explanation !
17
The part of a machine level instruction, which tells the central processor what has to be done, is
मशीन स्तर के निर्देश का हिस्सा, जो केंद्रीय प्रोसेसर को बताता है कि क्या करना है, है
An operation code
An address
An operand
None of the above
Previous Question
Next Question
25
See Explanation !
18
You do not have pay Python and you can view its source code too. it means Python is _______
आपके पास पायथन का भुगतान नहीं है और आप इसका स्रोत कोड भी देख सकते हैं। इसका मतलब है कि पायथन _______ है
Free and Open Source
Freeware
Open source
Shareware
Previous Question
Next Question
25
See Explanation !
19
What is the output of the following code? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
6 4
4 6
4 4
6 6
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
21
What function do you use to read a string?
एक स्ट्रिंग को रीड करने के लिए आप किस फ़ंक्शन का यूज़ करते हैं?
input(“Enter a string”)
eval(input(“Enter a string”))
enter(“Enter a string”)
eval(enter(“Enter a string”))
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? example = "helle" print(example.find("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.find("e"))
Error
-1
1
0
Previous Question
Next Question
25
See Explanation !
23
The output of this expression, >>>6*1**3 is ____ .
इस अभिव्यक्ति का आउटपुट, >>>6*1**3 ____ है।
6
18
10
None of these
Previous Question
Next Question
25
See Explanation !
24
What is the output of following Python code? >>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है? >>print(5*(2//3))
3
3.3
0
error
Previous Question
Next Question
25
See Explanation !
25
What is the output of the following code? a = {1:"A", 2: "B", 3: "C"} b = {4: "D", 5: "E"} a.update(b) print(a)
निम्नलिखित कोड का परिणाम क्या है ? a = {1:"A", 2: "B", 3: "C"} b = {4: "D", 5: "E"} a.update(b) print(a)
{1:’A’, 2: ‘B’,3: ‘C’}
{1: ‘A’, 2: ‘b’, 3: ‘c’, 4: ‘D’, 5: ‘E’}
Error
{4: ‘D’, 5: ‘E’}
Previous Question