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 Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Next Question
25
See Explanation !
2
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
3
..........design approach starts by dividing the complex algorithm into one or more modules.
..........डिजाइन दृष्टिकोण जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
Top-Down
Down-Top
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following code? print(not False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(गलत नहीं)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)
1
8
True
False
Previous Question
Next Question
25
See Explanation !
6
Python Programs are typed in
पायथन प्रोग्राम टाइप किए गए हैं
Interactive Mode
Script Mode
Both Interactive Mode or Script Mode
None of These
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? def foo(): return total + 1 total = 0 print(foo())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(): कुल 1 कुल = 0 प्रिंट(foo ()) लौटाएं
0
1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
What will be the result of the expression 5 and 10?
अभिव्यक्ति 5 और 10 का परिणाम क्या होगा?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
9
The data type whose representation is known are called
जिस डेटा प्रकार का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
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 isn’t true about dictionary keys?
निम्नलिखित में से कौन ड़िक्शनरी keys के बारे में सही नहीं है?
More than one key isn’t allowed
Keys must be immutable
Keys must be integers
When duplicate keys encountered, the last assignment wins
Previous Question
Next Question
25
See Explanation !
12
Choose the correct function declaration of fun1() so that we can execute the following two function calls successfully. fun1(25, 75, 55) fun1(10, 20)
fun1() का सही फ़ंक्शन घोषणापत्र चुनें ताकि हम निम्नलिखित दो फ़ंक्शन कॉल सफलतापूर्वक निष्पादित कर सकें fun1(25, 75, 55) fun1(10, 20)
def fun1(**kwargs)
def fun1(args*)
No, it is not possible in Python
def fun1(*data)
Previous Question
Next Question
25
See Explanation !
13
which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :
#
=
/
&
Previous Question
Next Question
25
See Explanation !
14
Select the reserve keyword in Python
पायथन में रिजर्व कीवर्ड का चयन करें
else
import
print
all of these
Previous Question
Next Question
25
See Explanation !
15
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 !
16
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 !
17
What will be the output of the following Python code? print("ccdcddcd".find("c"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("ccdcddcd ".find (" c "))
4
0
Error
True
Previous Question
Next Question
25
See Explanation !
18
Which of the following is not a correct mode to open a file ?
फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Previous Question
Next Question
25
See Explanation !
19
The meaning of bug is a-
बग का अर्थ है -
difficult syntax error in a program
logical error in a programm
Both a and b
All of the above
Previous Question
Next Question
25
See Explanation !
20
What is the purpose of the in operator in Python?
पायथन में इन ऑपरेटर का उद्देश्य क्या है?
Checks if an element exists within a sequence.
Checks for inequality between two variables.
Checks if two variables refer to the same object.
Checks the length of a sequence.
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following? m=0 while m<5: m+=1 if m==3: break else: print(0)
निम्नलिखित का आउटपुट क्या है? m=0 while m<5: m+=1 if m==3: break else: print(0)
0 1 2 0
0 1 2
0 0 1 0 2
error
Previous Question
Next Question
25
See Explanation !
22
What is the output of the following code ? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
(2,3)
(3,1)
(1,3)
None of These
Previous Question
Next Question
25
See Explanation !
23
How can we create an empty list in Python ?
हम पायथन में एक खाली लिस्ट कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
1
A
4
Invalid syntax for get method
Previous Question
Next Question
25
See Explanation !
25
____ operator repeats a list for the given number of items.
____ ऑपरेटर दिए गए आइटम की संख्या के लिए एक सूची दोहराता है।
*
+
&
None of these
Previous Question