Mapa mental
SDD
Contenido del mapa
SDD
Error Types
- Syntax
- Error in writing the code
- Program will not run
- Execution
- Doing something illegal
- Program will crash
- Logic
- Incorrect mathematics
- Incorrect output
- Syntax
Pre-defined Functions
- Length
- Calculates length of string
- Round
- Rounds a float to decimal places
- Random
- Generates a random number
- Modulus
- Calculates remainder of a division sum
- Length
Subprograms
- Procedures and Functions
- Procedures
- Produce an effect, not a value
- Functions
- Produce a value
- Procedures
- Variables
- Parameters
- Formal parameters
- Used within subprogram
- Actual parameters
- Listed when the subprogram is called from within the main program
- Formal parameters
- Local and Global
- Local
- Scope: Within a subprogram
- Global
- Scope: Main Program
- Local
- Parameters
- Top-level algorithm
- Describes how data moves between subprograms
- Procedures and Functions
Testing
- Breakpoints
- Stops a program at a certain point to check variables are correct
- Dry run
- Following the variables on pen and paper through the program
- Test Table
- Track variable at different point in the program
- Watchpoints
- Stops the program when a variable changes to a certain value
- Breakpoints
Información
- Descripción
- Highers Computing Science Mapa Mental sobre SDD, creado por Conor Gibson el 06/09/2019.
- Creado por
- Conor Gibson
- Visitas
- 13
- Valoración