Unit 8 - Vocabulary Flashcards

1
Q

0-indexed language

A

A programming language where arrays and other data structures start counting from 0 instead of 1. In these languages, the first element is accessed with an index of 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

2D Arrays

A

Data structures that store values in a grid-like format with rows and columns. They allow for the organization and manipulation of data in a two-dimensional manner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Array

A

A fixed-size collection of elements of the same type stored in contiguous memory locations. It allows efficient access to individual elements using an index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ArrayIndexOutOfBoundsException

A

An exception is an exception that occurs when trying to access an invalid index position in an array. It is thrown to indicate that the index used to access an array is either negative or greater than or equal to the size of the array.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ArrayList

A

A dynamic data structure that allows you to store and manipulate collections of objects. Unlike arrays, ArrayLists can grow or shrink dynamically as needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Building Computational Thinking

A

Refers to developing problem-solving skills and logical reasoning abilities through programming and computer science concepts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Double-index notation

A

A way of representing elements in a two-dimensional array using two indices, one for the row and one for the column. It allows easy access to specific elements within the array.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Graphical Representation

A

Involves using visual elements such as charts, graphs, or diagrams to present information or data visually.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Grid

A

A two-dimensional arrangement of cells or elements organized in rows and columns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Initialize 2D Arrays

A

Means setting up or creating a two-dimensional array with initial values before using it in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Initializing 2D Arrays

A

Refers to the process of declaring and assigning values to a two-dimensional array. It involves specifying the size of the array and providing initial values for each element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Inner Array

A

An inner array refers to an array that is contained within another array.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Practice with Indices and Values

A

This term refers to the process of working with indices and values in computer programming. Indices are used to access specific elements within a data structure, such as an array or a string, while values represent the actual data stored at those indices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Length

A

The length refers to the number of elements in an array or the size of a string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Manipulate

A

Refers to the process of changing or altering data in a program. It involves modifying variables, arrays, or objects to achieve a desired outcome.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Nested Array

A

An array that contains other arrays as its elements. It allows for the creation of multi-dimensional data structures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Nested For Loops

A

A way to repeat a set of instructions multiple times within another loop. It allows you to iterate over elements in a multi-dimensional data structure, such as a 2D array.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Non-rectangular Array

A

An array where each row can have a different number of columns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Outer Array

A

An outer array is an array that contains other arrays as its elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Primitive Type Values

A

Refer to basic data types in programming languages such as integers, floating-point numbers, characters, booleans, etc., which are not composed of smaller parts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Representations of 2D Arrays

A

Refer to different ways in which two-dimensional arrays can be visualized or stored in memory. There are multiple representations available, such as using nested loops, using matrices, or using lists of lists.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Representing 2D Arrays

A

Refers to the process of storing and accessing data in a two-dimensional grid-like structure. It allows for efficient manipulation and organization of data that has both rows and columns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Rows

A

Refer to the horizontal lines in a table or grid that contain data. They represent individual records or entries in a dataset.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Traversing 2D Arrays

A

Refers to the process of accessing and examining each element in a two-dimensional array. It involves iterating through the rows and columns of the array to perform operations on each element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

2D Array Algorithms

A

Specific procedures or sets of instructions designed to solve problems involving two-dimensional arrays. These algorithms utilize the structure and properties of 2D arrays to perform operations efficiently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Column-Major Order

A

A way of storing elements in memory where they are arranged sequentially by columns. Each column is stored one after another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Compute Average in a 2D Array

A

Refers to finding the mean value of all the elements within the array. It involves summing up all the values and dividing by the total number of elements.

28
Q

Compute Mode in a 2D Array

A

Involves finding the most frequently occurring element(s) within that array. It identifies which value(s) appear(s) with maximum frequency.

29
Q

Consecutive Pairs in a 2D Array

A

Refer to adjacent elements within the array that are next to each other either horizontally or vertically.

30
Q

Criteria Checking in a 2D Array

A

Refers to evaluating whether certain conditions or requirements are met for specific elements within an array. It involves examining each element and determining if it satisfies given criteria.

31
Q

Duplicate Elements in a 2D Array

A

Refer to values that appear more than once within the array.

32
Q

Enhanced For Loop (For-each Loop)

A

A simplified loop structure introduced in Java that allows easy iteration over arrays or collections without explicitly managing an index or iterator.

33
Q

Reverse elements in a 2D array

A

Means flipping the order of values within each row or column of the array. The first element becomes the last, and vice versa.

34
Q

Rotate elements in a 2D array

A

