7 terms
An exception is an object or signal that interrupts normal program flow when an error occurs and transfers control to the nearest matching handler.
A function in programming is a named, reusable block of code that takes parameters, performs a task and usually returns a value to the code that…
A loop is a control structure in programming that repeats a block of code while a condition holds or once for each element of a collection.
A parameter in programming is a named variable in a function definition that receives a value, called an argument, each time the function is called.
Recursion is a programming technique in which a function solves a problem by calling itself on smaller instances until it reaches a simple base case.
A return value is the result a function hands back to its caller when it finishes, a core programming idea for passing computed data between code.
A variable in programming is a named reference to a value stored in memory, defined by its name, type, scope and lifetime within a program.