Chapter 2 Flashcards

(29 cards)

1
Q

ASCII Character Set

A

An early character set for representing English characters and symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Assignment Operator

A

An operator in Java that combines a basic operation such as addition with assignment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assignment Statement

A

A programming statement that assigns a value to a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Casting

A

A data conversion in which the type to which a value is converted is explicitly specified in parentheses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Character Set

A

A list of characters in a particular order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Delimiter

A

Characters used to separate one input token from another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Escape Sequence

A

A series of characters that begin with a backslash(), used to represent special characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Expression

A

A combination of one or more operators and operands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Integer Division

A

Division in which the fractional portion of the result is discarded, used when both operands are integers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Literal

A

An explicit data value used in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Narrowing Conversion

A

A conversion between one data type and another in which information may be lost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Operator Precedence Hierarchy

A

The rules that establish the order in with operators are evaluated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Parameter

A

A piece of data that is sent to a method when it is invoked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Primitive Data Type

A

A basic type of data, such as a number, character or boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Standard Input Stream

A

A source of input, usually the keyboard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

String Concatenation

A

Appending one character string to the end of another

17
Q

String Literal

A

Text enclosed by double quotation marks that represent a character string

18
Q

Strongly Typed

A

A programming language characteristic that prevents a variable from being assigned a value inconsistent with its type

19
Q

Token

A

An element in an input stream

20
Q

Unicode Character Set

A

A character set used to represent characters and symbols fro most of the world’s written languages

21
Q

Variable

A

A name for a location in memory used to hold a data value

22
Q

Widening Conversion

A

A conversion between one data type and another in which information is not lost

23
Q

What is the escape sequence for backspace?

24
Q

What is the escape sequence for tab?

25
What is the escape sequence for newline?
\n
26
What is the escape sequence for carriage return?
\r
27
What is the escape sequence for double quote?
\"
28
What is the escape sequence for single quote?
\'
29
What is the escape sequence for backslash?
\\