Exam 2: Using Data

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which escape sequence will move the cursor to the beginning of the current line?

Free
(Multiple Choice)
4.8/5
(83)
Correct Answer:
Verified

B

MATCHING Match each term with the correct statement below. -Java consistently specifies their size and format

Free
(Multiple Choice)
5.0/5
(81)
Correct Answer:
Verified

F

What is the value of result after the following statement is executed? int result = 2 + 3 * 4;

Free
(Multiple Choice)
4.9/5
(92)
Correct Answer:
Verified

C

MATCHING Match each term with the correct statement below. -Begins with a backslash followed by a character

(Multiple Choice)
4.9/5
(72)

A(n) ____ dialog box asks a question and provides a text field in which the user can enter a response.

(Multiple Choice)
4.9/5
(80)

____ occurs when both of the operands are integers.

(Multiple Choice)
4.8/5
(79)

Describe how the use of named constants can provide advantages over the use of literal values.

(Essay)
4.9/5
(84)

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
(68)

How can you create and use an input dialog box in Java?

(Essay)
4.8/5
(86)

____ refers to the order in which values are used with operators.

(Multiple Choice)
4.8/5
(75)

You use the ____ data type to hold any single character.

(Multiple Choice)
4.8/5
(87)

A(n) ____ dialog box displays the options Yes, No, and Cancel.

(Multiple Choice)
4.8/5
(78)

Describe the variation types byte, short, and long of the integer type.

(Essay)
4.9/5
(69)

MATCHING Match each term with the correct statement below. -true or false

(Multiple Choice)
4.9/5
(82)

You can create a confirm dialog box with five arguments.

(True/False)
4.8/5
(88)

Describe and give an example of operator precedence.

(Essay)
4.9/5
(97)

A ____ is a named memory location that you can use to store a value.

(Multiple Choice)
4.7/5
(74)

A(n) ____ variable can hold only one of two values: true or false.

(Multiple Choice)
4.9/5
(82)

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
(76)

A(n) ____________________ is a simple data type.

(Short Answer)
4.8/5
(75)
Showing 1 - 20 of 74
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)