Subroutines

Descripción

Be familiar with subroutines and their uses. Know that a subroutine is a named ‘out of line’ block of code that may be executed (called) by simply writing its name in a program statement. Be able to describe the use of parameters to pass data within programs. Be able to use subroutines with interfaces Be able to use subroutines that return values to the calling routine. Know that subroutines may declare their own variables, called local variables.
Daniel Smillie
Fichas por Daniel Smillie, actualizado hace más de 1 año
Daniel Smillie
Creado por Daniel Smillie hace casi 7 años
9
0

Resumen del Recurso

Pregunta Respuesta
Subroutine A block of named code designed to carry out a specific task.
Function A subroutine that returns a value.
Built-in Function and Libraries Programming language come with many built-in functions which perform common tasks. E.g. sqrt, len, asc, chr, round
Parameter Identifies data being passed into a subroutine
Argument An item of data being passed into a subroutine
Local Variable A variable that is only available in specific subroutines and functions
Global Variable A variable that is available anywhere in the program
Mostrar resumen completo Ocultar resumen completo

Similar

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Iteration
Daniel Smillie
File Handling & Exceptions
Daniel Smillie
Selection
Daniel Smillie