page-banner
Python M3-R5.1 MCQs SET-7
Q11.
यदि उपयोगकर्ता ने 55 दर्ज किया है तो आउटपुट क्या होगा?

What is the output, if user has entered 55 ?

a=input("Enter a number")
print(type(a))
A. int
B. float
C. double
D. str
View Answer
Q12.
a=5, b=8, c=6 के लिए निम्नलिखित एल्गोरिथम का आउटपुट क्या होगा?

What will be the output of the following algorithm for a=5, b=8, c=6 ?

Step 1: Start
Step 2: Declare variables a,b and c.
Step 3: Read variables a,b and c.
Step 4: If a > b
    If a > c
        Display a is the largest number.
    Else
        Display c is the largest number.
Else
    If b > c
        Display b is the largest number.
    Else
        Display c is the greatest number.
Step 5: Stop
A. b is the largest number
B. a is the largest number
C. c is the largest number
D. stop
View Answer
Q13.
निम्नलिखित में से कौन सा फ़ंक्शन दो तर्क लेता है?

Which of the following function takes two arguments?
A. load()
B. dump()
C. both of the above
D. none of the above
View Answer
Q14.
Pseudo कोड में पदानुक्रम को __________ द्वारा दिखाया जा सकता है।

Hierarchy in a pseudo-code can be shown by __________.
A. Curly Braces
B. Round Brackets
C. Indentation
D. Semicolon
View Answer
Q15.
यदि फाइल मौजूद नहीं है तो कौन सा मोड एक नई फाइल बनाता है?

Which mode creates a new file if the file does not exist?
A. write mode
B. append mode
C. both (A) & (B)
D. none of the above
View Answer

Create Account