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
To add a new element to a list we use which Python command?
एक सूची में एक नया तत्व जोड़ने के लिए हम किस पायथन कमांड का उपयोग करते हैं?
list1.addEnd (5)
list1.addLast (5)
list1.append (5)
list1.add(5)
Next Question
25
See Explanation !
2
What is the output of the following? x=123 for i in x: print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x=123 for i in x: print(i)
1 2 3
123
Error
none of these
Previous Question
Next Question
25
See Explanation !
3
Which module in Python provides functions for file and directory manipulation?
पायथन में कौन सा मॉड्यूल फ़ाइल और फोल्डर में प्रोसेस के लिए फ़ंक्शन प्रदान करता है?
os
fileutils
filesystem
io
Previous Question
Next Question
25
See Explanation !
4
Which of these about a frozenset is not true?
फ्रोजेनसेट के बारे में इनमें से कौन सा सच नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
5
Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?
switch
foreach
Nested Loop
None
Previous Question
Next Question
25
See Explanation !
6
How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?
3
4
5
6
Previous Question
Next Question
25
See Explanation !
7
Which of the following methods is used to check if a string starts with a specific prefix?
निम्नलिखित में से किस विधि का उपयोग यह जांचने के लिए किया जाता है कि कोई स्ट्रिंग किसी विशिष्ट उपसर्ग से शुरू होती है या नहीं?
startswith()
startswith_prefix()
startswithwith()
startswiths()
Previous Question
Next Question
25
See Explanation !
8
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
9
This imports * statement import all in the modules except those beginning with ____ .
यह imports * स्टेटमेन्ट मॉड्यूल में सभी नामों को इंपोर्ट करता है जो .......से शुरुआत करते हैं।
-
&
%
None of the above
Previous Question
Next Question
25
See Explanation !
10
What is the output of the following code? print(not False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(गलत नहीं)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
11
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल घोषित करने का सही तरीका निम्नलिखित में से कौन सा है?
int x = 10
x = 10
var x = 10
x: 10
Previous Question
Next Question
25
See Explanation !
12
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 !
13
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 !
14
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
Flowchart
Flow
Algorithm
syntax
Previous Question
Next Question
25
See Explanation !
15
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 !
16
Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सा वेरिएबल डिक्लेरेशन गलत है?
a_=3
_a=3
a?=3
All of these
Previous Question
Next Question
25
See Explanation !
17
Suppose list1 is [1, 3, 2], What is list1 * 2?
मान लीजिए list1 [1, 3, 2] है, list1 * 2 क्या है?
[2, 6, 4]
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
Previous Question
Next Question
25
See Explanation !
18
What is tail recursion?
टेल रिकर्शन क्या है?
A recursive function that has two base cases
A function where the recursive functions leads to an infinite loop
A recursive function where the function doesn’t return anything and just prints the values
A function where the recursive call is the last thing executed by the function
Previous Question
Next Question
25
See Explanation !
19
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
20
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
21
Which of the following statements is used to check if a file exists in Python?
निम्नलिखित में से किस फंक्शन का उपयोग यह जांचने के लिए किया जाता है कि कोई फ़ाइल पायथन में मौजूद है या नहीं?
file_exists()
exists_file()
os.path.exists()
check_file()
Previous Question
Next Question
25
See Explanation !
22
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse()?
मान लीजिए कि list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.reverse () के बाद list1 क्या है?
[3, 4, 5, 20, 5, 25, 1, 3]
[1, 3, 3, 4, 5, 5, 20, 25]
[25, 20, 5, 5, 4, 3, 3, 1]
[3, 1, 25, 5, 20, 5, 4, 3]
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(d[x])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.values () में x के लिए: print(d[x])
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) pr
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) print(a)
An exception is thrown
3
6
2
Previous Question
Next Question
25
See Explanation !
25
Which of the following statements are used in Exception Handling in Python?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन सा कथन उपयोग किया जाता है?
try
except
finally
All of the above
Previous Question