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 ? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
[2 3 4 5]
[3 4 5 6]
[1 2 3 4]
[2 4 6 8]
Next Question
25
See Explanation !
2
Select the reserved keyword in python.
पायथन में आरक्षित कीवर्ड का चयन करें।
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
3
What will be the output of following? Y=[2,5J,6] Y.sort()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? Y=[2,5J,6] Y.sort()
[2,6,5J]
[5J,2,6]
Error
[6,5J,2]
Previous Question
Next Question
25
See Explanation !
4
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 !
5
Which mode creates a new file if the file does not exist?
यदि फ़ाइल मौजूद नहीं है तो कौन सा मोड एक नई फाइल बनाता है?
write mode
read mode
append mode
Both (A) And (B)
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
[2 4 1 3 5 ]
[5 9 1]
15
ValueError
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
8
What is the output of the following code ? def fun(a, b=6): a=a+b print(a) fun(5, 4)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
11
9
5
4
Previous Question
Next Question
25
See Explanation !
9
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 !
10
Which of the following commands will create a list?
निम्नलिखित में से कौन सा आदेश एक सूची बनाएगा?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? print("Welcome to Python".split())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("Welcome to Python".split())
[“Welcome”, “to”, “Python”]
(“Welcome”, “to”, “Python”)
{“Welcome”, “to”, “Python”}
“Welcome”, “to”, “Python”
Previous Question
Next Question
25
See Explanation !
12
np.eye() is used for creating:
np.eye() का उपयोग बनाने के लिए किया जाता है:
Identity Matrix
Upper triangle Matrix
Lower Triangle Matrix
None of the above
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
14
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
मान लीजिए लिस्ट है [3, 4, 5, 20, 5, 25, 1, 3] ,listExample.extend([34, 5]) के बाद की लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
[1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
[25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
[1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
Previous Question
Next Question
25
See Explanation !
15
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
seed()
sqrt()
factorial()
print()
Previous Question
Next Question
25
See Explanation !
16
Which of the following expressions results in an error?
निम्नलिखित में से किस अभिव्यक्ति के परिणामस्वरूप एक त्रुटि होती है?
float('10')
int('10')
float('10.8')
int('10.8')
Previous Question
Next Question
25
See Explanation !
17
The operator used to calculate remainder after division.
ऑपरेटर विभाजन के बाद शेष की गणना करता था।
%
/
\
None of these
Previous Question
Next Question
25
See Explanation !
18
How do you import NumPy in Python?
आप Python में NumPy कैसे इम्पोर्ट करते हैं?
import numpy as np
import numPy
from python import numpy
using numpy
Previous Question
Next Question
25
See Explanation !
19
The code block within every function starts with a ____ ?
प्रत्येक फंक्शन के भीतर एक कोड ब्लॉक ... से शुरू होता है?
;
: :
:
%
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Code? def sum(x): return x*x print(sum(4))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def sum(x): return x*x print(sum(4))
16
4
8
64
Previous Question
Next Question
25
See Explanation !
21
Which of the following is not valid Python identifiers?
निम्नलिखित में से कौन पायथन पहचानकर्ता मान्य नहीं है?
email
ca$h
marks10
Python2Shar
Previous Question
Next Question
25
See Explanation !
22
The way for solving a problem step by step is know as
किसी समस्या को चरण - दर - चरण हल करने का तरीका यह है कि
Design
Palnning
Algorithm
Execution
Previous Question
Next Question
25
See Explanation !
23
Which of the following statement is correct about Getcwd() .
Getcwd () के बारे में निम्नलिखित में से कौन सा कथन सही है।
Method displays the directory of a process.
Method displays the current working directory of a process.
Method create file of a process.
None of these
Previous Question
Next Question
25
See Explanation !
24
____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-
True
false
ValueError occurs
TypeError occurs
Previous Question
Next Question
25
See Explanation !
25
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question