SLR19 Flashcards

(12 cards)

1
Q

What is thinking ahead

A

The process of looking at a project as a whole

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can thinking ahead help us

A

It can minimise errors and improve code efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why should code be reused when possible

A
  1. Shortens development time
  2. Saves system resources
  3. Lowers development cost
  4. Reduces redundant code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is term used to describe code that is pre-compiled and pre-tested

A

Library’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Library’s and sub-routines similar. What is one difference

A

They are the same except you make sub-routines yourself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the use of thinking ahead in coding

A

It minimises errors and increases code efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are pre-conditions

A

The conditions the exist and could affect how you devise a solution to a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the benefits of coping code (4)

A
  1. Shortens development time
  2. Saves system resources
  3. Lowers development cost
  4. Reduces redundant code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the term used to describe code that has been pre-tested and pre-compiled

A

Library’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Library’s and sub-routines are very similar. What is one difference

A

You make subroutines yourself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does caching do

A

It allows the computer to think ahead by bringing data into main memory / RAM and stays there till the action is complete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a drawback of caching

A

If the wrong data is fetched it needs to be flushed out of the system this could decrease efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly