2.1.2

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:42 AM on 6/13/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

6 Terms

1
New cards

What is caching?

Instructions or data retrieved from secondary storage and placed into main memory. These remain there in case they are needed again before the program using them ends.

2
New cards

Why is caching useful?

Results in faster retrieval times, as it instructions or data don’t need to be fetched from secondary storage, which is much slower.

3
New cards

What is prefetching?

More advanced caching, involves data being requested from main memory by the processor before its actually required

4
New cards

What is needed for prefetching to work?

Clever algorithms need to be designed to predict- with a high degree of certainty- that an instruction or piece of data will be required soon

5
New cards

Negatives of caching

Nature of predictive logic means caching algorithms can be very complicated to implement.
Wrong data is often fetched and cached- and has to be removed, or flushed

6
New cards

What is an API

An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other. APIs enable the integration of data, services, and functionalities from various applications, making it easier for developers to build complex systems without starting from scratch

e.g. Facebook finding friends u already have