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
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print("john" in d)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print("john" in d)
True
False
None
Error
Next Question
25
See Explanation !
2
What will be the output of the following ? import numpy as np a = np.array([1, 5, 4, 7, 8]) a = a + 1 print(a[1])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([1, 5, 4, 7, 8]) a = a + 1 print(a[1])
4
5
6
7
Previous Question
Next Question
25
See Explanation !
3
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 !
4
Which of the following functions is a built-in function in python
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है
factorial()
print()
seed()
sqrt()
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = i के लिए 'abcd' in range(len(x)): x[i ].upper () print (x)
abcd
ABCD
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
6
find the output of following code: def add(a,b): return(a+b) print(add(3,4))
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 01 HOURS 23 MINUTES 41 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
4
7
9
8
Previous Question
Next Question
25
See Explanation !
7
will return the mathematical number PI from the constants module.
गणितीय संख्या PI को स्थिरांक मॉड्यूल से वापस कर देगा।
Math.Pi
Circle()
Pandas
None of these
Previous Question
Next Question
25
See Explanation !
8
Which can be the output of the following Python code? import random print(random.randrange(1,100,10))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(1,100,10))
32
67
91
80
Previous Question
Next Question
25
See Explanation !
9
What type of data is : arr=[(1,1),(2,2),(3,3)]?
किस प्रकार का डेटा है : arr=[(1,1),(2,2),(3,3)]?
List of tuple
Tuple of List
Array of Tuples
Invalid Type
Previous Question
Next Question
25
See Explanation !
10
What happens if a local variable exists with the same name as the global variable you want to access?
यदि कोई लोकल वैरिएबल वैसा ही नाम के साथ मौजूद है जैसा कि ग्लोबल वैरिएबल जिसे आप एक्सेस करना चाहते हैं?
Error
The local variable is shadowed
Undefined behavior
The global variable is shadowed
Previous Question
Next Question
25
See Explanation !
11
Leading white space at the beginning of each statement, which is used to determine the group of statement.
प्रत्येक कथन के आरंभ में शीर्ष सफेद स्थान, जिसका उपयोग कथनों के समूह को निर्धारित करने के लिए किया जाता है।
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
12
Shape() function in Numpy array is used to
Numpy सरणी में SHAPE () फ़ंक्शन का उपयोग किसके लिए किया जाता है?
Find the shape of the array
change the shape of array
Display elements
None of these
Previous Question
Next Question
25
See Explanation !
13
What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या है?
12.6
'12.6'
12
syntax error
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
15
What is the output of below program ? def say(message, times =1): print(message * times) say("Hello") say("Word",5)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def say(message, times =1): print(message * times) say("Hello") say("Word",5)
Hello WordWordWordWordWord
Hello Word 5
Hello Word,Word,Word,Word,Word
Hello HelloHelloHelloHelloHello
Previous Question
Next Question
25
See Explanation !
16
The offset of the local DST time zone.
स्थानीय डीएसटी समय क्षेत्र का ऑफसेट।
Time.altzone
alt.Timezone
zone.altTime
None
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python function? sum(2,4,6) sum([1,2,3])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? sum(2,4,6) sum([1,2,3])
Error, 6
12, Error
12, 6
Error, Error
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following ? import numpy as np a = np.arange(1,3,.5) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,3,.5) print(a)
[1 2 3]
[1. 1.5 2. 2.5]
[1. 1.5 2. 2.5 3]
[1 1.5 2 2.5 3]
Previous Question
Next Question
25
See Explanation !
19
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 !
20
What will be the output of the following Python code snippet? print(not(3>4)) print(not(1&1))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(not(3>4)) print(not(1)
True True
True False
False True
False False
Previous Question
Next Question
25
See Explanation !
21
Which of the following is not a Python IDE
निम्नलिखित में से कौन पायथन आईडीई नहीं है
IDLE
Spyder
Jupyter Notes
Sublime Test
Previous Question
Next Question
25
See Explanation !
22
Both the functions randint and uniform accept ____________ parameters.
दोनों फ़ंक्शन में रैंडम और यूनिफार्म ____________ पैरामीटर्स को स्वीकार करते हैं।
0
1
3
2
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python expression? print(4.00/(2.0+2.0))
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा? print(4.00/(2.0 2.0))
Error
1.0
1.00
1
Previous Question
Next Question
25
See Explanation !
24
Which of the following is a floor division operator?
निम्नलिखित में से कौन एक फ्लोर डिवीजन ऑपरेटर है?
%
/
//
||
Previous Question
Next Question
25
See Explanation !
25
Function range(10, 5, 2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, 2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[]
[10, 8, 6]
[2, 5, 8]
[8, 5, 2]
Previous Question