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
The complexity of linear search algorithm is
रैखिक खोज एल्गोरिथ्म की जटिलता है
O(n)
O(log n)
O(n2)
O(n log n)
Next Question
25
See Explanation !
2
What will be the output of the following Python code?
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
x = [' ab ', 'cd ']
i के लिए x:i.upper () print(x) में
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
[None, None]
none of the mentioned
Previous Question
Next Question
25
See Explanation !
3
The process of finding errors in code is called as
कोड में त्रुटियों को खोजने की प्रक्रिया को कहा जाता है
Compiling
Running
Testing
Debugging
Previous Question
Next Question
25
See Explanation !
4
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
7
Which module is to be imported for using randint( ) function ?
randint () फ़ंक्शन का उपयोग करने के लिए कौन सा मॉड्यूल इम्पोर्ट किया जाना जरूरी है?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
8
Which term describes a loop that continues repeating without a terminating (ending) condition ?
कौन सा शब्द एक लूप का वर्णन करता है जो बिना किसी समाप्ति (समाप्त) स्थिति के दोहराना जारी रखता है?
Infinite Loop
conditional loop
unlimited loop
None of these
Previous Question
Next Question
25
See Explanation !
9
"hello,world".[-6], what value print?
"hello,world".[-6], का आउटपुट क्या होगा?
White Space
,
e
S
Previous Question
Next Question
25
See Explanation !
10
Which of the following is the correct syntax for a conditional statement in Python?
पायथन में कंडिशनल स्टेट्मेंट के लिए निम्नलिखित में से कौन सा सही सिंटेक्स है?
if (x > 0):
if x > 0
if x > 0 then:
Both A and B
Previous Question
Next Question
25
See Explanation !
11
Which of the following is not a valid set operation in python?
निम्नलिखित में से कौन सा पायथन में एक वैध सेट ऑपरेशन नहीं है?
Union
Intersection
Difference
None of the above
Previous Question
Next Question
25
See Explanation !
12
Which of the following function returns True if the string is non empty and has all uppercase alphabets.
निम्नलिखित में से कौन सा फ़ंक्शन सही बताता है यदि स्ट्रिंग खाली नहीं है और सभी अपरकेस वर्णमाला हैं।
islower()
isupper()
Islower()
None
Previous Question
Next Question
25
See Explanation !
13
Strings in Python are _____
पायथन में तार _____ हैं।
mutable
immutable
fixed
None of these
Previous Question
Next Question
25
See Explanation !
14
What will the following code output? print(4 & 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(4 & 5)
4
5
0
1
Previous Question
Next Question
25
See Explanation !
15
Python programming language was create by ______.
पायथन प्रोग्रामिंग भाषा ______ द्वारा बनाई गई थी।
Ray temilson
Guido van Rossum
Tim Berner
None of these
Previous Question
Next Question
25
See Explanation !
16
Suppose list1 is [1, 5, 9], what is sum(list1)?
मान लीजिए list1 [1, 5, 9] है, योग(list1) क्या है?
1
9
15
Error
Previous Question
Next Question
25
See Explanation !
17
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Previous Question
Next Question
25
See Explanation !
18
What will happen if a for loop tries to iterate over an empty list?
यदि कोई लूप किसी एम्प्टी लिस्ट पर पुनरावृति करने का प्रयास करता है तो क्या होगा?
It will raise an IndexError.
It will iterate once with a default value of None.
It will not execute the loop body.
It will run indefinitely.
Previous Question
Next Question
25
See Explanation !
19
What will be the value of the following Python expression? print(4+2**5//10)
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(4 2**5 // 10)
3
7
77
0
Previous Question
Next Question
25
See Explanation !
20
How is a function declared in Python ?
पायथन में एक फ़ंक्शन कैसे घोषित किया जाता है?
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Previous Question
Next Question
25
See Explanation !
21
What does the input() function do in Python?
पायथन में इनपुट() फ़ंक्शन क्या करता है?
Displays a message to the user.
Receives input from the user as an integer.
Receives input from the user as a string.
Both A and C
Previous Question
Next Question
25
See Explanation !
22
What will the following code output? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
3 5 6
6 3 5
5 6 3
6 5 3
Previous Question
Next Question
25
See Explanation !
23
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
मान लीजिए लिस्ट है [3, 4, 5, 20, 5, 25, 1, 3] ,listExample.extend([34, 5]) के बाद की लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
[1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
[25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
[1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
Previous Question
Next Question
25
See Explanation !
24
What is the return type of following function ? def func1(): return 'mnp',22 print(type(func1()))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def func1(): return 'mnp',22 print(type(func1()))
List
Dictionary
String
Tuple
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a valid mode to open a file?
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है?
ab
rw
r+
w+
Previous Question