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
What will the following code output? a=555 b=55 print( b in a)
निम्नलिखित कोड क्या आउटपुट देगा? a=555 b=55 print( b in a)
True
False
55
TypeError
Next Question
25
See Explanation !
2
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 !
3
Which of the following is true about the break statement in loops?
लूप्स में ब्रेक स्टेटमेंट के बारे में निम्नलिखित में से कौन सा सत्य है?
It skips the current iteration and goes to the next iteration.
It terminates the loop entirely
It does nothing.
It restarts the loop.
Previous Question
Next Question
25
See Explanation !
4
How can you perform element-wise addition of two NumPy arrays arr1 and arr2?
आप दो NumPy सरणियों arr1 और arr2 को एलिमेंट वाइज कैसे जोड़ सकते हैं?
arr1 + arr2
add(arr1, arr2)
arr1.add(arr2)
elementwise_add(arr1, arr2)
Previous Question
Next Question
25
See Explanation !
5
How is a function declared in Python ?
पायथन में एक फ़ंक्शन कैसे घोषित किया जाता है?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Previous Question
Next Question
25
See Explanation !
6
Which of the following is not a valid namespace?
इनमें से कौन - सा एक मान्य नेमस्पेस नहीं है?
Global namespace
Public namespace
Built-in namespace
Local namespace
Previous Question
Next Question
25
See Explanation !
7
Which of the following cannot be a variable?
निम्नलिखित में से कौन एक चर नहीं हो सकता है?
__init__
in
it
on
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} a.clear() print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} a.clear() print(a)
None
{ None:None, None:None, None:None}
{1:None, 2:None, 3:None}
{ }
Previous Question
Next Question
25
See Explanation !
9
The sleep function (under the time module) is used to ___________
स्लीप फ़ंक्शन (टाइम मॉड्यूल के अंडर) ___________ के लिए यूज़ किया जाता है
Pause the code for the specified number of seconds
Return the specified number of seconds, in terms of milliseconds
Stop the execution of the code
Return the output of the code had it been executed earlier by the specified number of seconds
Previous Question
Next Question
25
See Explanation !
10
What is the result of the following code? print(10 / 2.0)
निम्नलिखित कोड का परिणाम क्या है? print(10 / 2.0)
5
5.0
10
Error
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? d = {0, 1, 2} for x in d.values(): print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 03 MINUTES 33 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
0 1 2
None None None
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?
colon
comma
semicolon
hyphen
Previous Question
Next Question
25
See Explanation !
13
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 !
14
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 !
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
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Previous Question
Next Question
25
See Explanation !
17
Raw data assigned to a variable is called as...
एक चर को असाइन किया गया कच्चा डेटा कहा जाता है...
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
18
When an algorithm is written in the form of a programming language it becomes a
जब एक एल्गोरिथ्म को एक प्रोग्रामिंग भाषा के रूप में लिखा जाता है तो यह एक
Flowchart
Program
Pseudo Code
Syntax
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? i = 1 while True: if i%7 == 0: break print(i) i += 1
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%7 == 0: break print(i) i = 1
1 2 3 4 5 6
1 2 3 4 5 6 7
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
Bookmark Report Bug Which of the following function returns the string with first letter of every word in the string in uppercase and rest in lowercase?
बुकमार्क रिपोर्ट बग निम्नलिखित में से कौन सा फ़ंक्शन अपरकेस में स्ट्रिंग में प्रत्येक शब्द के पहले अक्षर के साथ स्ट्रिंग देता है और लोअरकेस में आराम करता है?
capitalize()
title()
upper()
swapcase()
Previous Question
Next Question
25
See Explanation !
21
Which of the following is NOT a valid Python keyword?
निम्नलिखित में से कौन एक वैध पायथन कीवर्ड नहीं है?
None
True
False
equal
Previous Question
Next Question
25
See Explanation !
22
A natural number 1 is also an ____ .
एक प्राकृतिक संख्या 1 भी एक ____ है।
Factor
integer number
unique number
None of these
Previous Question
Next Question
25
See Explanation !
23
Which of the following is not a valid keyword of Python associated with loops?
निम्नलिखित में से कौन लूप से सम्बन्धित पायथन का वैलिड कीवर्ड नहीं है?
continue
check
range
break
Previous Question
Next Question
25
See Explanation !
24
How can you import NumPy in a Python script?
आप Python स्क्रिप्ट में NumPy को कैसे इम्पोर्ट कर सकते हैं?
import numpy
import np
from math import numpy
import numPy as np
Previous Question
Next Question
25
See Explanation !
25
Which method is used to Write(s) a list of lines to the file.
फ़ाइल की पंक्तियों की सूची लिखने के लिए किस विधि का उपयोग किया जाता है।
write(s)
writelines (lines)
readlines (lines)
None of these
Previous Question