Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Computer Systems Final Exam Questions All Solved Correct Update.

Beoordeling
-
Verkocht
-
Pagina's
12
Cijfer
A+
Geüpload op
31-10-2025
Geschreven in
2025/2026

what is a cache - Answer a hardware device that holds copies of data that are a subset of a larger collection of data provides faster access to data cache hit and cache miss - Answer cache hit -- you retureve the datum from the cache cache miss --- if the datum is not in this cache, it retrieves the requested datum along with the rest of the data surrounding it what is a block - Answer The bunch of data that the cache fetches together blocks have a uniform size determined by the cache eviction policy - Answer When the cache responds to a cache miss by retrieving the new block containing the requested datum, where does it store the new block? •If the cache has empty space, it stores the block there. •If the cache is full, however, it must replace an existing block with the new one. •It must choose a "victim" block to replace—or "evict." Internal Structure of a cache what are the three components of a row in a set - Answer The cache has a number of sets -- S (2^s for some integer s) Each set has one or more sections called lines (L) -- 2^l for some integer l Each line contained a block of memory storage of some uniform size B -- B = 2^b for some integer b

Meer zien Lees minder
Instelling
Computer Systems
Vak
Computer Systems

Voorbeeld van de inhoud

Computer Systems Final Exam
Questions All Solved Correct 2025-
2026 Update.
what is a cache - Answer a hardware device that holds copies of data that are a subset of a
larger collection of data



provides faster access to data



cache hit and cache miss - Answer cache hit --> you retureve the datum from the cache



cache miss ---> if the datum is not in this cache, it retrieves the requested datum along with the
rest of the data surrounding it



what is a block - Answer The bunch of data that the cache fetches together



blocks have a uniform size determined by the cache



eviction policy - Answer When the cache responds to a cache miss by retrieving the new block
containing the requested datum, where does it store the new block?



•If the cache has empty space, it stores the block there.



•If the cache is full, however, it must replace an existing block with the new one.



•It must choose a "victim" block to replace—or "evict."



Internal Structure of a cache



what are the three components of a row in a set - Answer The cache has a number of sets -->
S (2^s for some integer s)

, Each line has a valid bit which indicates whether the data is valid



Each line has some number t of tag bits, which are used to find the right cache line within the
set for a requested datum.



when is the valid bit set to 0 or 1 - Answer when the block is evicted to make more room, the
valid bit is set to 0



when the data is retrieved it is set to 1



Capacity of the cache - Answer C = S × L × B



Sets * Lines * Blocks



How to index into a cache - Answer First figure out how many bits you need to represent the
set index and block index. Ex. 256 sets = 8 bits --> BE CAREFUL this is one less than 256 binary
becasue you count 0



then do this --> number of bits for set + number of bits for block = X



grab the rightmost X bits



grab the leftmost S bits and find the number --> this is the ROW number, BE CAREFUL the rows
start with 0



grab the rest of the bits as B and find the number --> this is the COLUMN number, BE CAREFUL
the columns start with 0



based on the systems word size or w-bit system, start with that row, column and grab more to
the right if needed



ex. 16 bit system and the row/column you got with the address has 8 bits in it, grab the next

block to the right also

Geschreven voor

Instelling
Computer Systems
Vak
Computer Systems

Documentinformatie

Geüpload op
31 oktober 2025
Aantal pagina's
12
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
$13.79
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kan je een ander document kiezen. Je kan het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Thumbnail
Voordeelbundel
CS 1104 COMPUTER SYSTEMS EXAM BUNDLE 2025-2026 GRADED A+
-
4 2025
$ 32.89 Meer info

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
TestSolver9 Webster University
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
939
Lid sinds
2 jaar
Aantal volgers
127
Documenten
29899
Laatst verkocht
2 dagen geleden
TESTSOLVER9 STORE

TOPNOTCH IN LEARNING MATERIALS,(EXAMS,STUDYGUIDES NOTES ,REVIEWS,FLASHCARDS ,ALL SOLVED AND PACKAGED.OUR STORE MAKE YOUR EDUCATION JOURNEY EFFICIENT AND EASY.WE ARE HERE FOR YOU FEEL FREE TO REACH US OUT .

3.5

162 beoordelingen

5
68
4
20
3
29
2
16
1
29

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen