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
Istrip() method is used for :
Istrip() विधि का उपयोग इसके लिए किया जाता है:
delete all the trailing characters
delete all the leading characters
delete all the leading and trailing characters
delete upper case characters
Next Question
25
See Explanation !
2
What you can use to convert from a string to a list of character.
आप स्ट्रिंग से कैरेक्टर की लिस्ट में कन्वर्ट करने के लिए क्या इस्तेमाल कर सकते हैं।
list ()
str ()
chr()
None of these
Previous Question
Next Question
25
See Explanation !
3
Which of the following argument we need to pass in reshape function.
निम्नलिखित में से कौन सा आर्गुमेन्ट हमें reshape फंक्शन में पास करने की आवश्यकता होती है।
Shape
Array
both a) and b)
None of the above.
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following code? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def s(n1): print(n1) n1=n1+2 n2=4 s(n2) print(n2)
6 4
4 6
4 4
6 6
Previous Question
Next Question
25
See Explanation !
5
Which of the following statement will be true?
निम्नलिखित में से कौन सा कथन सत्य होगा?
It is mandatory to have_main_function in python.
It is not mandatory to have _main_function in python.
It is mandatory to have any function in python.
None of the above
Previous Question
Next Question
25
See Explanation !
6
How are required arguments specified in the function heading?
फ़ंक्शन हेडिंग में आवश्यक आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
identifier followed by an equal to sign and the default value
identifier followed by the default value within backticks (“)
identifier followed by the default value within square brackets ([])
identifier
Previous Question
Next Question
25
See Explanation !
7
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 !
8
What is unpickling ?
अनपिकलिंग क्या है ?
It is used for object deserialization.
It is used for object serialization.
Both of the above.
None of the above.
Previous Question
Next Question
25
See Explanation !
9
Data Items having fixed value are called ______
निश्चित मूल्य वाले डेटा आइटम को ______ कहा जाता है।
Identifiers
Functions
keywords
Literals
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है।
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
11
Which of the following is the exponentiation operator in Python?
पायथन में घातांकन ऑपरेटर निम्नलिखित में से कौन सा है?
^
**
^^
exp()
Previous Question
Next Question
25
See Explanation !
12
What will the following code output? print(5 ^ 3)
निम्नलिखित कोड आउटपुट क्या होगा? print(5 ^ 3)
6
1
2
Error
Previous Question
Next Question
25
See Explanation !
13
empty( ) function used to create a NumPy array which contained the values
empty() फ़ंक्शन का उपयोग NumPy सरणी बनाने के लिए किया जाता है जिसमें मान होते हैं
Filled with Zero
Filled with Blank space
Filled with random garbage value
Filled with One
Previous Question
Next Question
25
See Explanation !
14
Which of the following declarations is incorrect?
निम्नलिखित में से कौन सी डेक्लरेशंस गलत है?
_x=2
x=3
_xyz_=5
None of these
Previous Question
Next Question
25
See Explanation !
15
You don't have to pay for Python and you can view its source code too. It means Python is ..........
आपको पायथन के लिए भुगतान करने की ज़रूरत नहीं है और आप इसका सोर्स कोड भी देख सकते हैं। इसका मतलब है कि पायथन.......... है ।
Free and open source
freeware
open source
shareware
Previous Question
Next Question
25
See Explanation !
16
If a=(1,2,3,4), a[1:-1] is _________
यदि a = (1,2,3,4), एक [1: -1] _________ है
Error, tuple slicing doesn’t exist
[2,3]
(2,3,4)
(2,3)
Previous Question
Next Question
25
See Explanation !
17
What does the strip() method do in Python?
पाइथन में स्ट्रिप() विधि क्या करती है?
Removes all spaces from the string.
Removes the first and last character of the string.
Removes whitespace from the beginning and end of the string.
Converts the string into a list of characters.
Previous Question
Next Question
25
See Explanation !
18
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
मान लीजिए लिस्ट है [3, 4, 5, 20, 5, 25, 1, 3] ,listExample.extend([34, 5]) के बाद की लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
[1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
[25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
[1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
Previous Question
Next Question
25
See Explanation !
19
Which is a valid Constant in python
जो अजगर में एक वैध स्थिरांक है
Hello
949227
True
"2'
Previous Question
Next Question
25
See Explanation !
20
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
go
pass
over
;
Previous Question
Next Question
25
See Explanation !
21
Which of these definitions correctly describes a module?
इनमें से कौन सी परिभाषा सही ढंग से एक मॉड्यूल का वर्णन करती है?
Denoted by triple quotes for providing the specification of certain program elements
Design and implementation of specific functionality to be incorporated into a program
Defines the specification of how it is to be used
Any program that reuses code
Previous Question
Next Question
25
See Explanation !
22
Which of the following will give error ?
निम्नलिखित में से कौन त्रुटि देगा?
a=b=c=1
a,b,c=1
a, b, c = 1, "python", 1.5
None of the above
Previous Question
Next Question
25
See Explanation !
23
Which of the following is not a legal integer type value in Python
निम्नलिखित में से कौन पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
2 3 4 5 6 1
6 1 2 3 4 5
2 3 4 5 6 6
1 1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
25
what will be the output of :print( 22//3+3/3)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 22//3+3/3)
4
4.0
8
8.0
Previous Question