ch07-arrays

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

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

Array

An object that stores many values of the same type.

2
New cards

Element

One value in an array.

3
New cards

Index

A 0-based integer to access an element from an array.

4
New cards

Array declaration

The syntax used to declare an array, such as type[] name = new type[length].

5
New cards

Out-of-bounds

An error that occurs when trying to access an index outside the legal range of an array.

6
New cards

Cumulative sum

The running total of a series of values.

7
New cards

Zero-equivalent value

The initial value assigned to elements in an array based on their type.

8
New cards

Arrays.toString()

A method that returns a String representation of an array's elements.

9
New cards

Traversal

An examination of each element of an array.

10
New cards

Value Semantics

Behavior where values are copied when assigned, passed as parameters, or returned.

11
New cards

Reference Semantics

Behavior where variables store the address of an object, allowing shared data access.

12
New cards

Multi-counter problem

A problem requiring multiple counters for different values, typically solved with an array.

13
New cards

Merge

A method that combines elements from two (or more) arrays into a new array.

14
New cards

Histogram

A graphical representation showing the distribution of numerical data.

15
New cards

Most Frequent Digit

A function that returns the digit occurring most frequently in a number.

16
New cards

Swapping values

A method to exchange values between two variables or elements.

17
New cards

Sorting Arrays

The process of arranging the elements of an array in a particular order.

18
New cards

Array reversal

A technique to reverse the order of elements in an array.

19
New cards

Parameter passing

The process of providing input to a method, which can include arrays.

20
New cards

Static method

A method that belongs to the class rather than instances of the class.

21
New cards

Student grades

The scores or evaluations assigned to students based on performance.

22
New cards

Attendance tracking

Monitoring the presence or absence of students during sessions.