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 one of the following is immutable data type ?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dictionary
Next Question
25
See Explanation !
2
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
Next Question
25
See Explanation !
3
Which of the following function returns the ASCII/Unicode value character?
निम्नलिखित में कौन सा फक्शन ASCII/Unicode वैल्यू कैरेक्टर रिटर्न करता है?
asc()
ord()
asci()
ascii()
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy', 1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy".count('yy', 1))
2
0
1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
5
What is recursion in python?
पाइथन में रिकर्शन फंक्शन के है
Repeating a process in a loop
Calling a function from within itself
Using a loop to iterate over elements
Breaking down a problem into smaller subproblems
Previous Question
Next Question
25
See Explanation !
6
np.eye() is used for creating:
np.eye() का उपयोग बनाने के लिए किया जाता है:
Identity Matrix
Upper triangle Matrix
Lower Triangle Matrix
None of the above
Previous Question
Next Question
25
See Explanation !
7
In Python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield
पायथन में, एक चर को एक प्रकार का मान सौंपा जाता है, और फिर बाद में एक अलग प्रकार का मान सौंपा जाता है। इससे
Warning
Not available
Error
No Error
Previous Question
Next Question
25
See Explanation !
8
What will be the output of following Python code? import numpy as np a = np.array([(10,20,30)]) print(a.itemsize)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([(10,20,30)]) print(a.itemsize)
10
9
4
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
9
Which function is used to Writes the string(s) to the file and returns the number of characters written.
स्ट्रिंग(ओं) को फ़ाइल में लिखने के लिए किस फ़ंक्शन का उपयोग किया जाता है और लिखे गए वर्णों की संख्या बताता है।
writeline (s)
write(s)
read(s)
None
Previous Question
Next Question
25
See Explanation !
10
What is the output of the following code? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
निम्नलिखित कोड का परिणाम क्या है? dict={"Joey":1, "Rachel":2} dict.update({"Phoebe":2}) print(dict)
{'Joey': 1, 'Rachel': 2, 'Phoebe': 2}
{“Joey”:1,”Rachel”:}
{“Joey”:1,”Phoebe”:2}
Error
Previous Question
Next Question
25
See Explanation !
11
How can we create on empty list in Python?
हम पायथन में खाली सूची पर कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
12
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
13
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Only the first condition is checked.
All conditions are checked, even if one is True.
It behaves the same as if-elif.
It raises an error.
Previous Question
Next Question
25
See Explanation !
14
Changing one data type to another is known as
एक डेटा प्रकार को दूसरे में बदलना कहलाता है
Type Casting
Data Transformation
Type modification
Variable Shifting
Previous Question
Next Question
25
See Explanation !
15
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
16
Which of the following commands will create a list?
निम्नलिखित में से कौन सा आदेश एक सूची बनाएगा?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Previous Question
Next Question
25
See Explanation !
17
Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सा वेरिएबल डिक्लेरेशन गलत है?
a_=3
_a=3
a?=3
All of these
Previous Question
Next Question
25
See Explanation !
18
What is the output of the following ? print(int())
निम्नलिखित का आउटपुट क्या है? print(int())
Any Random Number
0
1
Error
Previous Question
Next Question
25
See Explanation !
19
Connectors used to connect flowchart symbols to each other are classified as
फ्लोचार्ट प्रतीकों को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को इस प्रकार वर्गीकृत किया जाता है
Arrow lines
Symbols
Annotation
Special symbols
Previous Question
Next Question
25
See Explanation !
20
The function generates sequence of numbers from 1 to n.
फ़ंक्शन 1 से n तक संख्याओं का अनुक्रम उत्पन्न करता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
21
in python a variable named 'num' ,which type of value we can store in this variable
अजगर में 'NUM' नामक एक चर, हम इस चर में किस प्रकार का मान संग्रहीत कर सकते हैं
Integer
Float
String
All of These
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = i के लिए 'abcd' in range(len(x)): x[i ].upper () print (x)
abcd
ABCD
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
Special meaning words of Pythons, fixed for specific functionality are called ___
विशिष्ट कार्यक्षमता के लिए तय किए गए पायथन के विशेष अर्थ वाले शब्दों को ___ कहा जाता है।
Identifiers
Functions
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code snippet? print(not(3>4)) print(not(1&1))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(not(3>4)) print(not(1)
True True
True False
False True
False False
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? min(max(False,-3,-4), 2,7)
2
False
-3
-4
Previous Question