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
If wd="Hello World" then which of the following statements will display last five characters of the string object?
यदि wd="Hello World" है तो निम्नलिखित में से कौन सा कथन स्ट्रिंग ऑब्जेक्ट के अंतिम पाँच अक्षर प्रदर्शित करेगा?
wd[4:]
wd[:4]
wd[-5:]
wd[:-4]
Next Question
25
See Explanation !
2
"hello,world".[-6], what value print?
"hello,world".[-6], का आउटपुट क्या होगा?
White Space
,
e
S
Previous Question
Next Question
25
See Explanation !
3
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष में हुआ था?
1995
1972
1981
1991
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? for i in range(int(2.0)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(int(2.0)): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
5
Which type of elements are accepted by random.shuffle()?
किस प्रकार के एलिमेंट्स को random.shuffle () द्वारा एक्सेप्ट किया जाता है?
strings
lists
tuples
integers
Previous Question
Next Question
25
See Explanation !
6
How can you create a NumPy array from a Python list?
आप Python सूची से NumPy सरणी कैसे बना सकते हैं?
numpy.array(list)
numpy.array(list, dtype=float)
Both a and b
None of the above
Previous Question
Next Question
25
See Explanation !
7
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 !
8
____ is a function of dictionary gets all the values from the dictionary.
____ शब्दकोश का एक कार्य है जो शब्दकोश से सभी मान प्राप्त करता है।
values()
chr()
uni()
None of these
Previous Question
Next Question
25
See Explanation !
9
Which file extension is used to save Python files?
पायथन फ़ाइलों को सहेजने के लिए किस फ़ाइल एक्सटेंशन का उपयोग किया जाता है?
.py
.python
.pt
.pyt
Previous Question
Next Question
25
See Explanation !
10
what is the output of the following code? M=['b' *x for x in range(4)] print(M)
निम्नलिखित कोड का परिणाम क्या है ? M=['b' *x for x in range(4)] print(M)
['', 'b', 'bb', 'bbb']
['b,'bb', "bbb', "bbbb']
['b','bb', bbb']
none of these
Previous Question
Next Question
25
See Explanation !
11
Which of the following cannot be a variable?
निम्नलिखित में से कौन एक चर नहीं हो सकता है?
__init__
in
it
on
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following python program? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
5
8
2
1
Previous Question
Next Question
25
See Explanation !
13
Which of the function take takes two arguments?
कौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी
dump()
load()
Both A and B
None of the above
Previous Question
Next Question
25
See Explanation !
14
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is the value of list1.count(5)?
मान लीजिए list1 [3, 4, 5, 20, 5, 25, 1, 3] है, list1.count (5) का मान क्या है?
0
4
1
2
Previous Question
Next Question
25
See Explanation !
15
Why does the name of local variables start with an underscore denote?
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
To identify the variable.
To identify the constant.
It indicates a public variable of a class.
Variables cannot be accessed from outside the class.
Previous Question
Next Question
25
See Explanation !
16
When we open file in append mode the file pointer is at the ______ of the file.
जब हम अपेंड मोड में फाइल खोलते हैं तो फाइल पॉइंटर फाइल के _____ पर होता है।
end
beginning
anywhere in between the file
None of the above
Previous Question
Next Question
25
See Explanation !
17
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 !
18
What will be the output of the following Python code? myList = [1, 5, 5, 5, 5, 1] max = myList[0] indexOfMax = 0 for i in range(1, len(myList)): if myList[i] > max: max = myList[i] indexOfMax = i print(indexOfMax)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? myList = [1, 5, 5, 5, 5, 1] max = myList[0] indexOfMax = 0 for i in range(1, len(myList)): if myList[i] > max: max = myList[i] indexOfMax = i print(indexOfMax)
1
2
3
4
Previous Question
Next Question
25
See Explanation !
19
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ORD (' A '))
65
97
32
67
Previous Question
Next Question
25
See Explanation !
20
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
21
What is an algorithm
एल्गोरिथ्म क्या है
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
Previous Question
Next Question
25
See Explanation !
22
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Previous Question
Next Question
25
See Explanation !
23
Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?
मान लीजिए list1 [3, 5, 25, 1, 3] है, तो min(list1) क्या है?
3
5
25
1
Previous Question
Next Question
25
See Explanation !
24
A Function used for writing data in the binary format :
बाइनरी फॉर्मेट में डेटा लिखने के लिए उपयोग किया जाने वाला एक फंक्शन:
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
25
Which of the following returns an array of ones with the same shape and type as a given array?
निम्नलिखित में से कौन दिए गए ऐरे के समान आकार और प्रकार का एक ऐरे देता है?
all_like
ones_like
one_alike
all of the mentioned
Previous Question