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
Why does the name of local variables start with an underscore denote?
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
To identify the variable.
To identify the constant.
It indicates a public variable of a class.
Variables cannot be accessed from outside the class.
Next Question
25
See Explanation !
2
What does readlines() method return ?
Readlines() विधि क्या लौटाती है?
Dictionary
String
Tuple
List
Previous Question
Next Question
25
See Explanation !
3
Algorithms cannot be represented by
एल्गोरिदम का प्रतिनिधित्व नहीं किया जा सकता है
pseudo codes
syntax
flowcharts
programs
Previous Question
Next Question
25
See Explanation !
4
Which of the following error is returned when we try to open a file in write mode which does not exist?
जब हम किसी ऐसी फ़ाइल को राइट मोड में खोलने की प्रयास करते हैं जो मौजूद नहीं है तो निम्न में से कौन सी एरर दिखाई देती है
File Found Error
File Not Exist Error
File Not Found Error
None of the above
Previous Question
Next Question
25
See Explanation !
5
The GCD of the numbers 136 and 170 is ______ .
136 और 170 संख्याओं का GCD ______ है।
34
40
50
None
Previous Question
Next Question
25
See Explanation !
6
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 !
7
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday.weekday())
यदि सिस्टम दिनांक 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.weekday())
6
1
0
7
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code snippet? >>bool(‘False’) >>bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? >>bool(' False ') >>bool()
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
9
Which one the following is a mutable data type ?
निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?
set
tuple
string
None of These
Previous Question
Next Question
25
See Explanation !
10
The method used to removes all the items at once.
सभी आइटम को एक साथ हटाने के लिए इस्तेमाल किया जाने वाला तरीका।
remove ()
clear()
removelist ()
None of these
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? for i in [1, 2, 3, 4][::-1]: print (i)
1 2 3 4
4 3 2 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
Which symbol is used to write single line comment?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
*
#
/
?
Previous Question
Next Question
25
See Explanation !
13
in python which function is used to read CSV file
पायथन में CSV फ़ाइल को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
csv.reader(file)
csv.read(file)
csv.readcsv(file)
csv.readcsvdata(file)
Previous Question
Next Question
25
See Explanation !
14
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
2 3 4 5 6 1
6 1 2 3 4 5
2 3 4 5 6 6
1 1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
16
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, -2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[10, 8, 6]
[9, 7, 5]
[6, 8, 10]
[5, 7, 9]
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? import random print(random.randrange(0,91,5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(0,91,5))
10
18
79
95
Previous Question
Next Question
25
See Explanation !
18
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
19
Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं से निपटते समय पायथन केस संवेदनशील होता है?
yes
no
machine dependent
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
An empty / null statement in Python is _____ .
Python में एक खाली / शून्य कथन _____ है।
pass
null
empty
None
Previous Question
Next Question
25
See Explanation !
21
Which is Special type of literal in Python
जो पायथन में विशेष प्रकार का शाब्दिक है
Integer
Complex Number
None
String
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Python code can run on a variety of platforms, it means Python is a _____ language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक _____ भाषा है।
Graphical
Cross-Platform
Platform Dependent
All of these
Previous Question
Next Question
25
See Explanation !
24
In Python, _____ defines a block of statements.
Python में, _____ कथनों के एक खंड को परिभाषित करता है।
Block
{}
Indentation
loop
Previous Question
Next Question
25
See Explanation !
25
What is the output of the expression : 3*1**3 ?
अभिव्यक्ति का आउटपुट क्या है: 3*1**3 ?
27
9
3
1
Previous Question