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
___ in Python is a counter-controlled loop.
पायथन में काउन्टर कन्ट्रोल्ड लूप है ।
for
while
Both A and B
None of the above
Next Question
25
See Explanation !
2
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 !
3
What will be the output of the following Python code snippet? print('a@ 1,'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' a@ 1,'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
4
Set of statements is executed based upon conditional test.
बयानों का सेट सशर्त परीक्षण के आधार पर निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Previous Question
Next Question
25
See Explanation !
5
How is a code block indicated in Python?
पायथन में एक कोड ब्लॉक कैसे इंगित किया जाता है?
Brackets
Indentation
Key
None of the above
Previous Question
Next Question
25
See Explanation !
6
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 !
7
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
[2 4 1]
[3 4 1]
[2 3 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
8
To use a module in another module, you must import it using an, statement
अन्य मॉड्यूल में किसी मॉड्यूल का उपयोग करने के लिए, आपको उस स्टेटमेंट का उपयोग करके इम्पोर्ट करना होगा
import
include
both (A) and (B)
none of the above
Previous Question
Next Question
25
See Explanation !
9
Which part of the memory does the system store the parameter and local variables of a function call ?
मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है?
Heap
Stack
Uninitialized data segment
None of the above
Previous Question
Next Question
25
See Explanation !
10
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Previous Question
Next Question
25
See Explanation !
12
Which of the following function headers is correct ?
निम्नलिखित में से कौन सा फंक्शन हेडर सही है?
def fun (a = 2, b = 3, c)
def fun(a = 2, b, c = 3)
def fun(a, b = 2, c = 3)
def fun(a, b, c = 3, d)
Previous Question
Next Question
25
See Explanation !
13
What is the symbol used to represent start and stop of a flowchart ?
फ्लोचार्ट के प्रारंभ और ठहराव का प्रतिनिधित्व करने के लिए किस प्रतीक का उपयोग किया जाता है?
Oval
Rectangle
Arrow
Diamond
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? x = "abcdef" while i in x: print(i, end=" ")
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 15 MINUTES 36 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
a b c d e f
abcdef
i i i i i i …
error
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following code? a = set('dcma') b = set('mlpc') print(a^b)
निम्नलिखित कोड का परिणाम क्या है? a = set('dcma') b = set('mlpc') print(a^b)
{‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}
{‘m’, ‘l’, ‘p’, ‘c’}
{‘d’, ‘c’, ‘m’, ‘a’}
None of These
Previous Question
Next Question
25
See Explanation !
16
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 !
17
Which keyword is used to remove individual items or the entire dictionary itself.
अलग - अलग आइटम या पूरे शब्दकोश को हटाने के लिए किस कीवर्ड का उपयोग किया जाता है।
del
remove
removeAll
None of these
Previous Question
Next Question
25
See Explanation !
18
Which of these is false about recursion?
इनमें से कौन सी पुनरावृत्ति के बारे में गलत है?
Recursive function can be replaced by a non-recursive function
Recursive functions usually take more memory space than non-recursive function
Recursive functions run faster than non-recursive function
Recursion makes programs easier to understand
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} print(a.get(1,4))
1
A
4
Invalid syntax for get method
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? import time print(time.asctime())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import time print(time.asctime())
Current date only
UTC time
Current date and time
Current time only
Previous Question
Next Question
25
See Explanation !
21
The ____ provides pictorial representation of given problem.
____ दी गई समस्या का चित्रात्मक प्रतिनिधित्व प्रदान करता है।
Algorithm
Flowchart
Pseudocode
All of these
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: print('i', end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" while i in x: print('i', end = " ")
no output
i i i i i i … infinite Time
a a a a a a …
a b c d e f
Previous Question
Next Question
25
See Explanation !
23
The GCD of the numbers 136 and 170 is ______ .
136 और 170 संख्याओं का GCD ______ है।
34
40
50
None
Previous Question
Next Question
25
See Explanation !
24
What is the output of the code print(7%2).
कोड print(7%2) का आउटपुट क्या है।
5.5
3.5
1
None of the above
Previous Question
Next Question
25
See Explanation !
25
What is the output of following Python code? >>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है? >>print(5*(2//3))
3
3.3
0
error
Previous Question