page-banner
Python M3-R5.1 MCQs SET-10
Q1.
निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?
import numpy as np
a = np.array([[1,2,3,4], [5,6,7,8], [9,10,11,12]])
print(a[2,2])
A. 7
B. 11
C. 10
D. 8
View Answer
Q2.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code ?
def add(a, b):
    return a+5, b+5
result = add(3, 2)
print(result)
A. 15
B. 8
C. (8,7)
D. Error
View Answer
Q3.
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?

Which of the following language is understood by computer ?
A. Machine language
B. Assembly language
C. High-level language
D. None of the above
View Answer
Q4.
identifier की अधिकतम संभव लंबाई क्या है?

What is the maximum possible length of an identifier ?
A. 16
B. 32
C. 64
D. None of these above
View Answer
Q5.
एल्गोरिदम निर्माण के तीन अलग-अलग प्रकार क्या हैं?

What are the three different types of algorithm constructions ?
A. Input/Output, Decision, Repeat
B. Input, Output, Process
C. Loop, Input/Output, Process
D. Sequence, Selection, Repeat
View Answer

Create Account