Unit 8 Flashcards

1
Q

Input

A

Program input is data that are sent to a computer for processing by a program. Input 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 input data to a program.

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

Program functionality

A

The behavior of a program during execution and is often described by how a user interacts with it.

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

Output

A

Program output is any data that are sent from a program to a device. Program output can come in a variety of forms, such as tactile, audible, visual, movement, or text.

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

Purpose

A

The problem being solved or creative interest being pursued through the program.

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

Program Code Segment

A

A code segment refers to 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.

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

List

A

A list is an ordered sequence of elements. The use of lists allows multiple related items to be represented using a single variable. Lists are referred to by different terms, such as
arrays or arraylists, depending on the programming language.

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

Data has been stored in this list:

A

Input into the list can be through an initialization or through some computation on other variables or list elements.

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

Collection type

A

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.

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

List being used

A

Using a list means the program is creating new data from existing data or accessing multiple elements in the list.

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

Student-developed procedure / algorithm

A

Program code that is student developed has been written (individually or collaboratively) by the student who submitted the response. Calls to
existing program code or libraries can be included but are not considered student developed. Event handlers are built in abstractions in some languages and will therefore not be
considered student-developed. In some block-based programming languages, event handlers begin with “when.”

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

Procedure

A

A procedure is a named group of programming instructions that may have parameters and return values. Procedures are referred to by different names, such as method,
function, or constructor, depending on the programming language.

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

Parameter

A

A parameter is an input variable of a procedure. Explicit parameters are defined in the procedure header. Implicit parameters are those that are assigned in anticipation of a call
to the procedure. For example, an implicit parameter can be set through interaction with a graphical user interface.

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

Algorithm

A

An algorithm is a finite set of instructions that accomplish a specific task. Every algorithm can be constructed using combinations of sequencing, selection, and iteration.

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

Sequencing

A

The application of each step of an algorithm in the order in which the code statements are given.

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

Selection

A

Selection determines which parts of an algorithm are executed based on a condition being true or false. The use of try / exception statements is a form of selection statements.

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

Iteration

A

Iteration is a repetitive portion of an algorithm. Iteration repeats until a given condition is met or for a specified number of times. The use of recursion is a form of iteration.

17
Q

Argument(s)

A

The value(s) of the parameter(s) when a procedure is called.