SDD - Evaluation Flashcards
1
Q
When is a program fit for purpose
A
if it meets the requirements specification set out during the analysis phase
2
Q
what does efficient code do
A
uses less resoures (processor, RAM) and execute more quickly
3
Q
Code can be made more efficent by:
A
using repeat loops wherever possible
using if statements that will exit when the selection conditon has been met
using complex conditions instead of simple conditions
using arrays instead of multiple variables
4
Q
when is a program robust
A
if it can handle a range of different inputs without crashing
5
Q
A program can be made more readale by using the following techniques
A
internal commentary
meaningful variable names
indentation
white space