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
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: print('i', end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" while i in x: print('i', end = " ")
no output
i i i i i i … infinite Time
a a a a a a …
a b c d e f
Next Question
25
See Explanation !
2
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर एक वैकल्पिक मॉड्यूल खोज पथ है?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
3
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
4
The correctness and appropriateness of _____ solution can be checked very easily.
_____ समाधान की शुद्धता और उपयुक्तता को बहुत आसानी से जांचा जा सकता है।
algorithmic
heuristic
random
none of these
Previous Question
Next Question
25
See Explanation !
5
What is the output of the following code ? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
6
How are required arguments specified in the function heading?
फ़ंक्शन हेडिंग में आवश्यक आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
identifier followed by an equal to sign and the default value
identifier followed by the default value within backticks (“)
identifier followed by the default value within square brackets ([])
identifier
Previous Question
Next Question
25
See Explanation !
7
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code snippet? print('ab cd ef'.title())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' ab cd ef '.title ())
Ab cd ef
Ab cd eF
Ab Cd Ef
None of the mentioned
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
6
1
1.5
Error
Previous Question
Next Question
25
See Explanation !
10
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नहीं देखते हैं, तो हमें क्या मिलता है?
Runtime Error
Syntax Error
Logical Error
None of the above
Previous Question
Next Question
25
See Explanation !
11
What is the output of the following code? x = 50 def func (x): x = 2 func (x) print ('x is now', x)
निम्नलिखित कोड का परिणाम क्या है ? x = 50 def func (x): x = 2 func (x) print ('x is now', x)
x is now 50
x is now 2
x is now 100
Error
Previous Question
Next Question
25
See Explanation !
12
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code snippet? print('11'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('11'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
14
Python operator always yields the result of
पायथन ऑपरेटर हमेशा का परिणाम देता है
integer
floating point
complex
all of these
Previous Question
Next Question
25
See Explanation !
15
____ help to check the data type of an array-
____ किसी सरणी के डेटा प्रकार की जाँच करने में मदद करें -
arraydtype()
arr.dtype()
dtype.arr()
None of these
Previous Question
Next Question
25
See Explanation !
16
What is the output of : print(2*3**3*4)
इसका आउटपुट क्या है: print(2*3**3*4)
211
216
1024
512
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? t=32.00 for x in t: print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? t=32.00 for x in t: print(x)
[0]
0
[0.00]
Error
Previous Question
Next Question
25
See Explanation !
18
____ statement used for error checking. -
____ कथन त्रुटि की जाँच के लिए उपयोग किया जाता है। -
Assert
List
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
19
The order of statement execution in the form of top to bottom, is known as .......... construct.
ऊपर से नीचे के रूप में कथन निष्पादन के क्रम को.......... निर्माण के रूप में जाना जाता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
20
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question
Next Question
25
See Explanation !
21
What is the output of below program ? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def maximum(x,y): if x>y: return x elif x==y: return "The number are equal" else: return y print(maximum(2,3))
2
3
The number are equal
None of These
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which denotes file binary mode?
फ़ाइल बाइनरी मोड को कौन दर्शाता है?
r
rb
w
r+
Previous Question
Next Question
25
See Explanation !
24
What is the output of following code ? a = np.array([[1,2,3],[4,5,6]]) print(a.shape)
निम्नलिखित कोड का परिणाम क्या है? a = np.array([[1,2,3],[4,5,6]]) print(a.shape)
(2,3)
(3,2)
(1,1)
none of these
Previous Question
Next Question
25
See Explanation !
25
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question