Java

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

1/64

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:49 AM on 4/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

65 Terms

1
New cards

1D array

an array that stores data in one direction, where each position in the array is called an index. Stores elements of the same data type and is a static data structure

2
New cards

2D array

an array that stores data in two directions and is hence indexed with two numbers. Stores elements of the same data type and is a static data structure

3
New cards

Abstract data type

a mathematical model for data types, defined by its behaviour from the point of view of the user

4
New cards

Abstraction (N19 P1)

the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics

5
New cards

Accessor (M25 P2)

methods that return the value of a private variable;
Allows accessing private variables from outside the class

6
New cards

Actions

methods

7
New cards

Aggregation

(N20 P2) when one class is contained inside another and used (classX includes fields of classY, but classY objects can exist in isolation of classX)

8
New cards

Argument

the value passed into a function or method when called

9
New cards

ArrayList

a dynamic data structure that stores data in one direction. Stores elements of the same data type

10
New cards

Binary search

a search algorithm that starts at the middle of a sorted set of data and removes half of the data by comparing the median value to the desired value

11
New cards

Boolean

used to represent data that can only take 2 values, using 1 bit of data

12
New cards

Bubble sort

a sort algorithm that moves through a set of data repeatedly, swapping elements that are in the wrong order

13
New cards

Char

16-bit Unicode character used to store any character

14
New cards

Class

a template, or blueprint, from which Java objects are created

15
New cards

Collection

a data structure designed to contain multiple elements of any data type and methods which make this data useful

16
New cards

Composition

a class holds a reference to another class as an instance variable. They can’t exist without each other

17
New cards

Constructor

sets up space in memory and constructs the state and value during object creation

18
New cards

Coupling

two classes that are dependent on each other are ‘coupled’. Coupling can be strong or weak. These are directional.

19
New cards

Default constructor (M24 P2) - instantiates an object of a class with null or default values without using any parameters

20
New cards

Dependency

a class depends on another class to use parts of that class

21
New cards

Doubly linked list*

a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two pointers (to the previous and the next node in the sequence) and one data field

22
New cards

Encapsulation (M18 P2)

allows the program to make instance variables of a class private so that the main program / other classes can’t accidentally access the data in the object

23
New cards

Fields

variables within a class

24
New cards

Final (M18 P2)

prevents variables from being modified

25
New cards

For loop

a control flow statement that repeatedly executes a block of code a predetermined number of times or while a condition remains true

26
New cards

Identifier (N19 P2)

the unique name of a program element

27
New cards

If and else statement

a control flow structure that executes a block of code if a condition is true, and an alternative block if it is false

28
New cards

Inheritance (N19 P2)
When a new class is derived from an existing class;
The new class inherits all variables, properties, methods, behaviours and data from the existing class;
The derived class is called a child / sub-class, the original class is called a parent / super class

29
New cards

Instance

a specific object constructed from a class

30
New cards

Instantiation

creating new objects within a class; another name for construction

31
New cards

Integer

a primary data type used to represent whole numbers in 32 bits

32
New cards

Library

collection of prewritten compiled code that is public for programmers

33
New cards

Linear search

a search algorithm that checks each element in order until the desired value is found or all elements checked

34
New cards

Linked list*

a linked data structure that consists of a set of sequentially linked records called nodes. Each node has a pointer (to the next node in the sequence) and one data field

35
New cards

Local variable

a variable that only exists while the code it belongs to is executing

36
New cards

Logic error

when the compiler runs the program but the program behaves unexpectedly

37
New cards

Long

64‑bit data type used to represent a wider range than integer

38
New cards

Method

a set of instructions that can be called for execution using the method name

39
New cards

Method overriding

replaces a method from the inherited class (M19 P2)

40
New cards

Method signature (M18 P2)

The signature/method name that defines the parameters and their types

41
New cards

Modern programming languages

programming languages that have been developed or significantly updates since the late 1990s to solve the limitations of older ‘legacy’ languages

42
New cards

Modulation

splitting a program into smaller modules that can be tackled individually

43
New cards

Mutator (M19 P2)

a method that sets the value of private variables in an object or class

44
New cards

Naming conventions

standardised rules for naming variables, functions, classes, and other entities to enhance code readability, maintainability, and consistency across projects

45
New cards

Object (M18 P2)

an abstract entity, its components are data and/or actions

46
New cards

Object reference (N19 P2, M19 P2)

a pointer to a memory location where the object is stored

47
New cards

OOP

a programming model focused on objects and their associated data and actions

48
New cards

Parameter

a variable named in the function or method definition

49
New cards

Parameter variable (M24 P2)
A value / variable passed when the function / method is called
It is found in the parameter list of the method signature

50
New cards

Polymorphism

the ability of objects to take on many forms, usually through inheritance

51
New cards

Primitive data type

data types that are fundamental in the programming language

52
New cards

Private

variables that are only accessible within the class

53
New cards

Protected modifier (M18 P2)

allows access to variables from within the package in which they are created

54
New cards

Public modifier (M18 P2)

allows access to the field/method from outside the class / allows unlimited access

55
New cards

Queue*

a linear abstract data structure following the First-In-First-Out (FIFO) principle

56
New cards

Real

represents decimal numbers using 32‑bit floats or 64‑bit doubles

57
New cards

Selection sort

repeatedly finds the smallest item and swaps it with the current index

58
New cards

Stack*

a linear data structure that follows the Last-In-First-Out (LIFO) principle

59
New cards

Static variable (M18 P2)

a variable that acts on the class as a whole and not on individual objects

60
New cards

String

represents a sequence of characters; not a primary data type

61
New cards

Syntax error

a mistake where programming language rules are not followed, preventing compilation

62
New cards

UML diagram

a graphical representation of classes, interfaces, and objects in an OO system are stored

63
New cards

Variable (N22 P1)

Unique identifiers that retrieve values from the memory addresses at which they are stored. They define areas in memory in which values are stored. Names given to computer memory locations which are used to store data values in a program

64
New cards

Void

indicates that a method/function returns nothing

65
New cards

While loop

repeatedly executes a block of code as long as a Boolean condition remains true