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
Kite/diamond symbol in flow chart is used for_______
फ्लो चार्ट में पतंग/हीरा प्रतीक का उपयोग _______ के लिए किया जाता है
Execution
Decision
Statement
All of the above
Next Question
25
See Explanation !
2
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()?
मान लीजिए सूची है। [3, 4, 5, 20, 5, 25, 1, 3], listExample.pop() के बाद लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1]
[1, 3, 3, 4, 5, 5, 20, 25]
[3, 5, 20, 5, 25, 1, 3]
[1, 3, 4, 5, 20, 5, 25]
Previous Question
Next Question
25
See Explanation !
3
Identify the correct function call to read first 5 character of the file from the beginning
शुरुआत से फ़ाइल के पहले 5 अक्षर को पढ़ने के लिए सही फ़ंक्शन कॉल की पहचान करें
f.read(5)
f.read()=5
f.readline(5)
f.readlines(5)
Previous Question
Next Question
25
See Explanation !
4
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल घोषित करने का सही तरीका निम्नलिखित में से कौन सा है?
int x = 10
x = 10
var x = 10
x: 10
Previous Question
Next Question
25
See Explanation !
5
What is Full form of LEGB ?
LEGB का फुल फॉर्म क्या है?
Low, Enclosing, Global and Built-in
Local, Enclosing, Global and Built-in
Local, Ending, Global and Built-in
Light, Emitting, Global and Built-in
Previous Question
Next Question
25
See Explanation !
6
You can obtain a value in a ______using a key for a single element.
आप एकल तत्व के लिए एक कुंजी का उपयोग करके ______ में एक मान प्राप्त कर सकते हैं।
List
dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
8
Which of the following is the correct syntax for a conditional statement in Python?
पायथन में कंडिशनल स्टेट्मेंट के लिए निम्नलिखित में से कौन सा सही सिंटेक्स है?
if (x > 0):
if x > 0
if x > 0 then:
Both A and B
Previous Question
Next Question
25
See Explanation !
9
To use a module in another module, you must import it using an, statement
अन्य मॉड्यूल में किसी मॉड्यूल का उपयोग करने के लिए, आपको उस स्टेटमेंट का उपयोग करके इम्पोर्ट करना होगा
import
include
both (A) and (B)
none of the above
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will be the output of the following Python code? t=32.00 for x in t: print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? t=32.00 for x in t: print(x)
[0]
0
[0.00]
Error
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print("john" in d)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print("john" in d)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
13
The data structure which is a mutable ordered sequence of elements is called
डेटा संरचना जो तत्वों का एक परिवर्तनशील क्रमबद्ध अनुक्रम है, कहलाती है
Built in
List
Tuple
Derived data
Previous Question
Next Question
25
See Explanation !
14
Function blocks begin with the keyword _.
फ़ंक्शन ब्लॉक कीवर्ड_ से शुरू होते हैं।
function
method
def
None of the above
Previous Question
Next Question
25
See Explanation !
15
Which one of the following is inmmutable data type?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dict
Previous Question
Next Question
25
See Explanation !
16
Which of the following is a unit of code that is often defined within a greater code structure?
निम्नलिखित में से कौन सी कोड की वह इकाई है जिसे अक्सर एक बड़ी कोड संरचना के भीतर परिभाषित किया जाता है?
Subroutines
Function
Files
Modules
Previous Question
Next Question
25
See Explanation !
17
Which of the following cannot be returned by random.randrange(4)?
निम्नलिखित में से क्या random.randrange (4) द्वारा रिटर्न नहीं किया जा सकता है?
0
3
2.3
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Previous Question
Next Question
25
See Explanation !
19
What is the output of : print(2*3**3*4)
इसका आउटपुट क्या है: print(2*3**3*4)
211
216
1024
512
Previous Question
Next Question
25
See Explanation !
20
The way for solving a problem step by step is know as
किसी समस्या को चरण - दर - चरण हल करने का तरीका यह है कि
Design
Palnning
Algorithm
Execution
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? a={1:5,2:3,3:4} a.pop(3) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:5,2:3,3:4} a.pop(3) print(a)
{1: 5}
{1: 5, 2: 3}
Error, syntax error for pop() method
{1: 5, 3: 4}
Previous Question
Next Question
25
See Explanation !
22
What is the output when we execute list(“hello”)?
जब हम सूची(" नमस्ते ") निष्पादित करते हैं तो आउटपुट क्या होता है?
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
[‘hello’]
[‘llo’]
[‘olleh’]
Previous Question
Next Question
25
See Explanation !
23
How can we create an empty list in Python ?
हम पायथन में एक खाली लिस्ट कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? d1={"abc":5,"def":6,"ghi":7} print(d1[0])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d1={" abc ":5,"def ":6," ghi ":7} प्रिंट(d1[0])
abc
5
{"abc":5}
error
Previous Question
Next Question
25
See Explanation !
25
How do you insert a comment in Python?
आप पायथन में एक टिप्पणी कैसे सम्मिलित करते हैं?
<!-- This is Comment -->
// This is Comment
/* This is Comment */
# This is Comment
Previous Question