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
Which of the following is a valid arithmetic operator in Python?
पायथन में निम्नलिखित में से कौन एक मान्य अंकगणितीय ऑपरेटर है?
/ /
>
and
?
Next Question
25
See Explanation !
2
Which of the following functions is a built-in function in python
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है
factorial()
print()
seed()
sqrt()
Previous Question
Next Question
25
See Explanation !
3
Which of the following is an invalid statement in python.
निम्नलिखित में से कौन सा पायथन मे इनवैलिड स्टेटमेन्ट है ।
abc=2,00,000
a,b,c=200,300,400
a_b_c= 2,00,000
abc=200 300 400
Previous Question
Next Question
25
See Explanation !
4
Hierarchy in a pseudo-code can be shown by:
सूड़ो-कोड में पदानुक्रम को द्वारा दिखाया जा सकता है|
Curly Braces
Round Brackets
Indentation
Semicolon
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following code? print(5 > 3 and 5 < 10)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(5 > 3 और 5 < 10)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
7
Which is/are the valid statement to print Hello Word in Python ?
पायथन में Hello Word को प्रिंट करने के लिए मान्य कथन क्या है/हैं?
print('Hello Word')
print("Hello Word")
print(Hello Word)
Both A and B
Previous Question
Next Question
25
See Explanation !
8
A detailed flowchart is know as
एक विस्तृत फ्लोचार्ट के रूप में जाना जाता है
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
9
Which one of the following is inmmutable data type?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dict
Previous Question
Next Question
25
See Explanation !
10
If we have two sets, s1 and s2, and we want to check if all the elements of s1 are present in s2 or not, we can use the function:
यदि हमारे पास दो सेट हैं, s1 और s2, और हम यह चेक करना चाहते हैं कि s1 के सभी एलिमेंट s2 में मौजूद हैं या नहीं, हम फ़ंक्शन का यूज़ कर सकते हैं:
s2.issubset(s1)
s2.issuperset(s1)
s1.issuperset(s2)
s1.isset(s2)
Previous Question
Next Question
25
See Explanation !
11
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
12
It refers to the ability of an application to run on different plateforms with or without minimal changes.
यह न्यूनतम परिवर्तनों के साथ या बिना विभिन्न प्लेटफ़ॉर्म पर चलने के लिए एक एप्लिकेशन की क्षमता को संदर्भित करता है।
Error
Flexibility
Portability
Reliability
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [1, 3] list2 = list1 list1[0] = 4 print(list2)
[1, 3]
[4, 3]
[1, 4]
[1, 3, 4]
Previous Question
Next Question
25
See Explanation !
14
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? >>>max("what are you")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? >>>MAX(" आप क्या हैं ")
what
y
a
Error
Previous Question
Next Question
25
See Explanation !
16
Which of the following functions does not necessarily accept only iterables as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल नेससेरली को आर्ग्यमन्ट के रूप में एक्सेप्ट नहीं करता है?
enumerate()
all()
chr()
max()
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} print(list(d.keys()))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d = {"john":40, "peter":45} print(list(d.keys()))
[“john”, “peter”]
[“john”:40, “peter”:45]
(“john”, “peter”)
(“john”:40, “peter”:45)
Previous Question
Next Question
25
See Explanation !
18
The ____________ function removes the first element of a set and the last element of a list.
____________ फ़ंक्शन सेट का फर्स्ट एलिमेंट् और किसी लिस्ट का लास्ट एलिमेंट निकालता है।
remove
pop
discard
dispose
Previous Question
Next Question
25
See Explanation !
19
To which of the following the "in" operator can be used to check if an item is in it?
निम्नलिखित में से किसके लिए "in" ऑपरेटर का उपयोग यह जांचने के लिए किया जा सकता है कि कोई आइटम उसमें है या नहीं?
Lists
Dictionary
String
All of the mentioned
Previous Question
Next Question
25
See Explanation !
20
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
21
random.shuffle() function shuffle value of
random.shuffle() फंक्शन किसकी वैल्यू को शफल करता है
take a sequence, like a list, and arrange the items in ascending order
take a sequence, like a list, and reorganize the order of the items.
take a sequence, like a list, and arrange the items in descending
take a sequence, like a list, and return the same copy of sequence
Previous Question
Next Question
25
See Explanation !
22
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using:
मान लीजिए कि नाम arr के साथ एक सूची है, जिसमें 5 तत्व हैं। आप निम्न का उपयोग करके सूची से दूसरा तत्व प्राप्त कर सकते हैं:
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for i in d: print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} for i in d: print(i)
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे ______ कहा जाता है?
Type conversion
Type casting
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
25
An empty / null statement in Python is _____ .
Python में एक खाली / शून्य कथन _____ है।
pass
null
empty
None
Previous Question