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
The data structure which is a mutable ordered sequence of elements is called
डेटा संरचना जो तत्वों का एक परिवर्तनशील क्रमबद्ध अनुक्रम है, कहलाती है
Built in
List
Tuple
Derived data
Next Question
25
See Explanation !
2
What will be the output of the following Python code? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(t
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(ttt(data[0]))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
3
What will be the output of : infile.read(2)
निम्नलिखित कोड का आउटपुट क्या होगा? infile.read(2)
Read two words from file
Read two line from file
Read two character / two bytes
count the number of '2' in file
Previous Question
Next Question
25
See Explanation !
4
If return statement is not used inside the function, the function will return:
यदि फंक्शन के अंदर रिटर्न स्टेटमेंट का उपयोग नहीं किया जाता है, तो फंक्शन रिटर्न करेगा:
None
0
Null
Arbitary value
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? myList = [1, 5, 5, 5, 5, 1] max = myList[0] indexOfMax = 0 for i in range(1, len(myList)): if myList[i] > max: max = myList[i] indexOfMax = i print(indexOfMax)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? myList = [1, 5, 5, 5, 5, 1] max = myList[0] indexOfMax = 0 for i in range(1, len(myList)): if myList[i] > max: max = myList[i] indexOfMax = i print(indexOfMax)
1
2
3
4
Previous Question
Next Question
25
See Explanation !
6
____ is a set of functions you want to include in your applications.
____ कार्यों का एक सेट है जिसे आप अपने अनुप्रयोगों में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? print("abcdef".find("cd") == "cd" in "abcdef")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" abcdef ".find(" cd ") == "abcdef" में "cd ")
True
False
Error
None of the mentioned
Previous Question
Next Question
25
See Explanation !
8
Which of the following is a feature of DocString?
डॉकस्ट्रिंग की निम्नलिखित में से कौन सी विशेषता है?
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods.
All functions should have a docstring.
Docstrings can be accessed by the ___doc_attribute on objects.
All of the mentioned.
Previous Question
Next Question
25
See Explanation !
9
What will be the datatype of the var in the below code snippet? var = 10 | print(type(var)) | var = "Hello" | print(type(var))
नीचे दिए गए कोड स्निपेट में var का डेटाटाइप क्या होगा? var = 10 | print(type(var)) | var = "Hello" | print(type(var))
Str and int
int and int
str and str
int and str
Previous Question
Next Question
25
See Explanation !
10
The datatype whose representation is known are called
जिस डेटाटाइप का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
11
Tool ________ is used for program design.
टूल ________ का उपयोग प्रोग्राम डिज़ाइन के लिए किया जाता है।
Flowchart
Psuedocode
Algorithm
All of the above
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? x = 'abcd' for i in x: print(i) x.upper()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = x में i के लिए 'abcd ': print(i) x.upper ()
a B C D
a b c d
A B C D
error
Previous Question
Next Question
25
See Explanation !
13
Python operator always yields the result of
पायथन ऑपरेटर हमेशा का परिणाम देता है
integer
floating point
complex
all of these
Previous Question
Next Question
25
See Explanation !
14
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?
65536
33
169
None of the above
Previous Question
Next Question
25
See Explanation !
15
Which of the following is used to find the largest element in numpy array
नमपाई ऐरे में सबसे बड़े डाटा को खोजने के लिए निम्नलिखित में से किसका उपयोग किया जाता है
numpy.maximum()
numpy.arraymax()
numpy.amax()
numpy.big()
Previous Question
Next Question
25
See Explanation !
16
The sequence logic will not be used while
____के समय सीक्वेंस लॉजिक का उपयोग नहीं किया जाएगा|
Subtracting two numbers
Comparing two data values
Providing output to the user
Adding two numbers
Previous Question
Next Question
25
See Explanation !
17
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code snippet? print('Ab!2'.swapcase())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Ab!2 '.swapcase ())
AB!@
ab12
aB!2
aB1@
Previous Question
Next Question
25
See Explanation !
19
What is the output of >>>’2’ +’3’
>>>'2' +'3' का आउटपुट क्या है
23
'2+3'
'23'
None of These
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? from math import* print(floor(3.7))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import* print(floor(3.7))
3
4
3.0
None of These
Previous Question
Next Question
25
See Explanation !
21
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
22
Strings in Python are _____
पायथन में तार _____ हैं।
mutable
immutable
fixed
None of these
Previous Question
Next Question
25
See Explanation !
23
To print the value of a variable, Python uses
एक चर के मूल्य को मुद्रित करने के लिए, पायथन का उपयोग करता है
Print Statement
Print Function()
print Statement
print() Function
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(d[x])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.values () में x के लिए: print(d[x])
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
Which statement will open file data.txt in append mode?
कौन सा स्टेटमेंट data.txt फाइल को एपेंड मोड में खोलेगा?
f = open("data.txt", "a")
f = Open("data.txt", "ab")
f= new("data.txt", "a")
open("data.txt", "a")
Previous Question