1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Array
An object that stores many values of the same type.
Element
One value in an array.
Index
A 0-based integer to access an element from an array.
Array declaration
The syntax used to declare an array, such as type[] name = new type[length].
Out-of-bounds
An error that occurs when trying to access an index outside the legal range of an array.
Cumulative sum
The running total of a series of values.
Zero-equivalent value
The initial value assigned to elements in an array based on their type.
Arrays.toString()
A method that returns a String representation of an array's elements.
Traversal
An examination of each element of an array.
Value Semantics
Behavior where values are copied when assigned, passed as parameters, or returned.
Reference Semantics
Behavior where variables store the address of an object, allowing shared data access.
Multi-counter problem
A problem requiring multiple counters for different values, typically solved with an array.
Merge
A method that combines elements from two (or more) arrays into a new array.
Histogram
A graphical representation showing the distribution of numerical data.
Most Frequent Digit
A function that returns the digit occurring most frequently in a number.
Swapping values
A method to exchange values between two variables or elements.
Sorting Arrays
The process of arranging the elements of an array in a particular order.
Array reversal
A technique to reverse the order of elements in an array.
Parameter passing
The process of providing input to a method, which can include arrays.
Static method
A method that belongs to the class rather than instances of the class.
Student grades
The scores or evaluations assigned to students based on performance.
Attendance tracking
Monitoring the presence or absence of students during sessions.