CSP Unit 4

studied byStudied by 29 people
5.0(1)
get a hint
hint

function

1 / 14

Tags and Description

15 Terms

1

function

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

New cards
2

selection

determines which path a program takes when it is running

New cards
3

parameter

input variables of a procedure

New cards
4

argument

specify the values of the parameters when a procedure is called

New cards
5

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
6

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
7

conditional statement

statements that only run under certain conditions

New cards
8

boolean expression

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

New cards
9

boolean value

a single value of either TRUE or FALSE

New cards
10

Relational Operator

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

New cards
11

Assignment Operator

functions to change the value that is stored inside a variable

New cards
12

string

an ordered list of characters

New cards
13

expression

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

New cards
14

events

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

New cards
15

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

Explore top notes

note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26493 people
Updated ... ago
4.8 Stars(224)

Explore top flashcards

flashcards Flashcard74 terms
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard24 terms
studied byStudied by 27 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard36 terms
studied byStudied by 17 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard25 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard74 terms
studied byStudied by 24 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard38 terms
studied byStudied by 23 people
Updated ... ago
4.3 Stars(3)
flashcards Flashcard84 terms
studied byStudied by 35 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard68 terms
studied byStudied by 89 people
Updated ... ago
5.0 Stars(3)