Unit 4: Variables, Conditionals, and Functions Flashcards

1
Q

expression

A

a combination of operators and values that evaluates to a single value

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

assignment operator

A

allows a program to change the value represented by a variable

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

variable

A

a named reference to a value that can be used repeatedly throughout a program.

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

string

A

ordered sequence of characters

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

Boolean value

A

a data type that is either true or false

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

comparison operators

A

<, >, <=, >=, ==, != indicate a Boolean expression

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

logical operator

A

NOT, AND, and OR, which evaluate to a Boolean value.

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

conditional statement

A

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

function

A

procedure. a named group of programming instructions.

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

function call

A

a command that executes the code within a function

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