Unit 2 vocab Flashcards

(19 cards)

1
Q

pair programming

A

a common model of programming that facilitates collaboration

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

program

A

a collection of program statements that performs a specific task when run by a computer. Often referred to as software.

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

code segment

A

a collection of program statements that are part of a program

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

behavior of a program

A

how a program functions during execution; often described by how a user interacts with it.

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

event

A

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
6
Q

program documentation

A

a written description of the function of a code segment, event, procedure, or program and how it was developed

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

comments

A

a form of program documentation written into the program to be read by people and do not affect how a program runs

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

iterative development process

A

a development process that requires refinement and revision based on feedback, testing, or reflection throughout the process

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

incremental development process

A

a development process that breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole

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

program inputs

A

data sent to a computer for processing by a program. Input can come in a variety of forms, such as tactile, audio, visual, or text

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

variable

A

an abstraction inside a program that can hold a value; each one has associated data storage that represents ONE value at a time, but that value can be a list or other collection that in turn contains multiple values

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

conditional statements (if statements)

A

code statements that affect the sequential flow of control by executing different statements based on the value of a Boolean expression

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

Boolean value

A

either true or false

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

nested conditional statements

A

consist of conditional statements within conditional statements

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

iteration statements

A

code statements that change the sequential flow of control by repeating a set of statements zero or more times, until a stopping condition is met

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

procedure

A

a named group of programming instructions that may have parameters and return values

17
Q

parameters

A

input variables of a procedure

18
Q

arguments

A

specify the values of the parameters when a procedure is called

19
Q

program outputs

A

any data sent from a program to a device; can come in a variety of forms, such as tactile, audio, visual, or text