1/15
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Algorithm
A finite set of instructions that accomplish a specific task. Every __ can be constructed using combinations of sequencing, selection, and iteration.
Arguments
The values of the parameters when a procedure is called.
Code segment
A collection of program statements that are part of a program. For text-based, the collection of program statements should be continuous and within the same procedure. For block-based, the collection of program statements should be contained in the same starter block or what is referred to as a “Hat” block.
Collection type
Aggregates elements in a single structure. Some examples include: databases, hash tables, dictionaries, sets, or any other type that aggregates elements in a single structure.
Data stored in a list
Input into the list can be through an initialization or through some computation on other variables or list elements
Input
Data that are sent to a computer for processing by a program. Can come in a variety of forms, such as tactile (through touch), audible, visual, or text. An event is associated with an action and supplies __ data to a program.
Iteration
a repetitive portion of an algorithm. __ repeats until a given condition is met or for a specified number of times. The use of recursion is a form of _.
List
Ordered sequence of elements, allows multiple related items to be represented using a single variable. __ are referred to by different terms depending on the programming language.
List being used
the program is creating new data from existing data or accessing multiple elements in the list
Output
Any data that are sent from a program to a device. Can come in a variety of forms, such as tactile, audible, visual, movement, or text
Parameter
An input variable of a procedure. Explicit __ are defined in the procedure header. Implicit are those that are assigned in anticipation of a call to the procedure. For example, an implicit _ can be set through interaction with a graphical user interface.
Procedure:
Named group of programming instructions that may have parameters and return values. Referred to by different names, such as method, function, or constructor, depending on the programming language. Executing through call
Program functionality
Behavior of a program during execution, often described by how a user interacts with it.
Purpose
The problem being solved or creative interest being pursued through the program.
Selection/conditional statement
Affects the sequential flow of control by executing different statements based on true or false conditions. The use of if-statements and try / exception statements are examples of __
Sequencing
The application of each step of an algorithm in the order in which the code statements are given.