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
(37)
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
(34)
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.8/5
(43)
Correct Answer:
Verified

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)

____ occurs when both of the operands are integers.

(Multiple Choice)
4.8/5
(32)

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)

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

(Essay)
4.7/5
(41)

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

(Multiple Choice)
4.7/5
(32)

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

(Multiple Choice)
4.8/5
(40)

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)

You can create a confirm dialog box with five arguments.

(True/False)
4.8/5
(42)

Describe and give an example of operator precedence.

(Essay)
5.0/5
(45)

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)

A(n) ____________________ is a simple data type.

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

Filters

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