COPA programming in python Page-4 Question Bank

16.  Which program code makes use of the given module?
कौन सा प्रोग्राम कोड दिए गए मॉड्यूल का उपयोग करता है?  [NCVT Exam 25]

(A) Modularity
(B) Interface
(C) Client
(D) Docstring

17.  What is an array?
ऐरे क्या है?  [NCVT Exam 25]

(A) Hold two value at a time
 एक समय में दो मान रखना
(B) Hold three value at a time
 एक समय में तीन मान रखना
(C) Hold one value at a time
 एक समय में एक ही मान रखना
(D) Hold more than one value at a time
 एक समय में एक से अधिक मान रखना

18.  What will be the output of the following given code?
def mk( x ):
def mk1( ):
print( "Decorated" )
x( )
return mk1
def mk2( ):
print( "Ordinary" )
p = mk( mk2 )
p( )
निम्नलिखित कोड का आउटपुट क्या होगा?
def mk( x ):
def mk1( ):
print( "Decorated" )
x( )
return mk1
def mk2( ):
print( "Ordinary" )
p = mk( mk2 )
p( )  [NCVT Exam 25]

(A) Decorated Ordinary
(B) Ordinary Ordinary
(C) Decorated Decorated
(D) Ordinary Decorated


Previous  1  2  3  4