nerdexam
CompTIA

FC0-U61 · Question #424

Given the following pseudocode: If there are seven apples in the basket, which of the following would be the number of oranges a person eats?

The correct answer is C. 15. The person eats 2 oranges 6 times which equals to 12 and then eats 3 oranges for the last apple which gives the grand total of 15.

Software Development

Question

Given the following pseudocode:

If there are seven apples in the basket, which of the following would be the number of oranges a person eats?

Options

  • A10
  • B14
  • C15
  • D17

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    88% (42)
  • D
    4% (2)

Explanation

The person eats 2 oranges 6 times which equals to 12 and then eats 3 oranges for the last apple which gives the grand total of 15.

Topics

#pseudocode#programming logic#problem solving

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice