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 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 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, (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

named group of programming instructions (procedures)

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