Programming

Programming fundamentals

Terms

7 terms

  • Exception

    An exception is an object or signal that interrupts normal program flow when an error occurs and transfers control to the nearest matching handler.

  • Function

    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…

  • Loop

    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.

  • Parameter

    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

    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.

  • Return value

    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.

  • Variable

    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.