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 translator is used to convert assembly language into machine language?
असेंबली भाषा को मशीन भाषा में को बदलने के लिए किस अनुवादक का उपयोग किया जाता है
Compiler
Interpreter
Assembler
None of these
Next Question
25
See Explanation !
2
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
____ चरण - दर - चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो अंत या समाधान के साथ एक समस्या को हल करता है
Flowchart
Algorithm
Process
None of these
Previous Question
Next Question
25
See Explanation !
3
Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं से निपटते समय पायथन केस संवेदनशील होता है?
yes
no
machine dependent
none of the mentioned
Previous Question
Next Question
25
See Explanation !
4
A stores information in the form of a stream of ASCII or unicode characters i.e. human readable.
एक सूचन को मानव पठनीय अर्थात ASCII या यूनिकोड वर्णों की एक स्ट्रीम के रूप में संग्रहीत करती है।
Text file
Binary file
Both (A) and (B)
None of these
Previous Question
Next Question
25
See Explanation !
5
The operator returns the quotent after division.
ऑपरेटर विभाजन के बाद कोटेंट लौटाता है।
//
%
&
None of these
Previous Question
Next Question
25
See Explanation !
6
What is the output of the following code? print(len("Python\nProgramming"))
निम्नलिखित कोड का आउटपुट क्या है? print(len(" Python\ nProgramming "))
19
18
17
Error
Previous Question
Next Question
25
See Explanation !
7
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Previous Question
Next Question
25
See Explanation !
8
To return the length of string s what command do we execute?
स्ट्रिंग की लेंथ रिटर्न करने के लिए हम किस कमांड को एक्सक्यूट करते हैं?
s.__len__()
len(s)
size(s)
s.size()
Previous Question
Next Question
25
See Explanation !
9
What keyword is used in Python to raise exceptions?
एक्सेप्शन उत्पन्न करने के लिए पायथन में किस कीवर्ड का उपयोग किया जाता है?
raise
goto
try
except
Previous Question
Next Question
25
See Explanation !
10
Which of the following is not true about an interpreter
निम्नलिखित में से कौन एक दुभाषिया के बारे में सही नहीं है
Interpreter generates an object program from the source program
Interpreter is a kind of translator
Interpreter analysis each source statement every time it is to be executed
None of the above
Previous Question
Next Question
25
See Explanation !
11
The data type of an expression int(m)/int(n) will result in:
किसी अभिव्यक्ति के डेटा प्रकार int(m )/ int(n) का परिणाम होगा:
Int
Float
int or float
None of these
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following Python code? print('xyyzxxyxyy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyyzxxyxyy '.lstrip (' xyy '))
error
zxxyxyy
z
zxxy
Previous Question
Next Question
25
See Explanation !
13
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question
Next Question
25
See Explanation !
14
______ smallest individual unit or element in a program.
______ एक प्रोग्राम में सबसे छोटी व्यक्तिगत इकाई या तत्व।
Token
Keyword
Identifier
None of these
Previous Question
Next Question
25
See Explanation !
15
Which expression is equivalent to A=A*8
कौन सा व्यंजक A=A*8 के समतुल्य है
A*A=8
A*=8
A*8=A
A=*8
Previous Question
Next Question
25
See Explanation !
16
immutable means.
अपरिवर्तनीय साधन हैं।
They cannot be edited
They can be edited
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
17
Which of the following is not valid Python identifiers?
निम्नलिखित में से कौन पायथन पहचानकर्ता मान्य नहीं है?
email
ca$h
marks10
Python2Shar
Previous Question
Next Question
25
See Explanation !
18
You can obtain a value in a ______using a key for a single element.
आप एकल तत्व के लिए एक कुंजी का उपयोग करके ______ में एक मान प्राप्त कर सकते हैं।
List
dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
19
What is the maximum possible length of an identifier for better redability? -
बेहतर रीडेबिलिटी के लिए एक पहचानकर्ता की अधिकतम संभव लंबाई क्या है? -
31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Previous Question
Next Question
25
See Explanation !
20
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
.......... निर्माण किसी स्थिति के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
selection
repetition
sequence
flow
Previous Question
Next Question
25
See Explanation !
21
What does np.zeros((2,3)) return?
Np.zeros ((2,3)) क्या लौटाता है?
A 2x3 array of ones
A 2x3 array of zeros
A 3x2 array of zeros
Error
Previous Question
Next Question
25
See Explanation !
22
Which type of Error generate, when the argument have invalid values specified?
किस प्रकार की त्रुटि उत्पन्न होती है, जब तर्क में अमान्य मान निर्दिष्ट होते हैं?
Value Error
Syntax Error
Logical Error
None of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? print('11'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('11'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
24
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
स्ट्रिंग 3 = "हैलो" से इंडेक्स 3 पर character को रिट्रीव करने के लिए हम किस कमांड को एक्सक्यूट करते हैं (multiple answers allowed)?
s[]
s.getitem(3)
s.__getitem__(3)
s.getItem(3)
Previous Question
Next Question
25
See Explanation !
25
PVM is often called
PVM को अक्सर कहा जाता है
Python Interpreter.
Python compiler
Python Volatile machine
Portable virtual machine
Previous Question