¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Programming Techniques - created from Mind Map

Alex Chapman Computing A Inglés 1 página

Contenido del apunte (1)

Página 1

Stepwise Refinement

Return Types

Scope Of Variables

Stacks

Problem broken into sections which become progressively smaller until each section can be written as a single procedure/represents one step in the algorithm

Advantages

Each end node of a top down design tree can be written as an individual function or procedure,

Easier to develop

Functions

Procedures

Functions are individual blocks of code which are run when called.

Can have input parameters. Global variables can be passed in and used locally.

Individual blocks of code which perform a specific funciton.

Has input parameters

When called, a procedure will always return a value.

Local

Global

Declared within a subroutine

Can only be used within the subroutine where they were declared.

Efficient. Releases memory when containing subroutine has run.

Declared at start of program

May be used directly anywhere in code

Can pass into subroutine as a parameter

Creates a copy of data in local variable, keeping global value intact.

First In Last Out

Información

Descripción
A Computing Apunte sobre Programming Techniques - created from Mind Map, creado por Alex Chapman el 05/05/2016.
Creado por
Alex Chapman
Visitas
0
Historial
  • Creado por Alex Chapman · 5 may 2016
  • Copiado a Apunte por Alex Chapman · 5 may 2016
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?