CSP Unit 4

studied byStudied by 28 People
5.0(1)
get a hint
hint

function

1/15

Tags & Description

Studying Progress

New cards
15
Still learning
0
Almost done
0
Mastered
0
15 Terms
New cards

function

takes inputs and runs code using those inputs named groupings of programming instructions.

New cards
New cards

selection

determines which path a program takes when it is running

New cards
New cards

parameter

input variables of a procedure

New cards
New cards

argument

specify the values of the parameters when a procedure is called

New cards
New cards

global variable

A variable whose scope is "global" to the program, it can be used and updated by any part of the code. Its global scope is typically derived from the variable being declared (created) outside of any function, object, or method

New cards
New cards

local variable

A variable with local scope is one that can only be seen, used and updated by code within the same scope. Typically this means the variable was declared (created) inside a function -- includes function parameter variables.

New cards
New cards

conditional statement

statements that only run under certain conditions

New cards
New cards

boolean expression

in programming, an expression that evaluates to True or False.

New cards
New cards

boolean value

a single value of either TRUE or FALSE

New cards
New cards

Relational Operator

used to test the relationship between two variables, expressions, or values

New cards
New cards

Assignment Operator

functions to change the value that is stored inside a variable

New cards
New cards

string

an ordered list of characters

New cards
New cards

expression

can consist of a value, a variable, an operator, or a procedure call that returns a value

New cards
New cards

events

associated with an action and supplies input data to a program.

New cards
New cards

function call

a call that passes control to a subroutine; after the subroutine is executed control returns to the next instruction in main program

the piece of code that you add to a program to indicate that the program should run the code inside a function at a certain time

New cards