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
The functions which are coming with Python software automatically are called ____ .
पायथन सॉफ्टवेयर के साथ आने वाले कार्यों को स्वचालित रूप से ____ कहा जाता है।
built-in functions
User-defined functions
Both of the above
None of these
Next Question
25
See Explanation !
2
What will be the output of the following? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
9
10
11
12
Previous Question
Next Question
25
See Explanation !
3
Which of the following is an invalid statement?
निम्नलिखित में से कौन सा एक अमान्य कथन है?
abc = 1,000,000
a b c = 1000 2000 3000
a,b,c = 1000, 2000, 3000
a_b_c = 1,000,000
Previous Question
Next Question
25
See Explanation !
4
Negative count from the Right.
दाईं ओर से नकारात्मक गिनती।
L1[-2]
L1[-1]
L1[2]
None of the above
Previous Question
Next Question
25
-d2)-">
See Explanation !
-d2)-" target="_blank">
5
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
-d2)-" target="_blank">निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python function? import math print(abs(math.sqrt(25)))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import math print(abs(math.sqrt(25)))
Error
-5
5
5.0
Previous Question
Next Question
25
See Explanation !
7
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ORD (' A '))
65
97
32
67
Previous Question
Next Question
25
See Explanation !
8
What does the input() function do in Python?
पायथन में इनपुट() फ़ंक्शन क्या करता है?
Displays a message to the user.
Receives input from the user as an integer.
Receives input from the user as a string.
Both A and C
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)
[[1, 2], [3, 1.5], [0.5, 0.5]]
[[3, 1.5], [1, 2], [0.5, 0.5]]
[[0.5, 0.5], [1, 2], [3, 1.5]]
[[0.5, 0.5], [3, 1.5], [1, 2]]
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not a relational opeartor in Python?
निम्नलिखित में से कौन पायथन में एक रिलेशनल ऑपरेटर नहीं है?
>=
<=
=
!=
Previous Question
Next Question
25
See Explanation !
11
The operator returns the quotent after division.
ऑपरेटर विभाजन के बाद कोटेंट लौटाता है।
//
%
&
None of these
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
[2 4 1]
[2 3 1]
[3 4 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
13
Which function is used to generate evenly spaced values within a specified range?
किसी निर्दिष्ट सीमा के भीतर समान दूरी वाले मान उत्पन्न करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
numpy.linspace()
numpy.range()
numpy.arrange()
numpy.spaceline()
Previous Question
Next Question
25
See Explanation !
14
Which of the following function of dictionary gets all the keys from the dictionary
निम्नलिखित में से डिक्शनरी का कौन सा फ़ंक्शन डिक्शनरी से सभी की निकालने के लिए किया जाता है
getkeys()
key()
keys()
none of the mentioned
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
[1, 3]
[4, 3]
[1, 4]
[1, 3, 4]
Previous Question
Next Question
25
See Explanation !
16
In order to store values in terms of key and value we use what core data type.
की और वैल्यू के संदर्भ में मानों को संग्रहीत करने के लिए हम किस कोर डेटा प्रकार का उपयोग करते हैं।
list
tuple
class
dictionary
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following ? import numpy as np arr=np.array([1,2,3]) print(arr.shape)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np arr=np.array([1,2,3]) print(arr.shape)
(3,)
(4,)
1
3
Previous Question