SLR19 Flashcards
(12 cards)
What is thinking ahead
The process of looking at a project as a whole
How can thinking ahead help us
It can minimise errors and improve code efficiency
Why should code be reused when possible
- Shortens development time
- Saves system resources
- Lowers development cost
- Reduces redundant code
What is term used to describe code that is pre-compiled and pre-tested
Library’s
Library’s and sub-routines similar. What is one difference
They are the same except you make sub-routines yourself
What is the use of thinking ahead in coding
It minimises errors and increases code efficiency
What are pre-conditions
The conditions the exist and could affect how you devise a solution to a problem
What are the benefits of coping code (4)
- Shortens development time
- Saves system resources
- Lowers development cost
- Reduces redundant code
What is the term used to describe code that has been pre-tested and pre-compiled
Library’s
Library’s and sub-routines are very similar. What is one difference
You make subroutines yourself
What does caching do
It allows the computer to think ahead by bringing data into main memory / RAM and stays there till the action is complete
What is a drawback of caching
If the wrong data is fetched it needs to be flushed out of the system this could decrease efficiency