Home
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
Other 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
2024
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
The data structure which is a mutable ordered sequence of elements is called
डेटा संरचना जो तत्वों का एक परिवर्तनशील क्रमबद्ध अनुक्रम है, कहलाती है
Built in
List
Tuple
Derived data
Next Question
25
See Explanation !
2
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.keys(): print(d[x])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.keys () में x के लिए: print(d[x])
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? print("abcdef".find("cd"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abcdef ".find (" cd "))
True
2
3
None of the mentioned
Previous Question
Next Question
25
See Explanation !
4
Which of the following is equivalent to random.randint(3, 6)?
निम्नलिखित में से कौन सा random.randint(3, 6) के बराबर है?
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)
Previous Question
Next Question
25
See Explanation !
5
Which of the following is not a Keyword in Python ?
पायथन में निम्नलिखित में से कौन सा कीवर्ड नहीं है?
break
while
continue
operators
Previous Question
Next Question
25
See Explanation !
6
What type of language is Python?
पायथन किस प्रकार की भाषा है?
Compiled Language
Markup Language
Interpreted Language
Assembly Language
Previous Question
Next Question
25
See Explanation !
7
What will be the output of following code import math print(math.pi)
निम्नलिखित कोड का आउटपुट क्या होगा import math print(math.pi)
5.354562653589793
3.141592653589793
7.867564234556778
9.048495456553358
Previous Question
Next Question
25
See Explanation !
8
The data type whose representation is known are called
जिस डेटा प्रकार का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
9
What will the following code output? a=‘WEBSKYNET’ | a=10 | print(type(a))
निम्नलिखित कोड आउटपुट क्या होगा? a=‘WEBSKYNET’ | a=10 | print(type(a))
<class 'int'>
<class ‘str'>
<class ‘bool'>
Error
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will be the output of the following Python expression? print(4.00/(2.0+2.0))
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा? print(4.00/(2.0 2.0))
Error
1.0
1.00
1
Previous Question
Next Question
25
See Explanation !
12
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Previous Question
Next Question
25
See Explanation !
13
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
14
Which of the following Numpy operation are correct?
निम्नलिखित में से कौन सा Numpy ऑपरेशन सही है?
Mathematical and logical operations on arrays.
Fourier transforms and routines for shape manipulation.
Operations related to linear algebra.
All of the above
Previous Question
Next Question
25
See Explanation !
15
A detailed flowchart is know as
एक विस्तृत फ्लोचार्ट के रूप में जाना जाता है
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
16
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 !
17
The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?
colon
comma
semicolon
hyphen
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
19
Which statement is correct?
कौन सा कथन सही है?
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both are mutable
Both are immutable
Previous Question
Next Question
25
See Explanation !
20
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फ़ंक्शन फ़ाइल से एक पंक्ति पढ़ता है; स्ट्रिंग के अंत में एक नई पंक्ति वर्ण (\n) छोड़ दिया जाता है।
read()
Readline()
write()
None of these
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following ? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
[ 2 4 3 5]
[ 6 20]
[ 6 12 10 20]
26
Previous Question
Next Question
25
See Explanation !
22
The command is used to take input from the keyboard.
कमांड का उपयोग कीबोर्ड से इनपुट लेने के लिए किया जाता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
23
What is the output of the following program ? print "Hello World".[::-1]
निम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]
dlroWolleH
Hello Worl
d
Error
Previous Question
Next Question
25
See Explanation !
24
Which module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?
HTTP
urllib
socket
header
Previous Question
Next Question
25
See Explanation !
25
What will be the value of the following Python expression? print(float(4+int(2.39)%2))
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(float(4 int(2.39 )%2))
5.0
5
4.0
4
Previous Question