AP CSP

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

#computerscien

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Algorithm

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

2
New cards

Arguments

The values of the parameters when a procedure is called.

3
New cards

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.

4
New cards

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.

5
New cards

Data stored in a list

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

6
New cards

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.

7
New cards

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 _.

8
New cards

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.

9
New cards

List being used

the program is creating new data from existing data or accessing multiple elements in the list

10
New cards

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

11
New cards

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.

12
New cards

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

13
New cards

Program functionality

Behavior of a program during execution, often described by how a user interacts with it.

14
New cards

Purpose

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

15
New cards

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 __

16
New cards

Sequencing

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