ICT 500 Descriptive Reviewer - Core Java Concepts & Programming Basics

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/49

flashcard set

Earn XP

Description and Tags

50 vocabulary flashcards covering core Java concepts from the notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

Programming

Writing instructions (code) that tell a computer how to perform tasks, automate decisions, and manipulate data; transforms input into output using logic, data structures, and control flow.

2
New cards

JVM

Java Virtual Machine; executes compiled Java bytecode and provides platform independence.

3
New cards

JRE

Java Runtime Environment; the JVM plus standard libraries required to run Java programs.

4
New cards

JDK

Java Development Kit; JRE plus development tools (javac, jar, debugger) needed to compile and build Java programs.

5
New cards

Write Once, Run Anywhere (WORA)

Java source is compiled to bytecode that runs on any OS with a JVM, enabling cross-platform deployment.

6
New cards

Platform independence

The ability of Java programs to run on different hardware/OS via the JVM, reducing platform-specific rewrites.

7
New cards

Public class

A class declared public whose name must match the filename (case-sensitive).

8
New cards

Class-name filename rule

A public class name must exactly match the .java filename (e.g., HelloWorld -> HelloWorld.java).

9
New cards

Primitive types

Basic value types (byte, short, int, long, float, double, char, boolean) that store raw values.

10
New cards

Reference types

Types that hold references to objects (e.g., String, arrays, custom classes); variables store addresses.

11
New cards

byte

An 8-bit integer primitive type.

12
New cards

short

A 16-bit integer primitive type.

13
New cards

int

A 32-bit integer primitive type.

14
New cards

long

A 64-bit integer primitive type.

15
New cards

float

A 32-bit floating-point primitive type.

16
New cards

double

A 64-bit floating-point primitive type.

17
New cards

char

A single 16-bit Unicode character.

18
New cards

boolean

A primitive type representing true/false states.

19
New cards

String

A sequence of characters; a reference type used for text.

20
New cards

BigDecimal

A class used for exact decimal numbers (currency) to avoid rounding errors with floating types.

21
New cards

Variable

A named storage location in memory whose value can change.

22
New cards

Identifier

The name used for a variable, method, or class; must follow naming rules.

23
New cards

Initialization

Assigning a value to a variable before use (required for local variables).

24
New cards

Default values

Predefined values for instance/static variables: numeric → 0, boolean → false, references → null.

25
New cards

final

A modifier that prevents reassignment; used to create constants.

26
New cards

Constant

A fixed value defined by a final variable.

27
New cards

Arithmetic operators

Operators +, -, *, /, % used for mathematical computations.

28
New cards

Relational operators

Operators ==, !=,

29
New cards

Logical operators

Operators &&, ||, ! used for boolean logic.

30
New cards

Assignment operators

Operators like =, +=, -= used to assign or update variable values.

31
New cards

String concatenation

Using the + operator to join strings and other values into one String.

32
New cards

Operator precedence

Rules determining the order of evaluation; e.g., */ before +-; can be overridden with parentheses.

33
New cards

Associativity

Direction of evaluation for operators with the same precedence (left-to-right in Java).

34
New cards

Expression

A combination of variables, literals, operators, and method calls that yields a value.

35
New cards

if statement

A conditional that executes its block when its Boolean expression is true.

36
New cards

if-else

Branching structure that selects between two blocks depending on a condition.

37
New cards

else if

Chains of mutually exclusive conditions; only the first true branch runs.

38
New cards

braces

Curly braces {} used to group statements and define scope; important for blocks.

39
New cards

Nested if

An if statement inside another if to form more complex decisions.

40
New cards

String equals

Use s1.equals(s2) to compare text content rather than == which compares references.

41
New cards

System.out.print

Outputs text without a newline.

42
New cards

System.out.println

Outputs text with a trailing newline.

43
New cards

Scanner

A class used to read input; commonly Scanner sc = new Scanner(System.in).

44
New cards

nextLine

Scanner method that reads an entire line of input.

45
New cards

close

Close a resource (e.g., Scanner) to release underlying streams.

46
New cards

Runtime error

An error occurring during program execution (e.g., NullPointerException).

47
New cards

Compilation error

An error that prevents code from compiling (syntax issues like missing semicolon).

48
New cards

Logical error

A bug where the program runs but yields incorrect results.

49
New cards

break

Exits the nearest loop immediately.

50
New cards

for loop

Loop with initialization, condition, update; best when the count is known.