Question Detail

COS 102 Concept & Properties of Algorithm lecture 3 Week4 Objective Question

Question

In the 'Perform Arithmetic' section of the 'NOTE' slide, what operation does 'Subtract: Subtract num1 from num2' represent?
Options
A Addition
B Subtraction
Correct Answer
C Multiplication
D Division
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 12 clearly lists 'Subtract: Subtract num1 from num2' under 'Perform Arithmetic', indicating the subtraction operation.

Hint

The command itself directly indicates the mathematical operation.

Question Info