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 type of Error generate, when the argument have invalid values specified?
किस प्रकार की त्रुटि उत्पन्न होती है, जब तर्क में अमान्य मान निर्दिष्ट होते हैं?
Value Error
Syntax Error
Logical Error
None of these
Next Question
25
See Explanation !
2
Which of these is not a core data type ?
इनमें से कौन सा मुख्य डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday.weekday())
यदि सिस्टम दिनांक 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.weekday())
6
1
0
7
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? >>> a={5,6,7} >>> sum(a,5)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? >>> a={5,6,7} >>> sum(a,5)
5
23
18
Invalid syntax for sum method, too many arguments
Previous Question
Next Question
25
See Explanation !
5
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 !
6
What is the output of the following code ? ms = ('A','D', 'H','U','N','I','C') print(ms[1:4])
निम्नलिखित कोड का परिणाम क्या है ? ms = ('A','D', 'H','U','N','I','C') print(ms[1:4])
(‘D’, ‘H’, ‘U’)
(‘A’, ‘D’, ‘H’,’U’,’N’,’I’,’C’)
(‘D’,’H’,’U’,’N’,’I’,’C’)
(‘D’,’H’,’U’,’N’,’I’,’C’)
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} a.setdefault(4,"D") print(a)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} a.setdefault(4,"D") print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’}
None
Error
[1,3,6,10]
Previous Question
Next Question
25
See Explanation !
8
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
9
A detailed flowchart is know as
एक विस्तृत फ्लोचार्ट के रूप में जाना जाता है
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
10
Which character is used in Python to make a single line comment?
एक पंक्ति टिप्पणी करने के लिए पायथन में किस वर्ण का उपयोग किया जाता है?
/
//
#
!
Previous Question
Next Question
25
See Explanation !
11
elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है
nested if
if..else
else if
if..elif
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following expression ? x =4 print(x<<2)
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा? x =4 print(x<<2)
4
16
6
2
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? i = 1 while True: if i%2 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%2 == 0: break print(i) i = 2
1
12
1 2 3 4 5 6 …
1 3 5 7 9 11 … infinite time
Previous Question
Next Question
25
See Explanation !
14
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 !
15
What arithmetic operators cannot be used with strings?
तारों के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता है?
+
*
-
All of the mentioned
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following ? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)
[2 3 4 5]
[3 4 5 6]
[1 2 3 4]
[2 4 6 8]
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): i.upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): i.upper() print (x)
a b c d
0 1 2 3
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
18
The command is used to take input from the keyboard.
कमांड का उपयोग कीबोर्ड से इनपुट लेने के लिए किया जाता है।
Range
Input
Open
Pass
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python statement? print(chr(ord('A')+32))
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 16 HOURS 53 MINUTES 09 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
A
B
a
Error
Previous Question
Next Question
25
See Explanation !
21
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 !
22
What will be the output of following statement ? >>>"m"+"n1"
निम्नलिखित कोड का परिणाम क्या है ? >>>"m"+"n1"
'm+nl'
'mn1'
'm n1'
'm'
Previous Question
Next Question
25
See Explanation !
23
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 !
24
Which of these about a dictionary is false?
एक ड़िक्शनरी के बारे में इनमें से कौन गलत है?
The values of a dictionary can be accessed using keys
The keys of a dictionary can be accessed using values
Dictionaries aren’t ordered
Dictionaries are mutable
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