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 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
Next Question
25
See Explanation !
2
_____ creates an uninitialized array of specified shape and dtype.
.....निर्दिष्ट शेप और dtype का एक अनइनीशिलाइज्ड ऐरे बनाता का है।
full
empty
init
None of these
Previous Question
Next Question
25
See Explanation !
3
What arithmetic operators cannot be used with strings?
तारों के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता है?
+
*
-
All of the mentioned
Previous Question
Next Question
25
See Explanation !
4
What will be the output of following statement ? >>>"m"+"n1"
निम्नलिखित कोड का परिणाम क्या है ? >>>"m"+"n1"
'm+nl'
'mn1'
'm n1'
'm'
Previous Question
Next Question
25
See Explanation !
5
The sequence logic will not be used while
____के समय सीक्वेंस लॉजिक का उपयोग नहीं किया जाएगा|
Subtracting two numbers
Comparing two data values
Providing output to the user
Adding two numbers
Previous Question
Next Question
25
See Explanation !
6
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 !
7
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 !
8
Which of the following functions can help us to find the version of python that we are currently working on?
निम्नलिखित में से कौन सा फ़ंक्शन हमें वर्तमान में काम कर रहे Python के वर्जन को फाइंड करने में हेल्प कर सकता है?
sys.version
sys.version()
sys.version(0)
sys.version(1)
Previous Question
Next Question
25
See Explanation !
9
Designing the problem in known as
समस्या को डिजाइन करना जिसे के रूप में जाना जाता है
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
10
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 !
11
In the declaration, x = Circle (), x contains a _to Circle object. -
घोषणा में, x = Circle (), x में a_to Circle ऑब्जेक्ट है। -
dropna()
Reference
Optimisers
None of these
Previous Question
Next Question
25
See Explanation !
12
Which of the following is the correct way to check if a value exists in a list?
किसी लिस्ट में कोई मान मौजूद है या नहीं इसकी जाँच करने का निम्नलिखित में से कौन सा सही तरीका है?
list.contains(value)
list.index(value)
list.contains(value)
value in list
Previous Question
Next Question
25
See Explanation !
13
Which of the following statement(s) will terminate only the current pass of the loop and proceed with the next iteration of the loop?
निम्नलिखित में से कौन सा कथन केवल लूप के वर्तमान पास को समाप्त करेगा और लूप के अगले पुनरावृत्ति के साथ आगे बढ़ेगा?
pass
break
continue
goto
Previous Question
Next Question
25
See Explanation !
14
____ operator repeats a list for the given number of items.
____ ऑपरेटर दिए गए आइटम की संख्या के लिए एक सूची दोहराता है।
*
+
&
None of these
Previous Question
Next Question
25
See Explanation !
15
Which of the following python function converts a string to a list.
निम्नलिखित में से कौन सा पायथन फ़ंक्शन एक स्ट्रिंग को एक सूची में परिवर्तित करता है।
list()
str()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following pseudo code, where & represent AND operation ? Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
निम्नलिखित छद्म कोड का आउटपुट क्या होगा, जहाँ - Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
1
3
5
7
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? x = 'abcd' for i in range(x): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(x): print(i)
a b c d
0 1 2 3
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code if the system date is: 6/19/2017 import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
यदि सिस्टम दिनांक है: 6/19/2017 तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
2017-16-19
2017-06-9
2017-06-29
Error
Previous Question
Next Question
25
See Explanation !
19
How many numbers will be printed by the following code? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
निम्नलिखित कोड से कितनी संख्याएँ मुद्रित होंगी? def fun(a,b): for x in range(a,b+1): if x%3==0: print(x,end=" ") fun(100,120)
7
8
6
9
Previous Question
Next Question
25
See Explanation !
20
Which function is used to Evaluates string and returns an object.
स्ट्रिंग का मूल्यांकन करने और किसी ऑब्जेक्ट को वापस करने के लिए किस फ़ंक्शन का उपयोग किया जाता है।
exp(x)
eval(str)
str(x)
None of the above
Previous Question
Next Question
25
See Explanation !
21
In Python, a variable must be declared before it is assigned a value.
पायथन में, एक चर को एक मान निर्दिष्ट करने से पहले घोषित किया जाना चाहिए।
True
False
Only in Functions
Only in modules
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? print('a@ 1,'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' a@ 1,'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
23
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? def power(x, y=2): r=1 for i in range(y): r=r*x return r print(power(3)) print(power(3,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def power(x, y=2): r=1 for i in range(y): r=r*x return r print(power(3)) print(power(3,3))
212 32
9 27
567 98
None of the above
Previous Question
Next Question
25
See Explanation !
25
Set of statements is executed again and again based upon conditional test.
सशर्त परीक्षण के आधार पर कथनों का सेट बार - बार निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Previous Question