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
Data Structures in Python
Set 11
25
See Explanation !
1
Which method is used to add an element to the end of a list?
सूची के अंत में किसी तत्व को जोड़ने के लिए किस विधि का उपयोग किया जाता है?
insert()
append()
extend()
add()
Next Question
25
See Explanation !
2
What happens if you attempt to access an index that is out of range in a list?
यदि आप किसी सूचकांक को एक्सेस करने का प्रयास करते हैं जो सूची में सीमा से बाहर है, तो क्या होता है?
It returns None.
It raises an IndexError
It creates a new element at that index.
It returns an empty list.
Previous Question
Next Question
25
See Explanation !
3
Which of the following is a valid way to create an empty tuple?
खाली टपल बनाने के लिए निम्नलिखित में से कौन सा एक वैध तरीका है?
empty_tuple = ()
empty_tuple = tuple()
empty_tuple = []
Both A and B
Previous Question
Next Question
25
See Explanation !
4
Which of the following Statement will create a Tuple:
निम्नलिखित में से कौन सा कथन एक टपल बनाएगा:
t1=1,2,4
t1=(1,)
t1=tuple(“123”)
All of these
Previous Question
Next Question
25
See Explanation !
5
What is the correct way to create a tuple with a single element?
एक ही तत्व के साथ एक टपल बनाने का सही तरीका क्या है?
(1)
(1,)
[1]
{1}
Previous Question
Next Question
25
See Explanation !
6
Which of the following methods can be used with a tuple?
निम्नलिखित में से किस विधि का उपयोग टपल के साथ किया जा सकता है?
append()
insert()
index()
remove()
Previous Question
Next Question
25
See Explanation !
7
What will tuple('abc') return?
Tuple(' abc ') क्या लौटाएगा?
('abc’)
('a', 'b', 'c’)
['a', 'b', 'c’]
Error
Previous Question
Next Question
25
See Explanation !
8
How can you find the number of occurrences of an element in a tuple?
आप एक टपल में किसी तत्व की घटनाओं की संख्या का पता कैसे लगा सकते हैं?
count()
len()
index()
find()
Previous Question
Next Question
25
See Explanation !
9
Which of the following operations is NOT allowed on a tuple?
एक टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?
Slicing
Concatenation
Deletion of elements
Iteration
Previous Question
Next Question
25
See Explanation !
10
Which method is used to get all keys from a dictionary?
शब्दकोश से सभी कुंजियाँ प्राप्त करने के लिए किस विधि का उपयोग किया जाता है?
keys()
getkeys()
allkeys()
keyvalues()
Previous Question
Next Question
25
See Explanation !
11
What is a Python dictionary?
पायथन शब्दकोश क्या है?
A collection of ordered and mutable data
A collection of unordered and mutable data with key-value pairs
A collection of immutable key-value pairs
A collection of values only
Previous Question
Next Question
25
See Explanation !
12
What will happen if you try to access a key that doesn’t exist in a dictionary?
अगर आप किसी ऐसी कुंजी को एक्सेस करने की कोशिश करते हैं, जो किसी शब्दकोश में मौजूद नहीं है, तो क्या होगा?
Returns None
Throws a KeyError
Creates a new key with a default value
Crashes the program
Previous Question
Next Question
25
See Explanation !
13
What does the update() method do in a dictionary?
अपडेट() विधि शब्दकोश में क्या करती है?
Clears all key-value pairs
Updates a specific key
Merges another dictionary into the current one
Removes all values
Previous Question
Next Question
25
See Explanation !
14
Which of the following methods will create a copy of a list?
निम्नलिखित में से कौन सा तरीका एक सूची की एक प्रति बनाएगा?
copy = list(original)
copy = original[:]
copy = original.copy()
All of the above
Previous Question
Next Question
25
See Explanation !
15
What is the output when we execute list("hello") ?
जब हम list("hello") निष्पादित करते हैं तो आउटपुट क्या होता है?
['h', 'e', 'l', 'l', 'o']
[' hello']
['llo']
['olleh']
Previous Question
Next Question
25
See Explanation !
16
Which one of the following is immutable data type ?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dictionary
Previous Question
Next Question
25
See Explanation !
17
What arithmetic operators cannot be used with strings?
तारों के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता है?
+
*
-
All of the mentioned
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python statement? print(ord('b') - ord('a'))
निम्नलिखित पायथन कथन का आउटपुट क्या होगा? print(ord (' b ') - ord(' a '))
0
1
-1
2
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy ".count (' yy '))
2
0
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What will be the output of the following Python code? print('1Rn@'.lower())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('1Rn@'.lower())
n
1rn@
m
r
Previous Question
Next Question
25
See Explanation !
22
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
seed()
sqrt()
factorial()
print()
Previous Question
Next Question
25
See Explanation !
23
The function pow(x,y,z) is evaluated as:
फ़ंक्शन pow(x, y, z) का मूल्यांकन इस प्रकार है:
(x**y)**z
(x**y) / z
(x**y) % z
(x**y)*z
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python expression? print(round(4.5676,2))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(round(4.5676,2))
4.5
4.6
4.57
4.56
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python function? import math print(abs(math.sqrt(25)))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import math print(abs(math.sqrt(25)))
Error
-5
5
5.0
Previous Question