Means to shift the values of the array elements in a circular manner. It involves moving each element to its adjacent position, either clockwise or counterclockwise.

35
Q

Row-Major Order

A

In computer science, this refers to the way elements are stored in memory. It means that elements are arranged sequentially by rows, where each row is stored one after another.

36
Q

Shift Elements in a 2D Array

A

Refers to moving the values from one position to another while maintaining their relative order.

37
Q

1D Arrays

A

A linear collection of elements stored in contiguous memory locations. It allows storing multiple values under one name and accessing them using indices.

38
Q

2D array

A

A data structure that stores values in a grid-like format with rows and columns. It allows for efficient storage and retrieval of data elements.

39
Q

ArrayIndexOutOfBoundsException

A

An exception that occurs when trying to access an invalid index position in an array. It is thrown to indicate that the index used to access an array is either negative or greater than or equal to the size of the array.

40
Q

ArrayLists

A

Dynamic arrays that can grow and shrink dynamically as needed. They provide resizable arrays with additional methods for easy manipulation and management.

41
Q

Length

A

Refers to the number of elements in an array or the size of a string.

42
Q

Matrix

A

A rectangular array of numbers, symbols, or expressions arranged in rows and columns. It is commonly used to represent data or perform mathematical operations.

43
Q

null

A

A special value in programming that represents the absence of a value or the lack of an assigned object. It is used to indicate that a variable does not currently have any valid data.

44
Q

rectangular arrays

A

Rectangular arrays are multi-dimensional arrays where each row has the same number of elements and each column has the same number of elements. They are often used to store and manipulate tabular data.

45
Q

Size

A

Refers to the dimensions, magnitude, or extent of something. In programming, it typically indicates the number of elements in a collection or container.

46
Q

ArrayB

A

Refers to an individual element within an array or specifically denotes an element at index B within an array.

47
Q

Autoboxing

A

The automatic conversion of a primitive data type to its corresponding wrapper class object. For example, when an int is assigned to an Integer object, autoboxing occurs.

48
Q

Column-Major Traversal

A

Refers to accessing elements in a multi-dimensional array by iterating through each column first before moving on to the next column. In this traversal order, consecutive elements are stored contiguously in memory along columns.

49
Q

Consecutive Sequences

A

Refer to sets of numbers where each subsequent number follows directly after its predecessor without any gaps or missing values.

50
Q

Duplicates Function

A

A programming function that checks for and identifies duplicate elements within a given list or array.

51
Q

Enhanced For Loop

A

Also known as a foreach loop) is a simplified way to iterate over elements in an array or collection. It automatically handles indexing and provides an easy way to access each element without explicitly using indices.

52
Q

EvenFrequency Function

A

A programming function that determines whether all elements in an array occur an even number of times.

53
Q

For Loop

A

A control flow statement that allows you to repeatedly execute a block of code for a specified number of times or until certain conditions are met.

54
Q

if statement

A

A programming construct that allows the execution of a block of code only if a certain condition is true.

55
Q

isEven Function

A

A function used to determine whether a given number is divisible evenly by 2, meaning it’s an even number.

56
Q

Mean Function (Average)

A

Calculates the central tendency by summing up all values in a set and dividing it by the number of values.

57
Q

Minimum Function

A

A mathematical operation that returns the smallest value among a set of numbers.

58
Q

Mode Function

A

A statistical measure that identifies the most frequently occurring value in a dataset.

59
Q

Modifying Array Values

A

Refers to the process of changing the elements stored in an array. It allows for updating or altering specific elements within the array.

60
Q

Modulo Operator (%)

A

Used in programming to find the remainder when one number is divided by another. It takes a dividend and a divisor, and returns the remainder after performing division.

61
Q

Row-Major Traversal

A

Refers to accessing elements in a multi-dimensional array by iterating through each row first before moving on to the next row. In this traversal order, consecutive elements are stored contiguously in memory along rows.

62
Q

sequential/linear search

A

A simple searching algorithm that checks each element in a list or array one by one until the desired element is found or the end of the list is reached. It is commonly used for small lists or unsorted data.

63
Q

Sum Function

A

A mathematical operation that calculates the total by adding together all the values in a set or list.

64
Q

System.out.print

A

A Java statement used to display output on the console. It allows you to print text or values directly to the standard output stream.

65
Q

System.out.println

A

A Java statement used to display output on the console. It prints the specified message or value and adds a new line character at the end.

66
Q

Traversal Algorithms

A

Methods used to visit and process all elements in a data structure, such as arrays, linked lists, or trees. They allow you to access each element individually and perform operations on them.