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
Which of the following will return reverse string str1?
निम्नलिखित में से कौन रिवर्स स्ट्रिंग str1 लौटाएगा?
str1[ : : -1 ]
str1[ : : 1 ]
str1[ : -1 : -1 ]
None
Next Question
25
See Explanation !
2
Which of the following functions helps us to randomize the items of a list?
निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
seed
randomise
shuffle
uniform
Previous Question
Next Question
25
See Explanation !
3
What will be the result of the expression: 15 and 10?
अभिव्यक्ति का परिणाम क्या होगा: 15 और 10?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
What will be output for the following code ? import numpy as np a = np.array([[1, 2, 3],[0,1,4],[11,22,33]]) print (a.size)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[1, 2, 3],[0,1,4],[11,22,33]]) print (a.size)
1
3
9
4
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following ? import math print(math.fact(5))
निम्नलिखित का आउटपुट क्या होगा? import math print(math.fact(5))
120
25
1,2,3,4,5
Error
Previous Question
Next Question
25
See Explanation !
7
What is the output of the following program: print ("Hello World"[::-1])
निम्नलिखित प्रोग्राम का आउटपुट क्या है: PRINT (" Hello World "[::-1])
dlroW olleH
Hello Worl
D
error
Previous Question
Next Question
25
See Explanation !
8
What is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)
4.5
4.0
4
Error
Previous Question
Next Question
25
See Explanation !
9
The function that yields current position in the file.
फ़ंक्शन जो फ़ाइल में वर्तमान स्थिति प्राप्त करता है।
tell()
write()
Writelines()
None of the above
Previous Question
Next Question
25
See Explanation !
10
Testing is known as -
परीक्षण को किस रूप में जाना जाता है -
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of the above
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
12
Which one of the following is the correct extension of the Python file-
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही विस्तार है -
.py
.python
.p
None of these
Previous Question
Next Question
25
See Explanation !
13
Which of the following functions is not defined under the sys module?
निम्नलिखित फंक्शंस में से कौन सी sys मॉड्यूल के अंडर डिफाइन नहीं है?
sys.platform
sys.path
sys.readline
sys.argv
Previous Question
Next Question
25
See Explanation !
14
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 !
15
In which of the following data type, duplicate items are not allowed ?
निम्नलिखित में से किस डेटा प्रकार में डुप्लीकेट आइटम की अनुमति नहीं है?
List
Dictionary
Set
None of the Above
Previous Question
Next Question
25
See Explanation !
16
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 !
17
Which one the following is a mutable data type ?
निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?
set
tuple
string
None of These
Previous Question
Next Question
25
See Explanation !
18
What is the value of the expression 100 // 25 ?
व्यंजक 100//25 का मान क्या है?
4
4.0
2.5
None of These
Previous Question
Next Question
25
See Explanation !
19
The small sections of code that are used to perform a particular task is called
कोड के छोटे खंड जो किसी विशेष कार्य को करने के लिए उपयोग किए जाते हैं, कहलाते हैं
Subroutines
Files
Pseudo code
Modules
Previous Question
Next Question
25
See Explanation !
20
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है? -
Exponential
Parentheses
Multiplication
None of the above
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following ? import numpy as np a = np.array([1, 5, 4, 7, 8]) a = a + 1 print(a[1])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([1, 5, 4, 7, 8]) a = a + 1 print(a[1])
4
5
6
7
Previous Question
Next Question
25
See Explanation !
22
Which of the following mode will refer to binary data?
निम्न में से कौन सा मोड बाइनरी डेटा को संदर्भित करेगा?
r
w
+
b
Previous Question
Next Question
25
See Explanation !
23
In which datatype we can store True/False type values
किस डेटाटाइप में हम सही/गलत प्रकार के मानों को संग्रहीत कर सकते हैं
Boolean
Integer
Float
String
Previous Question
Next Question
25
See Explanation !
24
What type of language is Python?
पायथन किस प्रकार की भाषा है?
Compiled Language
Markup Language
Interpreted Language
Assembly Language
Previous Question
Next Question
25
See Explanation !
25
An algorithm that calls itself directly or indirectly is known as
एक एल्गोरिथ्म जो खुद को प्रत्यक्ष या अप्रत्यक्ष रूप से कॉल करता है, के रूप में जाना जाता है
Sub algorithm
Recursion
Polish notation
Traversal algorithm
Previous Question