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
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में सूची का अंतिम तत्व खोजें? मान लें कि 'बाइक' सूची का नाम है।
bikes[:-1]
bilkes[1]
bikes (:-1)
None of the above
Next Question
25
See Explanation !
2
What is the output of the following code? print(True and False)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(सही और गलत)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
3
What will the following code output? a=5;b=7 b=a print(a,” ”,b)
निम्नलिखित कोड क्या आउटपुट देगा? a=5;b=7 b=a print(a,” ”,b)
5 7
7 5
5 5
7 7
Previous Question
Next Question
25
See Explanation !
4
Correcting the program code:
प्रोग्राम कोड को ठीक करना:
Testing
Syntax error
Runtime error
Debugging
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? for i in [1, 2, 3, 4][::-1]: print (i)
1 2 3 4
4 3 2 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
6
_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।
unichr (x)
oct (x)
chr(x)
None of the these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} print(a.items())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.items())
Syntax error
dict_items([(‘A’), (‘B’), (‘C’)])
dict_items([(1,2,3)])
dict_items([(1, ‘A’), (2, ‘B’), (3, ‘C’)])
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? a=dict() print(a[1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=dict() print(a[1])
An exception is thrown since the dictionary is empty
‘ ‘
1
0
Previous Question
Next Question
25
See Explanation !
9
The _____ function reads a line entered on a console by an input device such as a keyboard and convert it into a string and returns it.
_____ फ़ंक्शन एक इनपुट डिवाइस जैसे कि कीबोर्ड द्वारा कंसोल पर दर्ज की गई एक पंक्ति को पढ़ता है और इसे एक स्ट्रिंग में परिवर्तित करता है और इसे वापस करता है।
raw_input
input()
eval
accep
Previous Question
Next Question
25
See Explanation !
10
Row data assigned to a variable is called as.
एक चर को असाइन किए गए पंक्ति डेटा को कहा जाता है।
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
11
Which of the following function convert a sequence of tuples to dictionary in python?
निम्नलिखित में से कौन सा फ़ंक्शन ट्यूपल्स के अनुक्रम को अजगर में शब्दकोश में परिवर्तित करता है?
set (x)
dict(d)
frozenset(s)
chr(x)
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
[2 4 1]
[2 3 1]
[3 4 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
13
If return statement is not used inside the function, the function will return:
यदि फंक्शन के अंदर रिटर्न स्टेटमेंट का उपयोग नहीं किया जाता है, तो फंक्शन रिटर्न करेगा:
None
0
Null
Arbitary value
Previous Question
Next Question
25
See Explanation !
14
n the Python statement x =a + 5 - b : a + 5 - b is
n पायथन कथन x =a 5 - b : a 5 - b है
Operands
Expression
operators
Equation
Previous Question
Next Question
25
See Explanation !
15
To convert the read value through input() into integer type, ______ () is used
इनपुट () के माध्यम से रीड वैल्यू को पूर्णांक प्रकार में बदलने के लिए, ______ () का उपयोग किया जाता है
floating
float
int
integer
Previous Question
Next Question
25
See Explanation !
16
Connectors used to connect flowchart symbols to each other are classified as
फ्लोचार्ट प्रतीकों को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को इस प्रकार वर्गीकृत किया जाता है
Arrow lines
Symbols
Annotation
Special symbols
Previous Question
Next Question
25
See Explanation !
17
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन एक वैध पायथन टोकन नहीं है?
Keywords
Identifiers
Operators
Statements
Previous Question
Next Question
25
See Explanation !
18
The operator used to check if both the operands reference the same object memory, is the .......... operator.
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, ……… ऑपरेटर है।
in
is
id
==
Previous Question
Next Question
25
See Explanation !
19
The function used to find power of a number.
एक संख्या की शक्ति का पता लगाने के लिए उपयोग किया जाने वाला फ़ंक्शन।
pow()
exp()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
20
Which of the following methods is not a string method in Python?
पायथन में निम्नलिखित में से कौन सी विधि स्ट्रिंग विधि नहीं है?
capitalize()
startswith()
pop()
find()
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code snippet? print('ab cd ef'.title())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' ab cd ef '.title ())
Ab cd ef
Ab cd eF
Ab Cd Ef
None of the mentioned
Previous Question
Next Question
25
See Explanation !
22
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 !
23
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
seed()
sqrt()
factorial()
print()
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
25
are set of procedures defined in library to find the minimum value function or the root of an equation.
न्यूनतम मान फ़ंक्शन या समीकरण के मूल को खोजने के लिए लाइब्रेरी में परिभाषित प्रक्रियाओं का सेट हैं।
Optimisers
Pandas
scipy ()
None of these
Previous Question