Oracle
1Z0-803 · Question #57
Give: What value should replace KK in line x to cause jj = 5 to be output?
The correct answer is E. 11. We need to get jj to 5. It is initially set to 0. So we need to go through the for loop 5 times. The for loops ends when ii > 6 and ii decreases for every loop. So we need to initially set ii to 11. We set kk to 11.
Using Operators and Decision Constructs
Question
Give:
What value should replace KK in line x to cause jj = 5 to be output?
Exhibit
Options
- A-1
- B1
- C5
- D8
- E11
How the community answered
(29 responses)- A3% (1)
- B7% (2)
- C3% (1)
- D21% (6)
- E66% (19)
Explanation
We need to get jj to 5. It is initially set to 0. So we need to go through the for loop 5 times. The for loops ends when ii > 6 and ii decreases for every loop. So we need to initially set ii to 11. We set kk to 11.
Topics
#conditional logic#loops#operators#reverse engineering
Community Discussion
No community discussion yet for this question.
