Correct Answer
verified
View Answer
Essay
Correct Answer
verified
View Answer
Multiple Choice
A) 100
B) 200
C) 10,000
D) 20,000
E) 1,000,000
Correct Answer
verified
Essay
Correct Answer
verified
True/False
Correct Answer
verified
Essay
Correct Answer
verified
View Answer
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Essay
Correct Answer
verified
View Answer
Multiple Choice
A) increases in height while staying the same width
B) increases in width while staying the same height
C) increases in both width and height
D) stays the same size
E) decreases in height while staying the same width
Correct Answer
verified
Multiple Choice
A) the variable being tested might equal one of several hundred int values
B) the variable being tested might equal one of only a few int values
C) there are two or more int variables being tested, each of which could be one of several hundred values
D) there are two or more int variables being tested, each of which could be one of only a few values
E) none of the above, you would never choose to use a switch statement in place of nested if-else statements under any circumstance
Correct Answer
verified
Multiple Choice
A) y = (x < 0) ? x : 0;
B) x = (x < 0) ? y : 0;
C) (x < 0) ? y = x : y = 0;
D) y = (x < 0) ;
E) y = if (x < 0) x : 0;
Correct Answer
verified
Multiple Choice
A) 5
B) 6
C) 11
D) 10
E) 12
Correct Answer
verified
Multiple Choice
A) may be used within a while or a do-while loop, but not a for loop
B) is identical to a break statement within Java loops
C) may be used within any Java loop statement
D) may be used within a for loop, but not within a while or a do-while loop
E) none of the above
Correct Answer
verified
Short Answer
Correct Answer
verified
View Answer
Multiple Choice
A) it prints s out backwards
B) it prints s out forwards
C) it prints s out backwards after skipping the last character
D) it prints s out backwards but does not print the 0แตสฐ character
E) it yields a run-time error because there is no character at s.charAt(j-1) for j = 0
Correct Answer
verified
Essay
Correct Answer
verified
View Answer
Multiple Choice
A) 0 times
B) 1 time
C) 9 times
D) 10 times
E) 11 times
Correct Answer
verified
Multiple Choice
A) 4
B) 5
C) 6
D) 10
E) 20
Correct Answer
verified
Essay
Correct Answer
verified
View Answer
Showing 1 - 20 of 36
Related Exams