1. Which one of these is a valid boolean declaration?
2. What will the value of varOne be after the following expression is evaluated?
3. What is printed as a result of executing this code segment?
4. Which of the following is equivalent to the statement below? Recall DeMorgan?s Law.
5. Consider the following recursive method. What does guess(4) return?
6. In which of these cases will an ascending order (from smallest to largest) insertion sort have the fastest run time?
7. Which of the following statements is correct, considering the below code.
8. Consider the following block of code. What are the first and last numbers printed after running the code?
9. Consider the following block of code. What value is returned from myfunc(5)?
10. Given that both count and n are integer values, which of the following statements is true about both code blocks?
11. Consider the following class declarations. Which statements are true?
12. : Consider the following code. What is the maximum amount of times that TESTANDTRACK could possibly be printed?
13. The following method stringRecursion would only produce a run time error when the length of the input string is greater than or equal to 16.
14. Which of these declarations will not cause an error?
15. The method alter shifts the values in the columns, starting at column c + 1, one column to the left. It also _______________.