1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
A named block of code that performs a specific task and can be called (invoked) from anywhere in a program by its name. Also called a function, method, or subroutine
Procedure (Function)
A variable in a procedure definition that receives a value when the procedure is called
Parameter
The actual value passed into a procedure when it is called. Arguments are matched to parameters in order
Argument
A value that a procedure sends back to the calling code after completing its task, using the RETURN statement
Return Value
Using a procedure name to represent a complex sequence of steps so the caller does not need to know the internal details — only what the procedure does and what arguments it needs
Procedural Abstraction
When a procedure calls itself as part of its own execution. Must have a base case to eventually stop
Recursion