Unit 4 Flashcards

(10 cards)

1
Q

What is an 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
2
Q

What is an 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
3
Q

What is a String?

A

An ordered sequence of characters.

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

What is a 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
5
Q

What is a 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

What are Comparison Operators?

A

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

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

What are Logical Operators?

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

What is a 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

What is a 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

What is a 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