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 (num = num + 5)

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

An 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

<, >, >=, <=, != which indicates 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, to evaluate a Boolean value

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

Conditional value

A

Affect the sequential flow of control by executing different statements based on the value of the Boolean expression

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

Function

A

A named group of programming instructions. AKA procedure

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