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
os.getlogin() function return?
os.getlogin() फ़ंक्शन क्या रिटर्न करेगा ?
Return the name of the user logged in to the terminal
Return the email of the user logged in to the terminal
Return the login time when user logged in to the terminal
None of the above
Next Question
25
See Explanation !
2
What will be the output of the following Python code? for i in range(5): if i == 5: break else: print(i) else: print("Here")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
0 1 2 3 4 Here
0 1 2 3 4 5 Here
0 1 2 3 4
1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? print(‘\\n’)
निम्नलिखित कोड आउटपुट क्या होगा? print ('\\n ')
\\n
\n
New line
Error
Previous Question
Next Question
25
See Explanation !
5
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
6
Which of the following is equivalent to random.randint(3, 6)?
निम्नलिखित में से कौन सा random.randint(3, 6) के बराबर है?
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)
Previous Question
Next Question
25
See Explanation !
7
Testing is known as
परीक्षण के रूप में जाना जाता है?
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of the above
Previous Question
Next Question
25
See Explanation !
8
Each line of a text file is terminated by a special character, called the ___
टेक्स्ट फाइल की प्रत्येक पंक्ति को एक विशेष कैरेक्टर द्वारा समाप्त किया जाता है, जिसे ____ कहा जाता है।
End of File
End of Line
End of Statement
End of program
Previous Question
Next Question
25
See Explanation !
9
To include the use of functions which are present in the random library, we must use the option:
उन फ़ंक्शन का उपयोग शामिल करने के लिए जो रैंडम लाइब्रेरी में मौजूद हैं, हमें किस ऑप्शन का यूज़ करना चाहिए:
import random
random.h
import.random
random.random
Previous Question
Next Question
25
See Explanation !
10
The .......... construct repeats a set of statements a specified number of times or as long as a condition is true.
.......... CONSTRUCT कथनों के एक सेट को निर्दिष्ट संख्या में बार - बार दोहराता है या जब तक कोई शर्त सत्य है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
11
Which of the following words is not a keyword of python language?
निम्नलिखित में से कौन सा शब्द अजगर भाषा का कीवर्ड नहीं है?
val
raise
try
with
Previous Question
Next Question
25
See Explanation !
12
Function of a compiler is to
एक संकलक का कार्य है
put to gether the file and functions that are required by the program
translate the instructions in to a form suitable for execution by the program
load the executable code in to the memory and execute them
allow the user to type the program
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 02 MINUTES 50 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
0 1 2
{0, 1, 2} {0, 1, 2} {0, 1, 2}
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
14
What is the output of the following code? print(not False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(गलत नहीं)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
(5,1,6,2)
(5,1,7,6)
(5,1,7,6,2)
Error
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python function? len(["hello",2, 4, 6])
निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? len(["hello",2, 4, 6])
4
3
Error
6
Previous Question
Next Question
25
See Explanation !
17
The syntax of seek() is: file_object.seek(offset [, reference_point]) What does the reference_point indicate?
seek () का सिंटैक्स है: file_object.seek(offset [, Reference_point]) रेफरेंस_पॉइंट क्या दर्शाता है?
reference_point indicates the current position of the file object
reference_point indicates the starting position of the file object
reference_point indicates the ending position of the file object
None of the above
Previous Question
Next Question
25
See Explanation !
18
Numpy was developed by___ .
Numpy को ___ द्वारा विकसित किया गया था।
Guido van Rosum
Travis Oliphant
Wes McKinney
Jim Hugunin
Previous Question
Next Question
25
See Explanation !
19
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code snippet? print('abef'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abef '.replace (' cd ', '12 '))
abef
12
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
What is the full form of IDLE in Python
पायथन में निष्क्रिय का पूर्ण रूप क्या है
Integrated Development and Learning Environment
Interpreted Development and Language Environment
Integrated Development and Language Environment
Integrated Designing and Language Environment
Previous Question
Next Question
25
See Explanation !
22
_____method calls the built-in Python help system.
_____विधि अंतर्निहित पायथन सहायता प्रणाली को बुलाती है।
python.help ()
help()
help.python()
None of the Above
Previous Question
Next Question
25
See Explanation !
23
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
24
What will the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)
0
infinite
5
ZeroDivisionError
Previous Question
Next Question
25
See Explanation !
25
In which datatype we can store True/False type values
किस डेटाटाइप में हम सही/गलत प्रकार के मानों को संग्रहीत कर सकते हैं
Boolean
Integer
Float
String
Previous Question