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 Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय वस्तु है।
List
Tuple
Dictionary
All of the above
Next Question
25
See Explanation !
2
What will be the output of the following Python code snippet? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? total={} def insert(items): if items in total: total[items] += 1 else: total[items] = 1 insert('Apple') insert('Ball')
3
1
2
0
Previous Question
Next Question
25
See Explanation !
3
Why does the name of local variables start with an underscore denote?
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
To identify the variable.
To identify the constant.
It indicates a public variable of a class.
Variables cannot be accessed from outside the class.
Previous Question
Next Question
25
See Explanation !
4
How many keywords present in the python programming language?
अजगर प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?
32
64
35
29
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? print('xyxxyyzxxy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyxxyyzxxy '.lstrip (' xyy '))
zxxy
xyxxyyzxxy
xyxzxxy
none of the mentioned
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? string = "my name is x" for i in string.split(): print (i, end=", ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? string = "my name is x" for i in string.split(): print (i, end=", ")
m, y, , n, a, m, e, , i, s, , x,
m, y, , n, a, m, e, , i, s, , x
my, name, is, x,
error
Previous Question
Next Question
25
See Explanation !
7
Which data type is used to store a sequence of characters in Python?
पायथन में वर्णों के अनुक्रम को संग्रहीत करने के लिए किस डेटा प्रकार का उपयोग किया जाता है?
int
float
str
list
Previous Question
Next Question
25
-d2)-">
See Explanation !
-d2)-" target="_blank">
8
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
-d2)-" target="_blank">निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
9
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
15
150
200
10
Previous Question
Next Question
25
See Explanation !
10
Which of the following is correct in respect of advantages of functions?
फ़ंक्शंस के फायदों के संबंध में निम्नलिखित में से कौन सा सही है?
Decomposing complex problems into simpler pieces
Reducing duplication of code
both A and B
None of the above.
Previous Question
Next Question
25
See Explanation !
11
Which of the following statements given below is/are true?
नीचे दिए गए कथनों में से कौन - सा कथन सही है/हैं?
Tuples have structure; lists have an order
Tuples are homogeneous, lists are heterogeneous.
Tuples are immutable, lists are mutable.
All of them
Previous Question
Next Question
25
See Explanation !
12
Choose the correct option with respect to Python..
पायथन के संबंध में सही विकल्प चुनें..
In Python, a tuple can contain only integers as its elements.
In Python, a tuple can contain only strings as its elements.
In Python, a tuple can contain both integers and strings as its elements.
In Python, a tuple can contain either string or integer but not both at a time.
Previous Question
Next Question
25
See Explanation !
13
A program which translate a high-level language code into a machine language code is called
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा कोड को मशीन भाषा कोड में अनुवादित करता है, उसे कहा जाता है
Compiler
Interpreters
Both Compiler and Interpreter
None of the above
Previous Question
Next Question
25
See Explanation !
14
What will be the output of following code? print(“5”+5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(" 5 "5)
55
10
5
Type Error
Previous Question
Next Question
25
See Explanation !
15
NumPY stands for:
NumPY का पूर्ण रूप है:
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', 2, 11))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', 2, 11))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
17
How is a code block indicated in Python?
पायथन में एक कोड ब्लॉक कैसे इंगित किया जाता है?
Brackets
Indentation
Key
None of the above
Previous Question