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 function if the random module has already been imported? import random print(random.randint(3.5,7))
यदि रैंडम मॉड्यूल पहले से ही आयात किया गया है, तो निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? import random print(random.randint(3.5,7))
Error
Any integer between 3.5 and 7, including 7
Any integer between 3.5 and 7, excluding 7
The integer closest to the mean of 3.5 and 7
Next Question
25
See Explanation !
2
Which of the following operations is NOT allowed on a tuple?
एक टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?
Slicing
Concatenation
Deletion of elements
Iteration
Previous Question
Next Question
25
See Explanation !
3
Which one is not a looping structure available in python.
पायथन में कौन सी लूपिंग स्ट्रक्चर अवेलबल नहीं है?
while loop
for loop
do while loop
all of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd '))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x[:-1]: print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x में [:-1]: print(i, end = "")
a a a a a
a a a a a a
a a a a a a … infinite Time
a
Previous Question
Next Question
25
See Explanation !
7
Which can contain multiple lines of text.
जिसमें टेक्स्ट की कई लाइनें हो सकती हैं।
Docstring
Python Package Index
both a & b
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
Which function is used to generate evenly spaced values within a specified range?
किसी निर्दिष्ट सीमा के भीतर समान दूरी वाले मान उत्पन्न करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
numpy.linspace()
numpy.range()
numpy.arrange()
numpy.spaceline()
Previous Question
Next Question
25
See Explanation !
9
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 !
10
In flowchart, parallelogram is used to show
फ्लोचार्ट में, समानांतर चतुर्भुज का उपयोग दिखाने के लिए किया जाता है
General input symbol
Operation on data
Online use of keyboard
Output data screen
Previous Question
Next Question
25
See Explanation !
11
Which of the following statement will be true?
निम्नलिखित में से कौन सा कथन सत्य होगा?
It is mandatory to have_main_function in python.
It is not mandatory to have _main_function in python.
It is mandatory to have any function in python.
None of the above
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', 0))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', 0))
[‘abcdefcdghcd’]
‘abcdefcdghcd’
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? print('ab,12'.isalnum())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' ab,12'.isalnum ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
14
PyPI stands for
PyPI का मतलब ____ है
Python Package Index.
Python package Installer
Both A & B
None of the above.
Previous Question
Next Question
25
See Explanation !
15
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
int
float
bool
dict
Previous Question
Next Question
25
See Explanation !
16
Which of the following refers to mathematical function?
निम्नलिखित में से कौन गणितीय फंक्शन को संदर्भित करता है
sqrt
rhombus
add
Sub
Previous Question
Next Question
25
See Explanation !
17
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा प्रोग्राम को निर्देशों के एक सेट में परिवर्तित करता है जो कंप्यूटर पर चल सकता है उसे एक कहा जाता है
Compiler
Debugger
Editor
None of the above
Previous Question
Next Question
25
See Explanation !
18
The function generates sequence of numbers from 1 to n.
फ़ंक्शन 1 से n तक संख्याओं का अनुक्रम उत्पन्न करता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python expression? print(4.00/(2.0+2.0))
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा? print(4.00/(2.0 2.0))
Error
1.0
1.00
1
Previous Question
Next Question
25
See Explanation !
20
Identify the correct sequence of steps to run a program.
प्रोग्राम चलाने के लिए चरणों के सही अनुक्रम की पहचान करें।
Link, Load, Code, Compile, & Execute
Code, Compile, Link, Execute & Load
Code, Compile, Link, load & Execute
Compile, Code, Link, load, & Execute
Previous Question
Next Question
25
See Explanation !
21
Evaluate the expression A%B//A if the value of A= 16 and b= 15
एक्सप्रेशन A%B//A का मूल्यांकन करें यदि A=16 और b=15 का मान है
0.0
0
1.0
1
Previous Question
Next Question
25
See Explanation !
22
List structure in python where elements are stored in parenthesis.
अजगर में सूची संरचना जहां तत्व कोष्ठक में संग्रहीत किए जाते हैं।
[]
()
{}
none of these
Previous Question
Next Question
25
See Explanation !
23
Python Programs are typed in
पायथन प्रोग्राम टाइप किए गए हैं
Interactive Mode
Script Mode
Both Interactive Mode or Script Mode
None of These
Previous Question
Next Question
25
See Explanation !
24
The _____ function reads a line entered on a console by an input device such as a keyboard and convert it into a string and returns it.
_____ फ़ंक्शन एक इनपुट डिवाइस जैसे कि कीबोर्ड द्वारा कंसोल पर दर्ज की गई एक पंक्ति को पढ़ता है और इसे एक स्ट्रिंग में परिवर्तित करता है और इसे वापस करता है।
raw_input
input()
eval
accep
Previous Question
Next Question
25
See Explanation !
25
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Previous Question