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
____ are the arguments passed to a function in correct positional order.
सही स्थिति क्रम में किसी फंक्शन को दिए गए आर्गुमेन्ट हैं।
Required arguments
Keyword arguments
Default arguments
Variable-length arguments
Next Question
25
See Explanation !
2
In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?
k^1
k**1
k^ ^1
k^*1
Previous Question
Next Question
25
See Explanation !
3
Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन एक नए लाइन कैरेक्टर के लिए एक एस्केप सीक्वेंस है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
4
Which keyword is used for function in Python language?
पायथन भाषा में फंक्शन के लिए कौन सा कीवर्ड प्रयोग किया जाता है?
function
def
fun
define
Previous Question
Next Question
25
See Explanation !
5
What is the output of this code? def calc(x): r=2*x**2 return r print(calc(5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def calc(x): r=2*x**2 return r print(calc(5))
Error
50
100
20
Previous Question
Next Question
25
See Explanation !
6
If a function doesn't have a return statement, which of the following does the function return ?
यदि किसी फंक्शन का रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फंक्शन रिटर्न होता है?
int
null
None
An exception is thrown without the return statement
Previous Question
Next Question
25
See Explanation !
7
What is mean by 'rb' mode when working with binary file in python
पायथन में बाइनरी फ़ाइल के साथ काम करते समय 'आरबी' मोड का क्या मतलब है?
read binary
write binary
append binary
read write
Previous Question
Next Question
25
See Explanation !
8
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1
2
4
Error, the keys can’t be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following expression ? x =4 print(x<<2)
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा? x =4 print(x<<2)
4
16
6
2
Previous Question
Next Question
25
See Explanation !
11
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 !
12
The Pandas ______ method returns a new Data Prame.
पांडा की ______ विधि एक नया डेटा प्रैम बताती है।
dropna()
Pandas
read_csv()
None of these
Previous Question
Next Question
25
See Explanation !
13
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 !
14
What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
10
9
7
6
Previous Question
Next Question
25
See Explanation !
15
The operator used for concatenating two strings. -
ऑपरेटर दो तारों को जोड़ने के लिए उपयोग किया जाता है। -
+
*
%
None
Previous Question
Next Question
25
See Explanation !
16
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
17
Which of the following data types is not supported in python
पायथन में निम्नलिखित में से कौन सा डेटा प्रकार समर्थित नहीं है
Numbers
String
List
Slice
Previous Question
Next Question
25
See Explanation !
18
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
[2 4 1 3 5 ]
[5 9 1]
15
ValueError
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following ? import numpy as np a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]]) print(a[2,2])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]]) print(a[2,2])
7
11
10
8
Previous Question
Next Question
25
See Explanation !
21
Set makes use of __________ Dictionary makes use of ____________
सेट __________ का उपयोग करता है शब्दकोश ____________ का उपयोग करता है
keys, keys
key values, keys
keys, key values
key values, key values
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? print(''.isdigit())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?print(''.isdigit ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
23
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
my_string_1
1st_string
foo
_myvar
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following code snippet? a=[1,2,3,4,5,6,7,8,9] a[::2]=10,20,30,40,50,60 print(a)
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा? a=[1,2,3,4,5,6,7,8,9] a[:2]= 10,20,30,40,50,60 print(a)
ValueError: attempt to assign sequence of size 6 to extended slice of size 5
[10, 2, 20, 4, 30, 6, 40, 8, 50, 60]
[1, 2, 10, 20, 30, 40, 50, 60]
[1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a keyword in python?
पाइथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है?
raise
try
val
with
Previous Question