Please enable JavaScript to use CodeHS

Cortado Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Data privacy General

how company's use your data

Encapsulation Java

The process of hiding the implementation details of a class from the user

Algorithmic Bias General

The systematic and repeatable errors in a computer system that create unfair outcomes

Data breach Java

An incident where sensitive or confidential data is accessed without authorization

Data Set Java

A collection of related data used for analysis

Secure Coding General

The practice of writing software that protects data against unauthorized access and threats

Pseudocode General

Pseudocode is a brief explanation of code in plain English.

Pseudocode

Algorithm General

An algorithm is a set of steps or rules to follow to solve a particular problem.

algorithm, process

Data Analysis Java

The process of examining data to find trends or answer questions

Guiding Question General

A specific question that directs the focus of data analysis

Instance Variable Java

A variable defined in a Class, for which each object of the class has its own copy.

Array Java

A data structure that stores a **fixed** number of elements, all of the same type, one after another like a list.

Array Index Java

The position of an element in an array. The first element is at index 0, the second element is at index 1, and so on.

Parallel Arrays Java

Two or more arrays that share the same index structure to represent related data

For Loop Java

A for loop lets us repeat code a **fixed number of times**.

Traversing an Array Java

Traversing an array is the process to loop through an array and access each of the elements. Caution must be taken to avoid looping beyond the valid index values.

Enhanced For Loop Java

A loop that is an alternate to a for or while loop that accesses each value in an array starting at the first value and proceeding in order.

Inventory Java

A structured set of items or data, often represented as arrays or lists

Reference Type Java

Reference variables store the address of the value

Traversal General

Accessing each character in a string one at a time using a loop

Adjacent Duplicates Java

Two identical values next to each other in an array

Defensive Programming General

Coding practices that prevent unintended behavior or errors

File I/O (Input/Output) General

The process of reading information from and writing information to files.

IOException Java

An error related to file access or reading

try-catch Java

A Java construct to gracefully handle runtime errors

Split Method Java

A method that divides a string based on a delimiter

Parsing Java

Extracting and converting data from strings

null Java

A keyword that indicates a reference object doesn’t point to any object data.

Autoboxing Java

Automatic conversion between primitive types and their corresponding object wrapper classes

Unboxing Java

Reverse of autoboxing; automatic conversion from the wrapper class to the primitive type

Wrapper Class Java

An object representation of a primitive data type (e.g., Integer, Double)

parseInt / parseDouble Java

Methods that convert strings into numeric values

Method Overloading Java

Classes can have multiple methods with the same name, as long as the parameters to those methods are different. Doing this is called "overloading" a method.

ArrayList Java

ArrayList is a Java class that is like an Array with extra powers. It can automatically resize and comes with other helpful methods.

Dynamic List Java

A list that grows or shrinks as items are added or removed

Data Validation Java

Checking data before it is used or stored to prevent errors or invalid values

Index Shift Java

The automatic change in index positions after an item is added or removed

Forward Loop / Backward Loop Java

The direction in which a loop progresses through a list

Helper Method Java

A reusable method designed to perform a specific task as part of a larger program

Edge Case General

An edge case is a problem in your code that only occurs in extreme situations.

Edge Case

Simultaneously Traversal General

Traversing two lists at the same time using the same index often to compare.

Code Tracing General

Following program flow to determine value changes

2D Array Java

A 2D Array is an array of arrays, used to represent tables, grids, and matrices.

Nested Loops Java

When a loop is placed within another loop. The total number of runs for a nested loop will be the outer loop * inner loop.

Index Java

Array values are stored at a particular index and we access elements in the array by referencing this index value. Index values in Arrays start a 0.

Row vs. Column Java

Orientation of output in nested structures

Row-major Order Java

The ordering of 2D arrays is row-major order, meaning the first index is the row, and the second index is the col. `arr[2][0]` would access the element on the third row and first column.

Column Major Order Java

The process of traversing a 2D array by accessing all values at the first column in every row, before moving to the next column

Simulation General

A animated model that represents a real-life thing, process, or situation.

Control Logic General

Conditional or loop structures that determine flow and behavior in algorithms

Row Major Order Java

The process of traversing a 2D array by accessing all elements in a row before moving on to the next row.

Shifting Java

Moving values within rows or columns to new positions

Flip Java

Reversing the order of elements horizontally or vertically

Coordinate Plane General

A grid-based plotting system using x and y values

Data Integrity General

Ensuring data completeness and accuracy (e.g., no missing or duplicate values)

Linear Search General

Also called sequential search, a search algorithm that searches for a given value in a list of values. Linear search is less efficient than binary search.

Efficiency General

The ability to achieve an end goal with little to no waste.

Target Java

The value being searched for in a data set

Case Sensitivity Java

A string comparison rule that differentiates between uppercase and lowercase characters

Selection Sort General

Sorting algorithm that takes an array of values and sorts it. The idea is to have a sorted part of the list and an unsorted part. On each iteration, selection sort finds the lowest value in the unsorted section of the list and adds it to the end of the sorted part.

Insertion Sort General

Sorting algorithm that sorts an array of values. The idea behind insertion sort is to have a sorted part of the list and an unsorted part. On each iteration of the algorithm, we grab the next unsorted element and place it in its proper position in the sorted section.

Loop Invariant Java

A condition that holds true throughout a loop’s execution (e.g., part of the array is always sorted)

Sorting Algorithm Java

A method for reordering data into a specific sequence

Recursion General

At a high level, recursion is when a function (or method) calls itself.

Base Case General

The base case is the simplest form of the recursive problem. The base case can be immediately solved without breaking the problem down any further.

Recursive Case General

The recursive case is the general form of the recursive problem. In this case the problem needs to be broken down by one step toward the base case, and the algorithm makes a recursive call to itself to solve this slightly smaller problem. This process repeats until the base case is reached.

Trace Table Java

A tool for tracking variable values and executed lines during program execution

Tree Diagram General

A visual structure used to represent the recursive calls and their results

Stack Overflow General

An error that occurs when recursion doesn't stop properly

Binary Search General

Search algorithm that only works on a sorted list. It discards half of the list on each iteration, getting to the solution much faster than Linear Search.

Divide and Conquer General

A problem solving approach where you **divide** the problem into several smaller sub-problems of similar form, and keep doing so until the problems are trivially simple to solve (**conquer**)

Merge Sort Java

Merge sort is a recursive sorting algorithm that can be used to sort elements in an array or ArrayList.

Data Privacy Java

The appropriate use of data based on circumstances

Search Algorithm Java

A method to find a target in a data structure (e.g., linear, binary)