page-banner
Python M3-R5.1 MCQs SET-7
Q6.
कंप्यूटर विज्ञान में, एल्गोरिथ्म एक फ़्लोचार्ट के सचित्र प्रतिनिधित्व को संदर्भित करता है।<break-line><break-line>In computer science, algorithm refers to a pictorial representation of a flowchart.
A. True
B. False
C. Can’t say
D. May be
View Answer
Q7.
निम्नलिखित का आउटपुट क्या है?<break-line><break-line>What is the output of the following ?<break-line><break-line><pre><code>for i in range(10): if i == 5: break else: print(i) else: print("Here")</code></pre>
A. 0 1 2 3 4 Here
B. 0 1 2 3 4 5 Here
C. 0 1 2 3 4
D. 1 2 3 4 5
View Answer
Q8.
मान लीजिए एक tuple arr में 10 तत्व होते हैं। आप टपल के 5वें तत्व को 'Hello' पर कैसे सेट कर सकते हैं?<break-line><break-line>Suppose a tuple arr contains 10 elements. How can you set the 5th element of the tuple to 'Hello' ?
A. arr[4] = 'Hello'
B. arr(4) = 'Hello'
C. Elements of tuple cannot be changed
D. arr[5] = 'Hello'
View Answer
Q9.
एक फ़्लोचार्ट जो एक कार्यक्रम के मुख्य खंडों की रूपरेखा तैयार करता है।<break-line><break-line>A flowchart that outlines the main segments of a program.
A. Queue
B. Macro
C. Micro
D. Union
View Answer
Q10.
निम्नलिखित कोड का परिणाम क्या है ?<break-line><break-line>What is the output of the following code ?<break-line><break-line><pre><code>a = 15 b = 6 print(a and b) print(a or b)</code></pre>
A. True True
B. False False
C. 6 15
D. 15 6
View Answer