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
in python which function is used to read CSV file
पायथन में CSV फ़ाइल को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
csv.reader(file)
csv.read(file)
csv.readcsv(file)
csv.readcsvdata(file)
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
1
A
4
Invalid syntax for get method
Previous Question
Next Question
25
See Explanation !
3
in python a variable named 'num' ,which type of value we can store in this variable
अजगर में 'NUM' नामक एक चर, हम इस चर में किस प्रकार का मान संग्रहीत कर सकते हैं
Integer
Float
String
All of These
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following code? print(2 ** 3 ** 2)
निम्नलिखित कोड का आउटपुट क्या होगा? प्रिंट(2 ** 3 ** 2)
64
512
729
Error
Previous Question
Next Question
25
See Explanation !
5
Which of the following function returns the index value of first occurrence of substring occurring in the given string.
निम्नलिखित में से कौन सा फंक्शन दिए गए स्ट्रिंग में होने वाली सबस्ट्रिंग की पहली घटना का इंडेक्स मान बताता है।
index()
find()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
6
Which of these are keyword?
इनमें से कौन सा कीवर्ड है?
in
is
assert
All
Previous Question
Next Question
25
See Explanation !
7
Python is a/an _________ language.
पायथन एक _________ भाषा है।
High Level
Low Level
Procedural
Difficult
Previous Question
Next Question
25
See Explanation !
8
What does random.shuffle(x) do when x = [1, 2, 3]?
जब x = [1, 2, 3] random.shuffle(x) क्या करता है?
error
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
none of the mentioned
Previous Question
Next Question
25
See Explanation !
9
What is the output when we execute list("hello")?
जब हम सूची(" हैलो ") निष्पादित करते हैं तो आउटपुट क्या होता है?
['llo']
['hello']
['h', 'e', T', '1', 'o']
None of the above
Previous Question
Next Question
25
See Explanation !
10
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
11
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 !
12
Which of the following is used to define a block of code in Python language ?
पायथन लैंग्वेज में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?
try
Brackets
Indentation
Catch
Previous Question
Next Question
25
See Explanation !
13
Which of the following is a mapping datatype?
निम्नलिखित में से कौन एक मैपिंग डेटाटाइप है?
String
List
Tuple
Dictionary
Previous Question
Next Question
25
See Explanation !
14
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
15
If a={5,6,7,8}, which of the following statements is false?
यदि a = {5,6,7,8}, निम्नलिखित में से कौन सा स्टेट्मेंट गलत है?
print(len(a))
print(min(a))
a.remove(5)
a[2]=45
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following ? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
[1 5 2]
[1 5 4]
[2 3 4]
[2 5 4]
Previous Question
Next Question
25
See Explanation !
17
..........design approach starts by dividing the complex algorithm into one or more modules.
..........डिजाइन दृष्टिकोण जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
Top-Down
Down-Top
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
18
What is the value of the following Python code? >>>print(36 / 4)
निम्नलिखित कोड का परिणाम क्या है ?
9
4
9.0
4.0
Previous Question
Next Question
25
See Explanation !
19
Which method is used to read the entire content of a file as a string in Python?
पायथन में फ़ाइल के पूरे डाटा को स्ट्रिंग के रूप में पढ़ने के लिए किस फंक्शन का उपयोग किया जाता है?
read()
readline()
readlines()
load()
Previous Question
Next Question
25
See Explanation !
20
Which method is used to Write(s) a list of lines to the file.
फ़ाइल की पंक्तियों की सूची लिखने के लिए किस विधि का उपयोग किया जाता है।
write(s)
writelines (lines)
readlines (lines)
None of these
Previous Question
Next Question
25
See Explanation !
21
Write the list comprehension to pick out only negative integers from a given list ‘l’.
दी गई लिस्ट। L ’से केवल नेगटिव इन्टिजर निकालने के लिए लिस्ट की समझ लिखें।
[x<0 in l]
[x for x<0 in l]
[x in l for x<0]
[x for x in l if x<0]
Previous Question
Next Question
25
See Explanation !
22
It defines the accessibility and the lifetime of a variable.
यह एक चर की सुलभता और जीवनकाल को परिभाषित करता है।
scope
Lifetime
keyword
None
Previous Question
Next Question
25
See Explanation !
23
Which of the following is the exponentiation operator in Python?
पायथन में घातांकन ऑपरेटर निम्नलिखित में से कौन सा है?
^
**
^^
exp()
Previous Question
Next Question
25
See Explanation !
24
Which of the following functions take iterables(can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
निम्नलिखित में से कौन सा फ़ंक्शन इटरेबल्स लेता है (शून्य या अधिक हो सकता है), इटेरेटर बनाता है जो पारित इटरेबल्स के आधार पर तत्वों को एकत्रित करता है, और ट्यूपल्स का इटेरेटर देता है।
Zip()
tuple()
list()
None of the above
Previous Question
Next Question
25
See Explanation !
25
Which of the following isn’t true about dictionary keys?
निम्नलिखित में से कौन ड़िक्शनरी keys के बारे में सही नहीं है?
More than one key isn’t allowed
Keys must be immutable
Keys must be integers
When duplicate keys encountered, the last assignment wins
Previous Question