Exam 2: Using Data

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

You can store any character, including nonprinting characters such as a backspace or a tab, in a(n) ____ variable.

(Multiple Choice)
4.9/5
(87)

The term ____ refers to the mathematical accuracy of a value.

(Multiple Choice)
4.9/5
(83)

Define an integer and then list and describe the four integer data data types.

(Essay)
5.0/5
(76)

Each primitive type in Java has a corresponding class contained in the java.lang package. These classes are called ____ classes.

(Multiple Choice)
4.9/5
(85)

A data item is ____ when it cannot be changed while a program is running.

(Multiple Choice)
4.9/5
(72)

When a numeric variable is concatenated to a String , the entire expression becomes a(n) ____ .

(Multiple Choice)
4.9/5
(79)
Match each term with the correct statement below.
Premises:
Created by placing the desired result type in parentheses
Responses:
blank final
garbage value.
keyboard buffer
Correct Answer:
Verified
Premises:
Responses:
Created by placing the desired result type in parentheses
blank final
(Matching)
4.7/5
(77)

Multiplication, division, and remainder always take place after addition or subtraction in an expression.

(True/False)
4.9/5
(91)

A(n) ____ is a simple data type.

(Multiple Choice)
4.9/5
(81)

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

(Essay)
4.9/5
(80)

In Java, ____ is a built-in class that provides you with the means for storing and manipulating character strings.

(Multiple Choice)
4.8/5
(86)

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

(Essay)
4.9/5
(88)

The byte and short data types occupy less memory and can hold only smaller values.

(True/False)
4.9/5
(67)

In Java, you use variables of type ____ to store integers, or whole numbers.

(Multiple Choice)
4.7/5
(83)

Write the statement that will declare a char data type named testScore that will hold a letter grade of your choice.

(Essay)
4.8/5
(84)

____ forces a value of one data type to be used as a value of another type.

(Multiple Choice)
4.8/5
(87)

A ____ data type can hold 14 or 15 significant digits of accuracy.

(Multiple Choice)
4.9/5
(74)
Match each term with the correct statement below.
Premises:
Java consistently specifies their size and format
Responses:
primitive type.
assignment.
parse
Correct Answer:
Verified
Premises:
Responses:
Java consistently specifies their size and format
primitive type.
(Matching)
4.9/5
(78)

Describe why it is important to assign an appropriate data type to variables in an application.

(Essay)
4.9/5
(91)

A data item's ____ is the area in which it is visible to a program and in which you can refer to it using its simple identifier.

(Multiple Choice)
4.8/5
(85)
Showing 61 - 80 of 81
close modal

Filters

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