Description
CSIS 212 Midterm Exam with Answers
- Which software product release category is “generally feature complete and supposedly bug-free, and ready for use by the community?”
- Which of the following statements is false?
- ________ involves reworking programs to make them clearer and easier to maintain while preserving their correctness and functionality.
- Which of the following statements is false?
- ________ models software in terms similar to those that people use to describe real-world objects.
- Which of the following statements is true?
- Which of the following is a variable declaration statement?
- All import declarations must be placed
- Which of the following statements does not alter the value stored in a memory location?
- Which of the following cannot cause a syntax error to be reported by the Java compiler?
- Each of the following is a relational or equality operator except:
- Which of the following does not contain a syntax error?
- When method printf requires multiple arguments, the arguments are separated with ________.
- Which of the following statements would display the phase Java is fun?
- Which of the following statements is false?
- Floating-point literals are of type ________ by default.
- An import declaration is not required if you always refer to a class with its ________ name, which includes its package name and class name.
- Which of the following statements is true?
- Which of the following statements is false?
- The format specifier %.2f specifies that two digits of precision should be output ________ in the floating-point number.
- Which of the following statements is false?
- Types in Java are divided into two categories. The primitive types are boolean, byte, char, short, int, long, float and double. All other types are ________ types.
- Which of the following statements is false?
- Java requires a ________ call for every object that’s created.
- Which of the following statements about the conditional operator (?:) is false?
- What is the size in bits of an int?
- Which primitive type can hold the largest value?
- Which of the following statements is true?
- How many times is the body of the loop below executed?
- Which of the following is not a primitive type?
- Which-statement is true?
- Which of the following is not an algorithm?
- Consider the classes below:
- Which expression is equivalent to if (!(grade == sentinelValue))?
- Which of the following statements is true?
- Consider the following two Java code segments:
- Which of the following will not help prevent infinite loops?
- Which of the following for-loop headers results in equivalent numbers of iterations:
- The control variable of a counter-controlled loop should be declared as ________to prevent errors.
- Which of the following is not a type of iteration statement in Java?
- Which of the following statements about a do…while iteration statement is true?
- For the code segment below:
- Which case of the following would warrant using the boolean logical inclusive OR (|) rather than the conditional OR (||)?
- Which of the following can be used in a switch statement in the expression after keyword case?
- Consider the code segment below. (CSIS 212 midterm exam)
- Which of the following statements about the switch statement is false?
- Which statement below is false?
- For the two code segments below:
- Which of the following statements about the continue statement is true?
- Which statement prints the floating-point value 123.456 right justified with a field width of 10?
- So, check out our latest courses on ACCT 540.