36
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 36 • Introduction to Information Technology - EL3701

A function, writeamount, is defined:def writeamount ( name, amount = 0 ): print “Name : ”, name; print “Amount: ”, amount; return;When users do not enter the amount they paid, the system automatically assumes they paid nothing. This functionality is an example of a

Answer
A
default argument.
B
subroutine.
C
keyword argument.
D
return statement.
Previous
Next