Question 116
Given the code fragment:

And given the requirements:
1. Process all the elements of the array in the order of entry.
2. Process all the elements of the array in the reverse order of entry.
3. Process alternating elements of the array in the order of entry.
Which two statements are true? (Choose two.)

And given the requirements:
1. Process all the elements of the array in the order of entry.
2. Process all the elements of the array in the reverse order of entry.
3. Process alternating elements of the array in the order of entry.
Which two statements are true? (Choose two.)
Question 117
Given:

Which three lines will compile and output "right on!"?

Which three lines will compile and output "right on!"?
Question 118
The following grid shows the state of a 2D array:

This grid is created with the following code:

Which line of code, when inserted in place of //line n1, adds an X into the grid so that the grid contains three consecutive X's?

This grid is created with the following code:

Which line of code, when inserted in place of //line n1, adds an X into the grid so that the grid contains three consecutive X's?
Question 119
Given the code fragment:

What is the result?

What is the result?
Question 120
Given the code fragments:

And,

Which statement is true?

And,

Which statement is true?