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
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a 5 - b : a और b हैं
Operands
Expression
operators
Equation
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(3))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?
Error, invalid syntax
A
5
C
Previous Question
Next Question
25
See Explanation !
3
Which function is used to generate a sequence of numbers in Python loops?
पायथन लूप्स में नंबर्स का सीक्वेंस जनरेट करने के लिए किस फ़ंक्शन का यूज़ किया जाता है?
sequence()
range()
list()
loop()
Previous Question
Next Question
25
See Explanation !
4
What is the extension of Python code File?
पायथन कोड फ़ाइल का विस्तार क्या है?
.py
.python
.ppt
.pyt
Previous Question
Next Question
25
See Explanation !
5
what will be the output of :print( 22//3+3/3)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 22//3+3/3)
4
4.0
8
8.0
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
7
The errors that can be pointed out by the complier are.
अनुपालनकर्ता द्वारा बताई जा सकने वाली त्रुटियां हैं।
Semantic errors
Syntax errors
Logical errors
All of the above
Previous Question
Next Question
25
See Explanation !
8
What is the correct command to shuffle the following list? fruit=['apple', 'banana', 'papaya', 'cherry']
निम्नलिखित सूची में फेरबदल करने का सही आदेश क्या है? fruit=[' apple ', 'banana ',' papaya ', 'cherry ']
fruit.shuffle()
shuffle(fruit)
random.shuffle(fruit)
random.shuffleList(fruit)
Previous Question
Next Question
25
See Explanation !
9
Which of these in not a core data type in python?
इनमें से कौन सा पायथन में कोर डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
10
What will the following code output? a=55 b=’55’ print( a is not b)
निम्नलिखित कोड क्या आउटपुट देगा? a=55 b=’55’ print( a is not b)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
11
In what language is the Python programming language written?
पायथन प्रोग्रामिंग भाषा किस भाषा में लिखी जाती है?
C
C++
JAVA
PHP
Previous Question
Next Question
25
See Explanation !
12
Leading white space at the beginning of each element, which is used to determine the group of statement
प्रत्येक तत्व की शुरुआत में अग्रणी सफेद स्थान, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है
Testing
Indentation
Debugging
None of the above
Previous Question
Next Question
25
See Explanation !
13
Flowchart and algorithms are used for
फ्लोचार्ट और एल्गोरिदम का उपयोग किसके लिए किया जाता है
Better programming
easy testing and debugging
Efficient Coding
All
Previous Question
Next Question
25
See Explanation !
14
What is a correct syntax to print the numbers [3, 4, 5] from the array below: arr = np.array([1,2,3,4,5,6,7])
नीचे दी गई सारणी से संख्या [3, 4, 5] को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([1,2,3,4,5,6,7])
print(arr[2:4])
print(arr[2:5])
print(arr[2:6])
print(arr[3:6])
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following python code? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def printMax(a,b): if a>b: print(a, "is maximum") elif a==b: print(a, "is equal to ",b) else: print(b, "is maximum") printMax(3,4)
3
4
4 is maximum
None of these
Previous Question
Next Question
25
See Explanation !
16
In the declaration, x = Circle (), x contains a _to Circle object. -
घोषणा में, x = Circle (), x में a_to Circle ऑब्जेक्ट है। -
dropna()
Reference
Optimisers
None of these
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? example = "snow world" example[3] = 's' print (example)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "snow world" example[3] = 's' print (example)
snow
snow world
Error
snos world
Previous Question
Next Question
25
See Explanation !
18
Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन एक नए लाइन कैरेक्टर के लिए एक एस्केप सीक्वेंस है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
19
What will be the output of following statement ? >>>"m"+"n1"
निम्नलिखित कोड का परिणाम क्या है ? >>>"m"+"n1"
'm+nl'
'mn1'
'm n1'
'm'
Previous Question
Next Question
25
See Explanation !
20
Which of the following is used to define a block of code in Python language ?
पायथन लैंग्वेज में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?
try
Brackets
Indentation
Catch
Previous Question
Next Question
25
See Explanation !
21
Which of the following is equivalent to random.randrange(3)?
निम्नलिखित में से कौन random.randrange(3) के बराबर है?
range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
Previous Question
Next Question
25
See Explanation !
22
which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.float([1,2,3,4])
arr=np.array([1,2,3,4]).toFloat()
arr=np.array([1,2,3,4],dtype='float')
arr=np.farray([1,2,3,4])
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
[2,3,4]
3
2
An exception is thrown
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? def foo(): total += 1 return total total = 0 print(foo())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(): total = 1 return total = 0 print(foo ())
0
1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What function do you use to read a string?
एक स्ट्रिंग को रीड करने के लिए आप किस फ़ंक्शन का यूज़ करते हैं?
input(“Enter a string”)
eval(input(“Enter a string”))
enter(“Enter a string”)
eval(enter(“Enter a string”))
Previous Question