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
What is the output of the following program: i = 0 while i < 3: print (i) i=i+1 print (i+1)
निम्नलिखित प्रोग्राम का आउटपुट क्या है: i = 0 while i < 3: print (i) i=i+1 print (i+1)
0 2 1 3 2 4
0 1 2 3 4 5
Infinite loop
0 1 2 3
Next Question
25
See Explanation !
2
Which of the following is correct about Python
पाइथन के बारे में निम्नलिखित में से कौन सा सही है
It supports automatic garbage collection
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
3
Which of the following is the basic I/O connections in file?
फ़ाइल में बुनियादी I/O कनेक्शन निम्नलिखित में से कौन सा है?
Standard Input
Standard Output
Standard Errors
All of the mentioned
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? print(‘re\new’)
निम्नलिखित कोड आउटपुट क्या होगा? print(' re\new ')
re\new
new
re new
re ew
Previous Question
Next Question
25
See Explanation !
5
_____ reads one entire line from the file.
_____ फ़ाइल से एक पूरी पंक्ति पढ़ता है।
readline()
read()
readinglines()
None of these
Previous Question
Next Question
25
See Explanation !
6
Which of the following statements given below is/are true?
नीचे दिए गए कथनों में से कौन - सा कथन सही है/हैं?
Tuples have structure; lists have an order
Tuples are homogeneous, lists are heterogeneous.
Tuples are immutable, lists are mutable.
All of them
Previous Question
Next Question
25
See Explanation !
7
Which of the following will run without errors?
निम्नलिखित में से कौन सी त्रुटि के बिना चलेगी?
round(45.8)
round(6352.898,2,5)
round()
round(7463.123,2,1)
Previous Question
Next Question
25
See Explanation !
8
The values which are passed to a function definition are called
फ़ंक्शन परिभाषा में जो मान पास किए जाते हैं उन्हें कहा जाता है
Arguments
Subroutines
Function
Definition
Previous Question
Next Question
25
See Explanation !
9
Tool ________ is used for program design.
टूल ________ का उपयोग प्रोग्राम डिज़ाइन के लिए किया जाता है।
Flowchart
Psuedocode
Algorithm
All of the above
Previous Question
Next Question
25
See Explanation !
10
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 !
11
NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है
Indexed
Sliced
Iterated
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
12
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
Previous Question
Next Question
25
See Explanation !
13
How can you import NumPy in a Python script?
आप Python स्क्रिप्ट में NumPy को कैसे इम्पोर्ट कर सकते हैं?
import numpy
import np
from math import numpy
import numPy as np
Previous Question
Next Question
25
See Explanation !
14
Which can be the output of the following Python code? import random print(random.randrange(1,100,10))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(1,100,10))
32
67
91
80
Previous Question
Next Question
25
See Explanation !
15
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए उपयोग किया जाने वाला प्रतीक _____ है।
parallelogram
Diamond shape
Circle shape
None of the above
Previous Question
Next Question
25
See Explanation !
16
range(3) in Python is equivalent to:
पायथन में range(3) के बराबर है:
range(0,3,1)
range(1,4,1)
range(1,3)
range(1,3,0)
Previous Question
Next Question
25
See Explanation !
17
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
Selection
Sequential
Simple
Loop
Previous Question
Next Question
25
See Explanation !
18
which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.float([1,2,3,4])
arr=np.array([1,2,3,4]).toFloat()
arr=np.array([1,2,3,4],dtype='float')
arr=np.farray([1,2,3,4])
Previous Question
Next Question
25
See Explanation !
19
Attribute of array determines
ऐरे के एट्रिब्यूट से क्या क्या पता कर सकते है
Size, shape
memory consumption
data type of array
All of these
Previous Question
Next Question
25
See Explanation !
20
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
for
while
do while
None of the above
Previous Question
Next Question
25
See Explanation !
21
What is the output of this code? print(bool(0))
इस कोड का आउटपुट क्या है? print(bool(0))
True
False
0
Error
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? def foo(): total += 1 return total total = 0 print(foo())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(): total = 1 return total = 0 print(foo ())
0
1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
What will the output of following code? a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c)
False
True
Syntax error for issuperset() method
Error, no method called issuperset() exists
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python statement? print(chr(ord('b')+1))
निम्नलिखित पायथन कथन का आउटपुट क्या होगा? print(chr(ord('b')+1))
a
b
c
A
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है।
Decimal
Octal
Hexadecimal
Roman
Previous Question