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
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
Next Question
25
See Explanation !
2
Which of these definitions correctly describes a module?
इनमें से कौन सी परिभाषा सही ढंग से एक मॉड्यूल का वर्णन करती है?
Denoted by triple quotes for providing the specification of certain program elements
Design and implementation of specific functionality to be incorporated into a program
Defines the specification of how it is to be used
Any program that reuses code
Previous Question
Next Question
25
See Explanation !
3
Which of the following is not a legal integer type value in Python
निम्नलिखित में से कौन पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following code ? f=open("demo.txt","w+") f.write("Welcome to python") f.seek(5) a=f.read(5) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? f=open("demo.txt","w+") f.write("Welcome to python") f.seek(5) a=f.read(5) print(a)
Welco
me to
Welcome to Python
e to
Previous Question
Next Question
25
See Explanation !
5
_____ help programmers to create lists in a concise way.
_____ प्रोग्रामर को संक्षिप्त तरीके से सूचियाँ बनाने में मदद करें।
Tuple
Dictionary
List Comprehensions
None of these
Previous Question
Next Question
25
See Explanation !
6
By using function _____ ,we can change the shape of the Numpy array in python.
फ़ंक्शन _____ का उपयोग करके,हम अजगर में Numpy सरणी के आकार को बदल सकते हैं।
shape ()
reshape()
change()
None of these
Previous Question
Next Question
25
See Explanation !
7
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
8
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? print("xyyzxyzxzxyy".endswith("xyy"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy ".endswith (" xyy "))
1
True
3
2
Previous Question
Next Question
25
See Explanation !
10
Which of the following data structures is returned by the functions globals() and locals()?
निम्नलिखित में से कौन सा डेटा स्ट्रक्चर फंक्शन ग्लोबल्स () और लोकल लोगों () द्वारा रिटर्न की जाती है?
list
set
dictionary
tuple
Previous Question
Next Question
25
See Explanation !
11
Where is function defined?
फंक्शन को कहां डिफाइन किया जाता है?
In Module
In Class
In Another function
All of these
Previous Question
Next Question
25
See Explanation !
12
Which of the following is incorrect regarding variables in Python?
पायथन में चर के संबंध में निम्नलिखित में से कौन सा गलत है?
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Variable names can start with an underscore.
Data type of variable names should not be declared.
None of the above.
Previous Question
Next Question
25
See Explanation !
13
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
True
False
1
Error
Previous Question
Next Question
25
See Explanation !
14
Which one of the following has the same precedence level?
निम्नलिखित में से किसका वरीयता स्तर समान है?
Addition and Subtraction
Multiplication, Division and Addition
Multiplication, Division, Addition and Subtraction
Addition and Multiplication
Previous Question
Next Question
25
See Explanation !
15
Which is the most comfortable loop?
सबसे सरल लूप कौन सा है?
do..while
while
for
if..elif
Previous Question
Next Question
25
See Explanation !
16
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
17
Which function is used to add an element (5) in the list1?
लिस्ट 1 में एक एलिमेंट (5 ) जोड़ने के लिए किस फंक्शन का प्रयोग किया जाता है ?
list1.sum(5)
list1.add(5)
listl.append(5)
list1.addelement(5)
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following python code? from math import * floor(11.7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import * floor(11.7)
12
11
11.0
none of these
Previous Question
Next Question
25
See Explanation !
19
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
20
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
22
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट - ओरिएंटेड शैली या प्रोग्रामिंग की तकनीक का समर्थन करता है जो _____ के भीतर कोड को समाहित करता है।
objects
style
memory
None
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following pseudo code? Integer a,b | set a=10,b=5 | a=a mod(a-6) | b=b mod(b-2) | print a-b
निम्नलिखित छद्म कोड का आउटपुट क्या होगा? पूर्णांक a,b | सेट a=10,b=5 | a = a mod(a -6) | b= b mod(b -2) | प्रिंट a - b
4
0
1
8
Previous Question
Next Question
25
See Explanation !
24
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 !
25
What are the three different types, of algorithm constructions?
एल्गोरिथ्म निर्माण के तीन अलग - अलग प्रकार क्या हैं?
Input/Output, Decision, Repeat
Loop, Input/Output, Process
Input, Output, Process
Sequence, Selection, Repeat
Previous Question