Chapters 1-3 Review Guide Vocabulary

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

Vocabulary and key concepts from the Chapters 1-3 Review Guide, covering error types, Java conventions, data types, and operators.

Last updated 11:56 AM on 7/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Syntax error

An error reported by the compiler that prevents the program from compiling or executing.

2
New cards

Run-time error

An error that occurs when a program has compiled and is running, but then terminates abnormally.

3
New cards

Logical error

An error where the program finishes execution but produces incorrect results.

4
New cards

Identifier Rules

Naming rules stating only letters, digits, underscores (_), and dollar signs ($$) are allowed; identifiers cannot start with a digit or be a Java key word.

5
New cards

Java variable naming convention

Variables should start with a lower case letter, use nouns, and capitalize subsequent words with no spaces instead of using underscores (_).

6
New cards

byte

An integer data type that uses 11 byte (88 bits) of space.

7
New cards

short

An integer data type that uses 22 bytes (1616 bits) of space.

8
New cards

int

An integer data type that uses 44 bytes (3232 bits) of space.

9
New cards

long

An integer data type that uses 88 bytes (6464 bits) of space.

10
New cards

float

A real value data type that uses 44 bytes (3232 bits) of space.

11
New cards

double

A real value data type that uses 88 bytes (3232 bits) of space.

12
New cards

Assignment operator

The operator symbol == used to assign values to variables.

13
New cards

Augmented assignment operators

Short-cut operators including +=,=,=,/=,+=, -=, *=, /=, and %=\%=.

14
New cards

Increment and decrement operators

The operators ++++ and -- which are equivalent to adding or subtracting 11 from a variable.

15
New cards

%\% (mod) operator

The arithmetic operator used to find the remainder of a division, such as 28%1028\%10 resulting in 88.

16
New cards

Implicit data type conversion

The process where a smaller data type is automatically converted to a bigger type during an operation, such as an int being converted to a long before addition.

17
New cards

Type cast

A manual conversion needed to convert a bigger type to a smaller type, such as (int)5.6(int) 5.6; it has very high priority over arithmetic operators.

18
New cards

Logical operator constraints

Operators like !! and && must operate on boolean values; using them on types like int will generate a syntax error.

19
New cards

If statement syntax

A control structure that requires parentheses ()() around the boolean expression to be valid.

20
New cards

Dangling else rule

In nested logic, an else clause always matches the closest preceding if statement that does not already have an else.

21
New cards

Scanner class

A utility found in java.util.Scanner used to get user inputs such as int, double, and String values.

22
New cards

nextInt(), nextDouble(), and next()

Specific methods on a Scanner object used to capture integer, double, and String user inputs respectively.