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 if the system date is 18th August, 2016? import datetime d=datetime.date.today() print(d.month)
यदि सिस्टम की तारीख 18 अगस्त, 2016 है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime d= datetime.date.today () print(d.month)
August
Aug
08
8
Next Question
25
See Explanation !
2
What is default data type of NumPy Array
NumPy Array का डिफ़ॉल्ट डेटा प्रकार क्या है?
float
integer
string
boolean
Previous Question
Next Question
25
See Explanation !
3
If a is a dictionary with some key-value pairs, what does a.popitem() do?
यदि कुछ की-वैल्यू वाले पेअर के साथ एक ड़िक्शनरी है,तो a.popitem () क्या करता है?
Removes an arbitrary element
Removes all the key-value pairs
Removes the key-value pair for the key given as an argument
Invalid method for dictionary
Previous Question
Next Question
25
See Explanation !
4
Suppose list1 is [1, 5, 9], what is sum(list1)?
मान लीजिए list1 [1, 5, 9] है, योग(list1) क्या है?
1
9
15
Error
Previous Question
Next Question
25
See Explanation !
5
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
6
In Python, a complex number is represented as:
पायथन में, एक जटिल संख्या को इस प्रकार दर्शाया जाता है:
a+√b
a+√b j
a+bj
a+√j
Previous Question
Next Question
25
See Explanation !
7
Suppose there is a list such that: l=[2,3,4]. If we want to print this list in reverse order, which of the following methods should be used?
मान लीजिए कि एक लिस्ट ऐसी है: l = [2,3,4]। यदि हम इस लिस्ट को रिवर्स ऑर्डर में प्रिंट करना चाहते हैं, तो निम्न में से किस मैथड का यूज़ किया जाना चाहिए?
reverse(l)
list(reverse[(l)])
reversed(l)
list(reversed(l))
Previous Question
Next Question
25
See Explanation !
8
If a is declared as a=['me', 'he', 'they'], the value of a="".join(a) print(a) will be ______ .
यदि a को a= ['me', 'he', 'they'] के रूप में डिक्लेयर किया जाता है, तो a='''.join (a) print(a) की वैल्यू _____ होगी।
mehethey
me he they
he they me
None of these
Previous Question
Next Question
25
See Explanation !
9
What will the output of following code? a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c)
False
True
Syntax error for issuperset() method
Error, no method called issuperset() exists
Previous Question
Next Question
25
See Explanation !
10
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 !
11
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
12
A sequence of immutable objects is called
अपरिवर्तनीय वस्तुओं का क्रम कहलाता है
Built in
List
Tuple
Derived data
Previous Question
Next Question
25
See Explanation !
13
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 !
14
What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)
1
3
5
6
Previous Question
Next Question
25
See Explanation !
15
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों को पार करते हैं, तो हमें
Runtime error
Syntax error
logical error
None of the above.
Previous Question
Next Question
25
See Explanation !
16
What does the is keyword do in Python?
पायथन में कीवर्ड क्या करता है?
Checks if two variables have the same value.
Checks if two variables refer to the same object in memory.
Assigns a value to a variable.
None of the above
Previous Question
Next Question
25
See Explanation !
17
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 !
18
The structure having keys and values is called _____ .
चाबियाँ और मानों वाली संरचना को _____ कहा जाता है।
List
Dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
19
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
20
Diamond shaped symbol is used in flowcharts to show the
डायमंड के आकार के प्रतीक का उपयोग फ्लोचार्ट में दिखाया जाता है
Decision box
Statement box
Error box
If-statement box
Previous Question
Next Question
25
See Explanation !
21
Which of the following carries out the instructions defined in the interface ?
निम्नलिखित में से कौन इंटरफ़ेस में परिभाषित निर्देशों का पालन करता है?
Operating System
Compiler
Implementation
Interpreter
Previous Question
Next Question
25
See Explanation !
22
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
23
Which is the correct operator for power(x,y)?
पावर(x,y) के लिए सही ऑपरेटर कौन सा है?
X^y
X**y
X^^y
None of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What will be the value of X in the following Python expression? x = 2+9*((3*12)-8)/10
निम्नलिखित पायथन व्यंजक में X का मान क्या होगा? x = 2 9*((3*12 )-8 )/ 10
30.0
30.8
28.4
27.2
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python function, assuming that the random module has already been imported? import random random.uniform(3,4)
यह मानते हुए कि random मॉड्यूल पहले से ही आयात किया जा चुका है, निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? import random random.uniform(3,4)
Error
Either 3 or 4
Any integer other than 3 and 4
Any decimal value between 3 and 4
Previous Question