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
>>-del-a">
See Explanation !
>>-del-a" target="_blank">
1
What will be the output of the following Python code snippet? >>> a={1:"A",2:"B",3:"C"} >>> del a
>>-del-a" target="_blank">निम्नलिखित पायथन कोड का आउटपुट क्या होगा? >>> a={1:"A",2:"B",3:"C"} >>> del a
method del doesn’t exist for the dictionary
del deletes the values in the dictionary
del deletes the entire dictionary
del deletes the keys in the dictionary
Next Question
25
See Explanation !
2
What will be the output of the following ? import math print(math.fact(5))
निम्नलिखित का आउटपुट क्या होगा? import math print(math.fact(5))
120
25
1,2,3,4,5
Error
Previous Question
Next Question
25
See Explanation !
3
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
[10,34,56,[95]]
[10,23,56,[78]]
[10,23,56,[95]]
[10,34,56,[78]]
Previous Question
Next Question
25
See Explanation !
5
In Python, a complex number is represented as:
पायथन में, एक जटिल संख्या को इस प्रकार दर्शाया जाता है:
a+√b
a+√b j
a+bj
a+√j
Previous Question
Next Question
25
See Explanation !
6
def keyword use for?
def कीवर्ड का उपयोग किसके लिए किया जाता है?
Define keyword in python
Define variable in python
Define function in python
All of the above
Previous Question
Next Question
25
See Explanation !
7
Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सा वेरिएबल डिक्लेरेशन गलत है?
a_=3
_a=3
a?=3
All of these
Previous Question
Next Question
25
See Explanation !
8
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों को ____ में दर्शाया गया है।
Boxes
Circles
Arrows
All of the above
Previous Question
Next Question
25
See Explanation !
9
IDLE means..... -
IDLE का अर्थ है..... -
Integrated Development and Learning Environment
Ideal Development and Learning Environment
Interenet development and Learning Environment
None of the above
Previous Question
Next Question
25
See Explanation !
10
Which of the following functions is not defined under the sys module?
निम्नलिखित फंक्शंस में से कौन सी sys मॉड्यूल के अंडर डिफाइन नहीं है?
sys.platform
sys.path
sys.readline
sys.argv
Previous Question
Next Question
25
See Explanation !
11
What does the // operator do in Python?
// ऑपरेटर पायथन में क्या करता है?
Performs integer division and returns the integer part.
Performs normal division and returns a float.
Performs modulus operation.
Performs exponential calculation.
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? import datetime d=datetime.date(2017,6,18) print(d)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime d=datetime.date(2017,6,18) print(d)
Error
2017-06-18
18-06-2017
06-18-2017
Previous Question
Next Question
25
See Explanation !
13
Which of the following functions is a built-in function in python
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है
factorial()
print()
seed()
sqrt()
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
15
If a=(1,2,3,4), a[1:-1] is _________
यदि a = (1,2,3,4), एक [1: -1] _________ है
Error, tuple slicing doesn’t exist
[2,3]
(2,3,4)
(2,3)
Previous Question
Next Question
25
See Explanation !
16
What is the output of the following code ? def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")
निम्नलिखित कोड का परिणाम क्या है ? def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")
TypeError
Rajat 20
Name age
None of these
Previous Question
Next Question
25
See Explanation !
17
Numpy developed by?
Numpy किसके द्वारा विकसित किया गया है?
Guido van Rossum
Travis Oliphant
Wes McKinney
Jim Hugunin
Previous Question
Next Question
25
See Explanation !
18
The brain of computer system is
कंप्यूटर सिस्टम का मस्तिष्क है
RAM
CPU
ROM
Control Unit
Previous Question
Next Question
25
See Explanation !
19
When we open file in append mode the file pointer is at the of the file?
जब हम फाइल को एपेंड मोड में खोलते हैं तो फाइल पॉइंटर फाइल के ____ पर होता है?
anywhere in between the file
End
beginning
second line of the file
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following? print(sum(1,2,3))
निम्नलिखित कोड का परिणाम क्या है ? print(sum(1,2,3))
error
6
1
3
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following program ? print "Hello World".[::-1]
निम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]
dlroWolleH
Hello Worl
d
Error
Previous Question
Next Question
25
See Explanation !
22
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? print("abcdef".find("cd"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abcdef ".find (" cd "))
True
2
3
None of the mentioned
Previous Question
Next Question
25
See Explanation !
24
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 !
25
In which of the following data type, duplicate items are not allowed?
निम्नलिखित में से किस डेटा प्रकार में, डुप्लिकेट आइटम की अनुमति नहीं है?
list
tuple
set
None of the above
Previous Question