Java Control Statements and Iteration Vocabulary

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

1/14

flashcard set

Earn XP

Description and Tags

A collection of core vocabulary terms regarding Java control flow, selection statements, iteration loops, and jump statements based on the lecture material.

Last updated 1:55 AM on 6/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

Control Statement

A way to change or break the flow of execution by implementing decision-making, looping, and branching to execute a particular block of code based on a condition.

2
New cards

Selection Statement

Java statements that allow control of the flow of a program's execution based upon conditions known only during run-time.

3
New cards

Iteration Statement

Statements that enable repeated execution of a part of a program until a certain termination condition is satisfied.

4
New cards

Jump Statement

Java statements that enable the transfer of control to another part of the program, including break\text{break}, continue\text{continue}, and return\text{return}.

5
New cards

Short-circuit (&&\&\&)

A logical operator where the second condition is not checked or evaluated if the first condition is false.

6
New cards

Switch (Java 1.41.4)

In this version of Java, the switch\text{switch} statement accepted only four data types: int\text{int}, byte\text{byte}, short\text{short}, and char\text{char}.

7
New cards

Switch (Java 55)

In this version of Java, the switch\text{switch} statement began accepting wrapper classes such as Integer\text{Integer}, Byte\text{Byte}, Short\text{Short}, and Character\text{Character}.

8
New cards

Switch (Java 1.71.7)

In this version of Java, the switch\text{switch} statement started accepting String\text{String} data types.

9
New cards

Break Statement

A statement that, when encountered by the compiler, causes the program to come out from the current block without terminating the entire program.

10
New cards

Default Case

A case that gets executed only if no case label matches the key value, regardless of its position inside the switch\text{switch} statement.

11
New cards

Compile time constant

The required nature for every case label value inside a switch-case\text{switch-case} block.

12
New cards

Array

A structure that collects multiple elements of similar datatype in a continuous block.

13
New cards

For loop statements

A loop consisting of 33 statements: Initialisation, Test-condition, and Increment or Decrement Operator.

14
New cards

For-each loop

An alternative to the for\text{for} loop introduced in Java 1.51.5 for retrieving elements from an array or collection, which works on streaming data rather than index values.

15
New cards

ArrayIndexOutOfBoundsException

An exception generated when attempting to access an array position that exceeds its defined length (e.g., accessing index 55 in an array with 55 elements).