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 variables in a function definition are called as
फ़ंक्शन परिभाषा में वेरिएबल्स को कहा जाता है
Subroutines
Function
Function
Parameters
Next Question
25
See Explanation !
2
What will be the output of the following code? a=((0,2,3,4)[1:-2]) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? a=((0,2,3,4)[1:-2]) print(a)
(3,)
(2, )
(1,)
(0,)
Previous Question
Next Question
25
See Explanation !
3
Which of the following is not a keyword in python?
पाइथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है?
raise
try
val
with
Previous Question
Next Question
25
See Explanation !
4
You can also create your own functions, these functions are called?
आप अपने खुद के फंक्शन भी बना सकते हैं, इन फंक्शन्स को क्या कहते हैं?
built-in functions
user-defined functions
py function
None of the above
Previous Question
Next Question
25
See Explanation !
5
How many keyword arguments can be passed to a function in a single function call?
एक फ़ंक्शन कॉल में एक फ़ंक्शन में कितने कीवर्ड तर्क पारित किए जा सकते हैं?
zero
one
zero or more
one or more
Previous Question
Next Question
25
See Explanation !
6
Which predefined Python function is used to find length of String()
स्ट्रिंग() की लंबाई का पता लगाने के लिए किस पूर्वनिर्धारित पायथन फ़ंक्शन का उपयोग किया जाता है
length
length()
len()
None
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? a=[(2,4),(1,2),(3,9)] a.sort() print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a =[(2,4),(1,2),(3,9)] a.sort() print(a)
[(1, 2), (2, 4), (3, 9)]
[(2,4),(1,2),(3,9)]
Error because tuples are immutable
Error, tuple has no sort attribute
Previous Question
Next Question
25
See Explanation !
8
Which function is used to converts and returns the binary equivalent string of a given integer.
किसी दिए गए पूर्णांक के द्विआधारी समतुल्य स्ट्रिंग को परिवर्तित करने और वापस करने के लिए किस फ़ंक्शन का उपयोग किया जाता है।
bin()
int()
binary()
Zip()
Previous Question
Next Question
25
See Explanation !
9
What is identifier ?
पहचानकर्ता क्या है?
User-defined name
Pre-defined name
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will be the output of the following Python code snippet? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert('Ball')
3
1
2
0
Previous Question
Next Question
25
See Explanation !
12
Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?
मान लीजिए list1 [3, 5, 25, 1, 3] है, तो min(list1) क्या है?
3
5
25
1
Previous Question
Next Question
25
See Explanation !
13
are set of procedures defined in library to find the minimum value function or the root of an equation.
न्यूनतम मान फ़ंक्शन या समीकरण के मूल को खोजने के लिए लाइब्रेरी में परिभाषित प्रक्रियाओं का सेट हैं।
Optimisers
Pandas
scipy ()
None of these
Previous Question
Next Question
25
See Explanation !
14
Which one of the following is the correct extension of the Python file.
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही विस्तार है।
.py
.python
.p
None of these
Previous Question
Next Question
25
See Explanation !
15
What is the purpose of the elif statement in Python?
पायथन में एलिफ स्टेटमेंट का पर्पज क्या है?
To create an infinite loop.
To check additional conditions when the first if condition is False.
To end the if block.
To execute code unconditionally.
Previous Question
Next Question
25
See Explanation !
16
What does size attribute in numpy use to find?
numpy में numpy एट्रिब्यूट का क्या उपयोग है
Number of Rows and Column in array
Size of each items in array
Number of elements in array
Largest element of an array
Previous Question
Next Question
25
See Explanation !
17
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
18
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों को ____ में दर्शाया गया है।
Boxes
Circles
Arrows
All of the above
Previous Question
Next Question
25
See Explanation !
19
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 !
20
Which of the following functions will not result in an error when no arguments are passed to it?
जब कोई आर्ग्यमन्ट पास नहीं किया जाता हैं, तो निम्नलिखित में से कौन से फंक्शन में एरर आएगा ?
min()
divmod()
all()
float()
Previous Question
Next Question
25
See Explanation !
21
Which of the following will return reverse string str1?
निम्नलिखित में से कौन रिवर्स स्ट्रिंग str1 लौटाएगा?
str1[ : : -1 ]
str1[ : : 1 ]
str1[ : -1 : -1 ]
None
Previous Question
Next Question
25
See Explanation !
22
Which of the following is a floor division operator?
निम्नलिखित में से कौन एक फ्लोर डिवीजन ऑपरेटर है?
%
/
//
||
Previous Question
Next Question
25
See Explanation !
23
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 !
24
Which of the following operations is NOT allowed on a tuple?
एक टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?
Slicing
Concatenation
Deletion of elements
Iteration
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code snippet? print('ab cd ef'.title())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' ab cd ef '.title ())
Ab cd ef
Ab cd eF
Ab Cd Ef
None of the mentioned
Previous Question