SLR18, SLR19, SLR20, SLR21

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

12 Terms

1
New cards

Abstraction

Process of separating ideas from reality. hiding unnecessary details and showing details important in context

2
New cards

The need for abstraction in programs

  • ↓ processing requirements

  • ↓ memory requirements

  • ↓ complexity

  • Simplify programming

  • Without it its difficult & confusing to display certain features


3
New cards

Need for thinking ahead

  • Maximise code efficiency

  • Minimise errors


4
New cards

Preconditions

Conditions that already exist and could affect how you devise solution to problem

5
New cards

Benefits of reusable code

  • Reduce dev time & cost

  • Save system resources

  • Reduce redundant code


6
New cards

Advantages of using software libraries

  • Routine already compiled - tested & error free

  • Save work for programmer

  • May be used multiple times

  • Allow use other programmers expertise

  • May require fewer devs


7
New cards

External reuse

Selling component to 3rd party

8
New cards

Top-down modular design using structure diagrams

  • Can break down problem into top-down modular design using stepwise refinement

  • Using top-down design, task is split into smaller sub-tasks

  • End up with sub-task that performs single function/task

  • Lowest level sub-task assigned to individual programmers/small teams


9
New cards

Benefits of subprograms

  • Written once, called multiple times

  • Can reuse in other programs

  • Can be tested and modified individually

  • Breaks program into sections

  • Reduces repeating/redundant code


<ul><li><p>Written once, called multiple times</p></li><li><p>Can reuse in other programs</p></li><li><p>Can be tested and modified individually</p></li><li><p>Breaks program into sections</p></li><li><p>Reduces repeating/redundant code</p></li></ul><p></p>
10
New cards

Caching

Instructions/data retrieved from secondary storage & placed into main memory, remaining there in case they are needed

11
New cards

Caching benefits

  • Used by web pages to reduce number or requests from client to web server and visa versa

  • Overall caching increases speed and efficiency


12
New cards

Caching drawbacks

  • Difficult to implement due to nature of predictive logic

  • Wrong data often fetched

  • Maintaining correct sequence of instructions & data items in these circumstances can be problematic