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 code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]:
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]: v
3
5
6
33
Next Question
25
See Explanation !
2
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 !
3
What will be the output of the following Python code? values = [[3, 4, 5, 1 ], [33, 6, 1, 2]] for row in values: row.sort() for element in row: print(element, end = " ") print()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1 ], [33, 6, 1, 2]] for row in values: row.sort() for element in row: print(element, end = " ") print()
The program prints two rows 3 4 5 1 followed by 33 6 1 2
The program prints on row 3 4 5 1 33 6 1 2
The program prints two rows 3 4 5 1 followed by 33 6 1 2
The program prints two rows 1 3 4 5 followed by 1 2 6 33
Previous Question
Next Question
25
See Explanation !
4
Python programming language was create by ______.
पायथन प्रोग्रामिंग भाषा ______ द्वारा बनाई गई थी।
Ray temilson
Guido van Rossum
Tim Berner
None of these
Previous Question
Next Question
25
See Explanation !
5
Which file extension is used to save Python files?
पायथन फ़ाइलों को सहेजने के लिए किस फ़ाइल एक्सटेंशन का उपयोग किया जाता है?
.py
.python
.pt
.pyt
Previous Question
Next Question
25
See Explanation !
6
_____ creates an uninitialized array of specified shape and dtype.
.....निर्दिष्ट शेप और dtype का एक अनइनीशिलाइज्ड ऐरे बनाता का है।
full
empty
init
None of these
Previous Question
Next Question
25
See Explanation !
7
The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?
Yes
No
Can't say
None of these
Previous Question
Next Question
25
See Explanation !
8
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5)?
मान लीजिए कि list1 [3, 4, 5, 20, 5] है, list1.index (5) क्या है?
0
1
4
2
Previous Question
Next Question
25
See Explanation !
9
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
10
What is the value of the expression 10 + 3 ** 3 * 2?
अभिव्यक्ति 10 3 ** 3 * 2 का मान क्या है?
28
739
829
64
Previous Question
Next Question
25
See Explanation !
11
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
12
Which of the following functions will return the symmetric difference between two sets, x and y?
निम्नलिखित में से कौन सा कार्य दो सेटों, x और y के बीच सिमेट्रिक डिफ्रेंस को रिटर्न करेगा ?
x | y
x ^ y
x & y
x – y
Previous Question
Next Question
25
See Explanation !
13
_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।
unichr (x)
oct (x)
chr(x)
None of the these
Previous Question
Next Question
25
See Explanation !
14
What is the output of the following code? python x = [1, 2, 3] print(x[1])
निम्नलिखित कोड का आउटपुट क्या है? python x = [1, 2, 3] print(x[1])
1
2
3
IndexError
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following y='klmn' for i in range(len(y)): print(y)
निम्नलिखित कोड का परिणाम क्या है ? y='klmn' for i in range(len(y)): print(y)
klmn klmn klmn klmn
k
kkk
None of the these
Previous Question
Next Question
25
See Explanation !
16
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 !
17
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
for
while
do while
None of the above
Previous Question
Next Question
25
See Explanation !
18
Choose the correct function declaration of fun1() so that we can execute the following two function calls successfully. fun1(25, 75, 55) fun1(10, 20)
fun1() का सही फ़ंक्शन घोषणापत्र चुनें ताकि हम निम्नलिखित दो फ़ंक्शन कॉल सफलतापूर्वक निष्पादित कर सकें fun1(25, 75, 55) fun1(10, 20)
def fun1(**kwargs)
def fun1(args*)
No, it is not possible in Python
def fun1(*data)
Previous Question
Next Question
25
See Explanation !
19
Suppose there is a list such that: l=[2,3,4]. If we want to print this list in reverse order, which of the following methods should be used?
मान लीजिए कि एक लिस्ट ऐसी है: l = [2,3,4]। यदि हम इस लिस्ट को रिवर्स ऑर्डर में प्रिंट करना चाहते हैं, तो निम्न में से किस मैथड का यूज़ किया जाना चाहिए?
reverse(l)
list(reverse[(l)])
reversed(l)
list(reversed(l))
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? print('abcd'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcd '.partition (' cd '))
(‘ab’, ‘cd’, ”)
(‘ab’, ‘cd’)
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
The function random.randint(4) can return only one of the following values. Which?
फ़ंक्शन random.randint (4) निम्न में से केवल एक वैल्यू रिटर्न कर सकता है। कौन से है ?
4
3.4
error
5
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a = [0, 1, 2, 3] for a[0] in a: print(a[0])
0 1 2 3
0 1 2 2
3 3 3 3
error
Previous Question
Next Question
25
See Explanation !
23
You can obtain a value in a ______using a key for a single element.
आप एकल तत्व के लिए एक कुंजी का उपयोग करके ______ में एक मान प्राप्त कर सकते हैं।
List
dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? print("abc DEF".capitalize())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abc DEF".capitalize())
abc def
ABC DEF
Abc def
Abc Def
Previous Question
Next Question
25
See Explanation !
25
Who developed Python ?
पायथन किसने विकसित किया?
Ritche
Guido Van Rossum
Bill Gates
Sunder Pitchai
Previous Question