Ask Question
14 October, 06:12

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. 14 October, 06:37
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers