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

What will be the output of the following code?

tuple1 = (5,1,7,6,2)
tuple1.pop(2)
print(tuple1)
A. (5,1,6,2,)
B. (5,1,7,6,)
C. (5,1,7,6,)
D. Error
View Answer
Q2.
एल्गोरिथम के सचित्र निरूपण को ___________ कहा जाता है

Pictorial representation of an algorithm is called as____________
A. Statement
B. Program
C. Flow chart
D. All the above
View Answer
Q3.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?

def display(b, n):
    while n>0:
        print(b, end='')
        n=n-l
display('z', 3)
A. zzz
B. zz
C. Infinite loop
D. An exception is thrown
View Answer
Q4.
फ्लो चार्ट के लिए कनेक्टर प्रतीक ___________ है

The connector symbol for flow chart is___________
A. Circle
B. Parallelogram
C. Diamond
D. All the above
View Answer
Q5.
किसी फंक्शन के बाहर परिभाषित वेरिएबल को क्या कहा जाता है?

What is a variable defined outside a function referred to as?
A. A static variable
B. A global variable
C. A local variable
D. An automatic variable
View Answer

Create Account