Zusammenfassung der Ressource
Frage 1
Frage
Procedures can only return a single value.
Frage 2
Frage
Which of these performs a single task?
Antworten
-
Functions
-
Procedures
-
Both
-
Neither
Frage 3
Frage
Functions and procedures are [blank_start]self-contained[blank_end] blocks of code, and use values as [blank_start]parameters[blank_end] for tasks.
Antworten
-
parameters
-
self-contained
Frage 4
Frage
Which type of variable do functions and procedures use to perform tasks?
Frage 5
Frage
Passing by reference changes the value of the variable being used in a procedure/function.
Frage 6
Frage
Stepwise refinement involves:
Antworten
-
Breaking a problem into a few, large parts...
-
...until each task can be written as a single function/procedure
-
Breaking a problem into progressively smaller tasks...
-
...until each task is mildly complex