Exam 2: Using Data
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
Which escape sequence will move the cursor to the beginning of the current line?
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
B
MATCHING
Match each term with the correct statement below.
-Java consistently specifies their size and format
Free
(Multiple Choice)
5.0/5
(34)
Correct Answer:
F
What is the value of result after the following statement is executed? int result = 2 + 3 * 4;
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
C
MATCHING
Match each term with the correct statement below.
-Begins with a backslash followed by a character
(Multiple Choice)
4.8/5
(37)
A(n) ____ dialog box asks a question and provides a text field in which the user can enter a response.
(Multiple Choice)
4.8/5
(30)
Describe how the use of named constants can provide advantages over the use of literal values.
(Essay)
4.8/5
(34)
MATCHING
Match each term with the correct statement below.
-A value that can be used on either side of an operator
(Multiple Choice)
4.8/5
(32)
____ refers to the order in which values are used with operators.
(Multiple Choice)
4.7/5
(32)
A(n) ____ dialog box displays the options Yes, No, and Cancel.
(Multiple Choice)
4.8/5
(33)
Describe the variation types byte, short, and long of the integer type.
(Essay)
4.8/5
(32)
MATCHING
Match each term with the correct statement below.
-true or false
(Multiple Choice)
4.9/5
(38)
A ____ is a named memory location that you can use to store a value.
(Multiple Choice)
4.7/5
(43)
A(n) ____ variable can hold only one of two values: true or false.
(Multiple Choice)
4.9/5
(32)
public class YourGrade
{
public static void main(String[] args)
{
int projectPoints = 89;
System.out.print("Your grade for this class is ");
System.out.print(projectPoints);
System.out.println("%");
}
}
Given the above code, what will be the output at the command prompt?
(Essay)
4.7/5
(36)
Showing 1 - 20 of 74
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)