For questions 7 and 8 you can type your answer into the box or write it on a piece of paper and hand in.
True
False
Rate this question:
2
64
100
128
It's an infinite loop
Rate this question:
2
64
100
128
It's an infinite loop
Prints s out backwards
Prints s out forwards
Prints s out backwards, skipping the last character
Prints s out backwards, skipping the first character
It's a run-time error because there is no character at s.charAt(j-1) for j = 0
Rate this question:
100
200
10,000
20,000
100,000
Rate this question:
4 16
4 10 16
0 6 12 18
0 2 6 8 12 14 18
0 2 4 6 8 10 12 14 16 18
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.