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
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लीजिए कि t=(1,2,4,3), निम्नलिखित में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Next Question
25
See Explanation !
2
Connectors used to connect flowchart symbols to each other are classified as
फ्लोचार्ट प्रतीकों को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को इस प्रकार वर्गीकृत किया जाता है
Arrow lines
Symbols
Annotation
Special symbols
Previous Question
Next Question
25
See Explanation !
3
Which one of these is NOT true about recursion?
इनमें से कौन सा पुनरावृत्ति के बारे में सही नहीं है?
We can replace a recursive function by a non-recursive function.
The memory space taken by the recursive functions is more than that of non-recursive function,
Running a recursive function is faster as compared to a non-recursive function.
The process of recursion makes it easier for users to understand a program.
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? import time print(time.asctime())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import time print(time.asctime())
Current date only
UTC time
Current date and time
Current time only
Previous Question
Next Question
25
See Explanation !
5
What does the continue statement do in a loop?
लूप में कंटीन्यू स्टेटमेंट क्या करता है?
Exits the loop entirely.
Skips the rest of the code in the current iteration and moves to the next iteration.
Restarts the loop.
Causes an error.
Previous Question
Next Question
25
See Explanation !
6
List is mutable and Tuple is immutable?
सूची परिवर्तनीय है और ट्यूपल अपरिवर्तनीय है?
Yes, list mutable and tuple immutable
No, list and tuple both are mutable
No, list and tuple both are in immutable
No, just opposite, list immutable and tuple mutable
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 0 जबकि i < 3: print(i) i = 1 else: print(0)
0 1 2 3 0
0 1 2 0
0 1 2
error
Previous Question
Next Question
25
See Explanation !
8
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
______ को केवल उस फ़ंक्शन के अंदर एक्सेस किया जा सकता है जिसमें उन्हें घोषित किया गया है, जबकि सभी फ़ंक्शन द्वारा पूरे प्रोग्राम बॉडी में ग्लोबल वेरिएबल्स को एक्सेस किया जा सकता है।
Global variables
local variables
datatype
None of these
Previous Question
Next Question
25
See Explanation !
9
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
10
Function defined to achieve some task as per the programmers requirement is called a :
प्रोग्रामर की आवश्यकता के अनुसार कुछ कार्य को पूरा करने के लिए परिभाषित फ़ंक्शन को कहा जाता है:
User Defined Function
Library Functions
Builtin Functions
All of the above
Previous Question
Next Question
25
See Explanation !
11
Which keyword is used for function in Python language?
पायथन भाषा में फंक्शन के लिए कौन सा कीवर्ड प्रयोग किया जाता है?
function
def
fun
define
Previous Question
Next Question
25
See Explanation !
12
What is the output of the following? n=5 while n>0: n-=1 if n==2: continue print(n,end=' ')
निम्नलिखित का आउटपुट क्या है? n=5 while n>0: n-=1 if n==2: continue print(n,end=' ')
5 4 3 1 0
4 3 1 0
4 3 2
none of these
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code snippet? >>bool(‘False’) >>bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? >>bool(' False ') >>bool()
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday)? import datetime tday=datetime.date.today() print(tday.isoweekday())
यदि सिस्टम दिनांक 21 जून, 2017 (बुधवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.isoweekday())
Wed
Wednesday
2
3
Previous Question
Next Question
25
See Explanation !
15
Which one of the following is immutable data type ?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dictionary
Previous Question
Next Question
25
See Explanation !
16
What will the following code output? a,b,c=3,5,6 b,c,a=a+1,b+2,c+3 print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a+1,b+2,c+3 print(a,” ”,b,” ”,c)
7 9 4
4 7 9
9 4 7
4 7 9
Previous Question
Next Question
25
See Explanation !
17
What you can use to convert from a string to a list of character.
आप स्ट्रिंग से कैरेक्टर की लिस्ट में कन्वर्ट करने के लिए क्या इस्तेमाल कर सकते हैं।
list ()
str ()
chr()
None of these
Previous Question
Next Question
25
See Explanation !
18
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?
मान लीजिए कि list1 [4, 2, 2, 4, 5, 2, 1, 0] है, स्लाइसिंग ऑपरेशन के लिए निम्नलिखित में से कौन सा वाक्यविन्यास सही है?
print(list1[0])
print(list1[:2])
print(list1[:-2])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
19
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
20
Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Exponential
Addition
Multiplication
Parentheses
Previous Question
Next Question
25
See Explanation !
21
How can we create an empty list in Python ?
हम पायथन में एक खाली लिस्ट कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
22
Which function removes a set's first and the last element from a list?
कौन सा फ़ंक्शन एक सूची से एक सेट के पहले और अंतिम तत्व को हटा देता है?
pop
remove
dispose
None of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x: x = x[1:] print(i, end = "")
a a a a a a
a
no output
error
Previous Question
Next Question
25
See Explanation !
24
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट - ओरिएंटेड शैली या प्रोग्रामिंग की तकनीक का समर्थन करता है जो _____ के भीतर कोड को समाहित करता है।
objects
style
memory
None
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question