page-banner
Python M3-R5.1 MCQs SET-12
Q11.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code ?
def disp(*arg):
    for i in arg:
        print(i)
disp(name="Rajat", age="20")
A. TypeError
B. Rajat 20
C. Name age
D. None of these
View Answer
Q12.
निम्नलिखित में से कौन लाइन दर लाइन प्रोग्रामिंग कोड को क्रियान्वित करता है?

Which of the following executes the programming code line by line?
A. Compiler
B. Interpreter
C. Executer
D. Translator
View Answer
Q13.
निम्नलिखित फ़ंक्शन का रिटर्न प्रकार क्या है?

What is the return type of following function ?
def func1():
    return “mnp”,22
A. List
B. dictionary
C. string
D. tuple
View Answer
Q14.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code ?
def fun(a, b=6):
    a=a+b
    print(a)
fun(5, 4)
A. 11
B. 9
C. 5
D. 4
View Answer
Q15.
निम्न में से कौन सा अमान्य मोड है?

Which of the following is an invalid mode ?
A. a
B. ar+
C. r+
D. w
View Answer

Create Account