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 an invalid mode?
निम्न में से कौन सा अमान्य मोड है?
a
ar+
r+
w
Next Question
25
See Explanation !
2
Which amongst this is not a jump statement ?
इनमें से कौन सा कथन जंप कथन नहीं है?
for
goto
continue
break
Previous Question
Next Question
25
See Explanation !
3
Raw data assigned to a variable is called as
एक चर को असाइन किए गए कच्चे डेटा को कहा जाता है
Variable
Literals
Identifiers
Comment
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? print('abc'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abc'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
Designing the problem?
समस्या को डिज़ाइन करना चाहते हैं?
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
6
Which of these about a set is not true?
इनमें से कौन सा एक सेट के बारे में सही नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
7
What does ~~~~~~5 evaluate to?
~~~~~~5 का मूल्यांकन किससे होता है?
+5
-11
+11
-5
Previous Question
Next Question
25
See Explanation !
8
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
9
Which is a valid Constant in python
जो अजगर में एक वैध स्थिरांक है
Hello
949227
True
"2'
Previous Question
Next Question
25
See Explanation !
10
What is the main object type in NumPy that represents homogeneous arrays?
NumPy में मुख्य ऑब्जेक्ट प्रकार क्या है जो सजातीय सरणियों का प्रतिनिधित्व करता है?
List
Array
Matrix
Set
Previous Question
Next Question
25
See Explanation !
11
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
12
What is a Python dictionary?
पायथन शब्दकोश क्या है?
A collection of ordered and mutable data
A collection of unordered and mutable data with key-value pairs
A collection of immutable key-value pairs
A collection of values only
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? places = ['Bangalore', 'Mumbai', 'Delhi'] places1 = places places2 = places[:] places1[1]="Pune" places2[2]="Hyderabad" print(places)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? places = ['Bangalore', 'Mumbai', 'Delhi'] places1 = places places2 = places[:] places1[1]="Pune" places2[2]="Hyderabad" print(places)
[‘Bangalore’, ‘Pune’, ‘Hyderabad’]
[‘Bangalore’, ‘Pune’, ‘Delhi’]
[‘Bangalore’, ‘Mumbai’, ‘Delhi’]
[‘Bangalore’, ‘Mumbai’, ‘Hyderabad’]
Previous Question
Next Question
25
See Explanation !
14
A Function used for writing data in the binary format :
बाइनरी फॉर्मेट में डेटा लिखने के लिए उपयोग किया जाने वाला एक फंक्शन:
write
output
send
dump
Previous Question
Next Question
25
See Explanation !
15
What does the function re-search do?
फ़ंक्शन फिर से खोज क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned.
Previous Question
Next Question
25
See Explanation !
16
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए उपयोग किया जाने वाला प्रतीक _____ है।
parallelogram
Diamond shape
Circle shape
None of the above
Previous Question
Next Question
25
See Explanation !
17
Which of the following is equivalent to random.randrange(3)?
निम्नलिखित में से कौन random.randrange(3) के बराबर है?
range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
Previous Question
Next Question
25
See Explanation !
18
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
19
Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?
मान लीजिए listExample [' h ',’e ',’ l ', ’l ',’ o '] है, len(listExample) क्या है?
5
4
None
Error
Previous Question
Next Question
25
See Explanation !
20
The input() returns the value as ____ type.
INPUT() मान को ____ प्रकार के रूप में बताता है।
Integer
String
Floating point
None of these
Previous Question
Next Question
25
See Explanation !
21
Which symbol is used to write single line comment ?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
.
#
/
?
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? word1="Apple" word2="Apple" list1=[1,2,3] list2=[1,2,3] print(word1 is word2) print(list1 is list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? word1 ="Apple" word2 = "Apple" list1=[1,2,3] list2 =[1,2,3] print(word1 is word2) print(list1 is list2)
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
23
Which of the following function returns True if the string is non empty and has all uppercase alphabets.
निम्नलिखित में से कौन सा फ़ंक्शन सही बताता है यदि स्ट्रिंग खाली नहीं है और सभी अपरकेस वर्णमाला हैं।
islower()
isupper()
Islower()
None
Previous Question
Next Question
25
See Explanation !
24
which of the following is an escape sequence for a tab character
निम्नलिखित में से कौन एक टैब वर्ण के लिए एक एस्केप अनुक्रम है
\a
\t
\n
\b
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i.upper())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(i.upper())
a b c d
0 1 2 3
error
1 2 3 4
Previous Question