Question Detail
Question
Consider the following pseudocode snippet:
This snippet is an example of what type of action?
IF num1 > num2 THEN
ADD num1 to total
ELSE
ADD num2 to total
ENDIFThis snippet is an example of what type of action?
Correct Answer
Option D is the correct answer.
Detailed Explanation
Page 13, under 'Compare Values', provides this exact snippet as an example of an IF...THEN...ELSE structure used for comparing values.
Hint
Check page 13 for examples of 'Compare Values' operations.