1.1.6 - 1.1.8 Notes Flashcards

1
Q

part of a program that causes an error or undesired output

A

bug

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

process of figuring out why code doesn’t behave as expected and eliminating bugs to make it work as desired

A

debug

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

code executed in the order it appears in the code segment

A

sequentially

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

when a variable is given a value for the first time

A

initialize

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

a computer program that converts a higher-level language into a lower-level language and then executes it

A

interpret

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

strings that use ‘’’ ‘’’, can span multiple lines, used to temporarily deactivate code

A

block string

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

variable that store an integer with increasing/decreasing value

A

incrementing counter

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

repeating portion of an algorithm, repeats until a given condition is met

A

iteration

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

an ordered collection of items or values

A

list

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

a value with the list that is assigned a unique index

A

element

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

to remove an item from a list

A

pop

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

to add on an item to the end of a list

A

append

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

in each iteration step, a variable is set to a value in a sequence or other data collection

A

loop variable

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

a comparison, usually in a while or if statement that evaluates a Boolean expression to true or false

A

conditional

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

a feature of a programming language that performs different computations or actions depending on whether a Boolean expression is true or false

A

conditional statement

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

when parts of an algorithm are executed based on a condition being true/false

A

selection