page-banner
Python M3-R5.1 MCQs SET-3
Q1.
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 smallest number.
Else
Display c is the smallest number.
Else
If b < c
Display b is the smallest number.
Else
Display c is the smallest number.
Step 5 : Stop
A. a is the smallest number
B. b is the smallest number
C. c is the smallest number
D. stop
View Answer
Q2.
दो संख्याओं का योग करने के लिए, फ्लो चार्ट में निम्नलिखित में से किस चिन्ह का उपयोग किया जाता है?

For performing the addition of two numbers, which of the following symbol in a flow chart is used?
A. Control flow
B. Terminal
C. Decision
D. Processing
View Answer
Q3.
निम्नलिखित कोड का आउटपुट क्या है?

What is the output of the following code?

import numpy as np
a = np.array([[1,2,3], [4,5,6]])
print(a.shape)
A. (2,3)
B. (3,2)
C. (1,1)
D. None of these
View Answer
Q4.
कौन सा स्टेटमेंट फाइल (file object is 'f') से एक पंक्ति प्रस्तुत करेगा?

Which statement will return one line from a file (file object is 'f')?
A. f.readlines()
B. f.readline()
C. f.read()
D. f.line()
View Answer
Q5.
निम्न में से कौन सा एक नियंत्रण संरचना नहीं है?

Which of the following is not a control structure?
A. Loop
B. Process
C. Decision
D. None of these
View Answer

Create Account