UNIT 4 VOCAB Flashcards

covers all vocab that was taught in U4

1
Q

A reference to a value (or value that results from evaluating an expression) that can be used repeatedly throughout a program.

A

Variable

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

a combination of values that evalutes to a single value

A

Expression

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

what icon allows a program to change the value of a variable (ex: var _ 5 to var _ 7) what to put in between var and 5?

A

Assignment Operator

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

a data type that is either true of false

A

Boolean Value

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

evaluates to either true or false

A

Boolean Expression

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

<, >, <=, >=, ==, !=

A

Comparison Operators

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

&&, ||, ! (AND, OR, NOT). Both sides of the LOGICAL operator are reduced to a single Boolean value

A

Logical Operators

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

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

A

Conditional Statement

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

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

A

Logical Operator

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

a named group of programming instructions. Also referred to as a “procedure”.

A

Function

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

a command that executes the code within a FUNCTION

A

Function Call

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

global variables

A

permanent and can be used anywhere in code

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

local variables

A

temporary and can be used only in a certain part of code (ex: onEvent)

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

what is the difference between numbers and strings

A

strings= made of characters (abc)
numbers= made or digits (123)

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

syntax error

A

code doesn’t follow the rules of programming language

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

logic error

A

code follows rules but doesn’t do what intended to do