登录

Structured Programming

Structed programming

  • Define and use a procedure

    • A procedure may have none, one or more parameters

    • A parameter can be passed by reference or by value

  • Explain where in the construction of an algorithm it would be appropriate to use a procedure

  • Use parameters

  • Define and use a function

    • A function is used in an expression, e.g. the return value replaces the call

  • Explain where in the construction of an algorithm it is appropriate to use a function

  • Use the terminology associated with procedures and functions

    • including Procedure / function header, procedure / function interface, parameter, argument, return value

  • Write efficient pseudocode

登录