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)- A6% (3)
- B2% (1)
- C88% (42)
- D4% (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.