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
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे ______ कहा जाता है?
Type conversion
Type casting
Both of the above
None of the above
Next Question
25
See Explanation !
2
Which of the following functions is a built-in function in python
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है
factorial()
print()
seed()
sqrt()
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’}
Method update() doesn’t exist for dictionaries
{1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}
{4: ‘D’, 5: ‘E’}
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following code? a = set('dcma') b = set('mlpc') print(a^b)
निम्नलिखित कोड का परिणाम क्या है? a = set('dcma') b = set('mlpc') print(a^b)
{‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}
{‘m’, ‘l’, ‘p’, ‘c’}
{‘d’, ‘c’, ‘m’, ‘a’}
None of These
Previous Question
Next Question
25
See Explanation !
5
What will be the result of the expression 5 and 10?
अभिव्यक्ति 5 और 10 का परिणाम क्या होगा?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
6
Which module is to be imported for using randint() function?
randint () फंक्शन का उपयोग करने के लिए कौन सा मॉडयूल आयात किया जाता है ?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
7
Which one of the following is inmmutable data type?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dict
Previous Question
Next Question
25
See Explanation !
8
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
____ चरण - दर - चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो अंत या समाधान के साथ एक समस्या को हल करता है
Flowchart
Algorithm
Process
None of these
Previous Question
Next Question
25
See Explanation !
9
In Python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield
पायथन में, एक चर को एक प्रकार का मान सौंपा जाता है, और फिर बाद में एक अलग प्रकार का मान सौंपा जाता है। इससे
Warning
Not available
Error
No Error
Previous Question
Next Question
25
See Explanation !
10
_____ is a procedure or step by step process for solving a problem.
_____ एक समस्या को हल करने के लिए एक प्रक्रिया या चरण - दर - चरण प्रक्रिया है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
11
Numpy array's dimension are known as
Numpy ऐरे के डायमेंशन को कहा जाता है
axes
degree
cordinate
points
Previous Question
Next Question
25
See Explanation !
12
Suppose a list with name arr, contains 5 elements, You can get the 2nd element from the list using?
मान लीजिए कि नाम arr वाली एक सूची, जिसमें 5 तत्व हैं, का उपयोग करके आप सूची से दूसरा तत्व प्राप्त कर सकते हैं?
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following pseudo code, where & represent AND operation ? Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
निम्नलिखित छद्म कोड का आउटपुट क्या होगा, जहाँ - Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
1
3
5
7
Previous Question
Next Question
25
See Explanation !
14
_____ reads one entire line from the file.
_____ फ़ाइल से एक पूरी पंक्ति पढ़ता है।
readline()
read()
readinglines()
None of these
Previous Question
Next Question
25
See Explanation !
15
A natural number 1 is also an ____ .
एक प्राकृतिक संख्या 1 भी एक ____ है।
Factor
integer number
unique number
None of these
Previous Question
Next Question
25
See Explanation !
16
The structure having keys and values is called _____ .
चाबियाँ और मानों वाली संरचना को _____ कहा जाता है।
List
Dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
17
What is the Full form of EOL?
EOL का फुल फॉर्म क्या है?
End of List
End of Line
End of Loop
End of Language
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question
Next Question
25
See Explanation !
19
What does the function re.match do?
फ़ंक्शन re.match क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned
Previous Question
Next Question
25
See Explanation !
20
What does random.shuffle(x) do when x = [1, 2, 3]?
जब x = [1, 2, 3] random.shuffle(x) क्या करता है?
error
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
22
What is the output of the following code? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
निम्नलिखित कोड का परिणाम क्या है? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
{'Joey': 1, 'Rachel': 2, 'Phoebe': 2}
{“Joey”:1,”Rachel”:}
{“Joey”:1,”Phoebe”:2}
Error
Previous Question
Next Question
25
See Explanation !
23
Which of the following functions is used to open a file in Python?
पायथन में फ़ाइल खोलने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?
open_file()
file_open()
open()
read_file()
Previous Question
Next Question
25
See Explanation !
24
The method used to removes all the items at once.
सभी आइटम को एक साथ हटाने के लिए इस्तेमाल किया जाने वाला तरीका।
remove ()
clear()
removelist ()
None of these
Previous Question
Next Question
25
See Explanation !
25
The ____ function is used to convert a string value to int.
____ फ़ंक्शन का उपयोग स्ट्रिंग मान को int में बदलने के लिए किया जाता है।
Str
int
convert
None of these
Previous Question