null
US
Iniciar Sesión
Regístrate Gratis
Registro
Hemos detectado que no tienes habilitado Javascript en tu navegador. La naturaleza dinámica de nuestro sitio requiere que Javascript esté habilitado para un funcionamiento adecuado. Por favor lee nuestros
términos y condiciones
para más información.
Siguiente
Copiar y Editar
¡Debes iniciar sesión para completar esta acción!
Regístrate gratis
707218
3.2.5 - Writing Maintainable Programs
Descripción
A Level (F452) Computing Mapa Mental sobre 3.2.5 - Writing Maintainable Programs, creado por AndrewZV el 02/04/2014.
Sin etiquetas
computing
f452
computing
f452
a level
Mapa Mental por
AndrewZV
, actualizado hace más de 1 año
Más
Menos
Creado por
AndrewZV
hace más de 10 años
50
2
0
Resumen del Recurso
3.2.5 - Writing Maintainable Programs
Key Terms
Variable
Name associated with a particular memory location used to store data.
By using the variable name, the programmer can:
Store data
Retrieve data
Manipulate data
The value of the data is not know when the program is written.
Scope
Local variable
Declared and used inside:
Modules
Functions
Procedures
Subroutines
Only available inside their specified module, procedure etc...
Created when the subroutine is called.
Destroyed when the subroutine exits.
Global variable
Declared at the beginning of the code.
Available throughout the code.
Can change while the program is running.
Constant
A data item with a fixed value.
Assigned to a variable that cannot be changed when the program is executed.
Identifier
A name representing an object within a program.
Variables
Functions
Procedures
Data Types
Given meaningful names.
Reserved Word / Keyword
Vocabulary of a programming language.
Variables or other identifiers cannot use keywords.
Can only have the meaning which is defined in the language.
Coding Practices
Modularisation
Series of small routines.
Can quickly be seen to be performing one function.
Complex operations should be broken up into subroutines.
Defined separately and called from the main program.
Easier way to achieve if the program has been designed using top-down techniques.
Commenting Code
Comments are read by the programmer and ignored by the computer.
Should be written while the code is written and not after.
Comments should be used for:
Program headers
Subroutines
Declaring variables
Inline comments
Indentation
Improves readability.
Mostrar resumen completo
Ocultar resumen completo
¿Quieres crear tus propios
Mapas Mentales
gratis
con GoConqr?
Más información
.
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
3.2.6 - Testing and Running a Solution
AndrewZV
Computing Hardware - CPU and Memory
ollietablet123
Computer Systems
lisawinkler10
Computer science quiz
Ryan Barton
Explorar la Librería