Vocab
Code
Debugging
Visual Cues
100

variable

a reference to a value or expression that can be used repeatedly throughout the program

100

global variables

permanent, can be used anywhere in your code

100

debugging

process of finding errors and fixing them

100

what are watchers main purpose?

to keep track of a variables change in value

200

expression

combination of operators and values

200

local variable

temporary, can be used only in the part of the code where it was created

200

what do warnings and errors indicate?

syntax errors

200

define the meaning

(x^2-9x+18)!=(6x^3-19x^2+16x-4/x-2)

the expressions are NOT equal to each other

300

boolean value

data type that is either true or false question

300

function

a named group of programming instructions

300
consider the following

age=16

time=8

what is time-age?

time-age=-8

300

using a variable that doesn't exist is an example of...

syntax error

400

syntax error

code doesn’t follow the rules of the programming language

400

function call

a command that executes the code within a function

400

why are local variables avoided?

declaring another variable of the same name locally will make the code confusing and cause unexpected behavior in your code

400

name all 3 logical operators

AND (&&), OR (||), NOT (!=)

500

logic error

code follows the rules of the programming language but doesn’t do what you intend

500

variable scope

dictates what portions of the code can "see" or use a variable

500

after fixing a bug, what should you do?

document error and how it was fixed

500

name all 6 comparison operators

greater than (>), less than (<), greater than or equal to (>=), less than or equal to (<=), equal (==), not equal (!=)

M
e
n
u