Ask Question
15 June, 20:42

What happens in the process represented by the pseudocode below?

get (answer)

if (answer is yes)

then (multiply 4 and 9)

if (answer is no)

then (do nothing)

The computer multiplies 4 and 9 if the answer is yes.

The computer multiplies 4 and 9 if the answer is no.

The computer always multiplies 4 and 9.

The computer always does nothing.

+3
Answers (1)
  1. 16 June, 00:12
    0
    (A) The computer multiplies 4 and 9 if the answer is yes.

    Explanation:

    In the given pseudocode

    get (answer)

    if (answer is yes)

    then (multiply 4 and 9)

    if (answer is no)

    then (do nothing)

    In the pseudocode, the first step by the computer is to obtain the answer.

    There are then two conditional statements.

    1. if (answer is yes)

    then (multiply 4 and 9)

    2. if (answer is no)

    then (do nothing)

    From these two, we can see that:

    The computer multiplies 4 and 9 if the answer is yes.

    The correct option is A.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What happens in the process represented by the pseudocode below? get (answer) if (answer is yes) then (multiply 4 and 9) if (answer is no) ...” in 📙 Business if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers