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
New!
CSS
New!
Javascript
New!
Python
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
Set
25
See Explanation !
1
In Python, which of the following will create a block in a compound statement ?
पायथन में, निम्नलिखित में से कौन एक यौगिक कथन में एक ब्लॉक बनाएगा?
colon
statements indented at a lower, same level
indentation in any form
{ }
Next Question
25
See Explanation !
2
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
3
What is the result of the following operation? print(3%7)
निम्नलिखित ऑपरेशन का परिणाम क्या है? प्रिंट(3%7)
4
3
2
1
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What will be the output of the following Python code snippet? test = {1:'A', 2:'B', 3:'C'} test = {} print(len(test))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? test = {1:'A', 2:'B', 3:'C'} test = {} print(len(test))
0
None
3
An exception is thrown
Previous Question
Next Question
25
See Explanation !
7
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 !
8
Which of the following methods can be used with a tuple?
निम्नलिखित में से किस विधि का उपयोग टपल के साथ किया जा सकता है?
append()
insert()
index()
remove()
Previous Question
Next Question
25
See Explanation !
9
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
Next Question
25
See Explanation !
10
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
11
Set makes use of __________ Dictionary makes use of ____________
सेट __________ का उपयोग करता है शब्दकोश ____________ का उपयोग करता है
keys, keys
key values, keys
keys, key values
key values, key values
Previous Question
Next Question
25
See Explanation !
12
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
[10,34,56,[95]]
[10,23,56,[78]]
[10,23,56,[95]]
[10,34,56,[78]]
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.rfind("e"))
-1
4
3
1
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following ? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
[1 5 2]
[1 5 4]
[2 3 4]
[2 5 4]
Previous Question
Next Question
25
See Explanation !
16
The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?
ndarray
narray
nd_array
darray
Previous Question
Next Question
25
See Explanation !
17
what is the output of the following code? M=['b' *x for x in range(4)] print(M)
निम्नलिखित कोड का परिणाम क्या है ? M=['b' *x for x in range(4)] print(M)
['', 'b', 'bb', 'bbb']
['b,'bb', "bbb', "bbbb']
['b','bb', bbb']
none of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following ? import numpy as np a = np.arange(1,3,.5) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,3,.5) print(a)
[1 2 3]
[1. 1.5 2. 2.5]
[1. 1.5 2. 2.5 3]
[1 1.5 2 2.5 3]
Previous Question
Next Question
25
See Explanation !
19
_____ help programmers to create lists in a concise way.
_____ प्रोग्रामर को संक्षिप्त तरीके से सूचियाँ बनाने में मदद करें।
Tuple
Dictionary
List Comprehensions
None of these
Previous Question
Next Question
25
See Explanation !
20
Explicitly remove entire tuple.
एक सम्पूर्ण टपल को स्पष्ट रूप से हटाता है।
del
remove
delete
None of these
Previous Question
Next Question
25
See Explanation !
21
What will be the output of following expression : print(10/2+3*5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10/2+3*5)
20.0
20
40.0
40
Previous Question
Next Question
25
See Explanation !
22
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
15
150
200
10
Previous Question
Next Question
25
See Explanation !
23
What is mean by dynamically typed language
गतिशील रूप से टाइप की गई भाषा का क्या मतलब है
A variable can store any datatype type of value
A variable can store only numeric value
A variable can store only one type of value
A value of a variable is change each type when it run
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code if the system date is 18th August, 2016? import datetime d=datetime.date.today() print(d.month)
यदि सिस्टम की तारीख 18 अगस्त, 2016 है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime d= datetime.date.today () print(d.month)
August
Aug
08
8
Previous Question
Next Question
25
See Explanation !
25
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Previous Question