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
Regarding creating ndarray, choose the build in functions in numpy.
Ndarray बनाने के संबंध में, numpy में बिल्ड इन फ़ंक्शंस चुनें।
np.array()
np.zeros()
np.empty()
All of the above
Next Question
25
See Explanation !
2
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python expression? print(round(4.5676,2))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(round(4.5676,2))
4.5
4.6
4.57
4.56
Previous Question
Next Question
25
See Explanation !
5
In which year was the Python 3.0 version developed?
पायथन 3.0 संस्करण किस वर्ष विकसित किया गया था?
2008
2010
2000
2005
Previous Question
Next Question
25
See Explanation !
6
A step by step method for solving a problem using English Language
अंग्रेजी भाषा का उपयोग करके किसी समस्या को हल करने के लिए चरण - दर - चरण विधि
program
Flowchart
statement
Algorithm
Previous Question
Next Question
25
See Explanation !
7
Which of the following will not be returned by random.choice(“1 ,”)?
निम्नलिखित में से कौन सा random.choice(“1 ,”) द्वारा रिटर्न नहीं किया जाएगा?
1
(space)
'
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
9
What will tuple('abc') return?
Tuple(' abc ') क्या लौटाएगा?
('abc’)
('a', 'b', 'c’)
['a', 'b', 'c’]
Error
Previous Question
Next Question
25
See Explanation !
10
To add a new element to a list we use which command?
एक लिस्ट में एक न्यू एलिमेंट ऐड करने के लिए हम किस कमांड का यूज़ करते हैं?
list1.add(5)
list1.append(5)
list1.addLast(5)
list1.addEnd(5)
Previous Question
Next Question
25
See Explanation !
11
Which of the following functions take iterables(can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
निम्नलिखित में से कौन सा फ़ंक्शन इटरेबल्स लेता है (शून्य या अधिक हो सकता है), इटेरेटर बनाता है जो पारित इटरेबल्स के आधार पर तत्वों को एकत्रित करता है, और ट्यूपल्स का इटेरेटर देता है।
Zip()
tuple()
list()
None of the above
Previous Question
Next Question
25
See Explanation !
12
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष में हुआ था?
1995
1972
1981
1991
Previous Question
Next Question
25
See Explanation !
13
elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है
nested if
if..else
else if
if..elif
Previous Question
Next Question
25
See Explanation !
14
IDLE means..... -
IDLE का अर्थ है..... -
Integrated Development and Learning Environment
Ideal Development and Learning Environment
Interenet development and Learning Environment
None of the above
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following code? print(True and False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(सही और गलत)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
[2 4 1]
[2 3 1]
[3 4 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
17
Which of the following is the use of id() function in python?
पायथन में id() फ़ंक्शन का उपयोग निम्नलिखित में से कौन सा है?
ID returns the identity of the object
Even object does not have a unique Id
All of the mentioned
None of the mentioned
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Code ? x=10, y=3 print(divmod(x,y))
निम्नलिखित कोड का आउटपुट क्या होगा? x=10, y=3 print(divmod(x,y))
(3,1)
(4,2)
(5,7)
(1,3)
Previous Question
Next Question
25
See Explanation !
19
What is the output of the following code: L=['a','b','c','d'] print ( "".join(L))
निम्नलिखित कोड का आउटपुट क्या है: L=[' a ', 'b ',' c ', 'd '] print (".join(L))
Error
None
abcd
[‘a’,’b’,’c’,’d’]
Previous Question
Next Question
25
See Explanation !
20
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following code? for i in range(3): print(i,end=" ")
निम्नलिखित कोड का आउटपुट क्या है? for i in range(3): print(i,end=" ")
0 1 2
1 2 3
0 1 2 3
Error
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} for i in a: print(i,end=" ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i in a: print(i,end=" ")
1 2 3
‘A’ ‘B’ ‘C’
1 ‘A’ 2 ‘B’ 3 ‘C’
Error, it should be: for i in a.items():
Previous Question
Next Question
25
See Explanation !
23
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question
Next Question
25
See Explanation !
24
What data type is the object below ? L=[1, 23, 'hello', 1]
नीचे दिया गया ऑब्जेक्ट किस डेटा प्रकार का है? L=[1, 23, 'hello', 1]
List
Dictionary
Tuple
Array
Previous Question
Next Question
25
See Explanation !
25
Which of the following functions can be used to find the coordinated universal time, assuming that the datetime module has already been imported?
निम्नलिखित कार्यों में से किसको कोआर्डिनेट यूनिवर्सल समय का पता लगाने के लिए यूज़ किया जा सकता है, यह मानते हुए कि डेटाइम मॉड्यूल पहले ही इम्पोर्ट किया जा चुका है?
datetime.utc()
datetime.datetime.utc()
datetime.utcnow()
datetime.datetime.utcnow()
Previous Question