Font size
WorksheetsProgramming
Total questions: 12
Worksheet time: 13mins
What is Decomposition?
Breaking the problem down to look for specific patterns
Solving the problem by placing the algorithm into a single flowchart
Breaking the task down into smaller, more manageable tasks
Identifying where the algorithm needs to be repeated so that it save you time when writing it
A logic error
is when the program is coded correctly, but an error occurs because of a problem while the program is being executed (not because of a mistake in the code)
is when incorrect words or punctuation is used, or when correct words and punctuation are used in the wrong order
is when the stars don't line up properly and a cosmic ray changes a true value to a false value
is when the program is coded incorrectly to produce an incorrect result, but with correct statements. The only way to know there was an error is to notice that the result is wrong
The continue statment cannot be used with
for
while
do while
switch
goto can be used to jump from main to within a function?
true
false
-
-
Which loop is guaranteed to execute at least one time.
for
while
do while
none of the above
A labeled statement consist of an identifier followed by
:
;
?
=
elaborate DP (a)
