Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Unit 2 PHP Decisions

Functions and control structures for PHP

QuestionAnswer
parameter a variable that is passed to a function when it is called, and placed within the parentheses that follow the function name
Function a groups of statements executed as a single unit
Function definition the lines of code that make up a function
Function braces the set of curly braces containing the function statements
return statement returns a value to the statement that called the function.
NULL no value
By value A function parameter that is passed using a local copy of the variable
By reference A function parameter that is passed using reference to the original variable
global variable a variable declared outside a function and is available to all parts of your program
local variable variable declared inside a function and is only available within the function in which it is declared
Selection logical structure used to execute specific programming code if the evaluation of a conditional expression returns a value of TRUE (or FALSE)
command block a group of statements contained within a set of braces
nesting when one decision
switch selection structure which controls program flow and decision making by executing a specific set of statements depending on the value of an expression
case label a specific value that, when it matches the switch statement, expression will execute the statements within the case
default label contains statements that execute when the value returned by the switch statement expression does not match a case label
loop a logical control structure that repeatedly executes a statement or a series of statements
definite loop loop that will repeat the code for a set number of times
indefinite loop loop that will repeat while a specific condition is TRUE or until a specific condition becomes TRUE
iteration each repetition of a looping statement
counter a variable that increments or decrements with each iteration of a loop statement
infinite loop a loop statement that never ends because its conditional expression is never FALSE
Created by: melissagoodall
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards