Unit 4 Flashcards

You may prefer our related Brainscape-certified 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

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

<, >, <=, >=, ==, != 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

affects 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

a named group of programming instructions. Also referred to as a “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