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)

CS5260 Test 1 Questions and Answers

Beoordeling
-
Verkocht
-
Pagina's
12
Cijfer
A+
Geüpload op
14-12-2024
Geschreven in
2024/2025

CS5260 Test 1 Questions and Answers Describe main memory ** Answer** Main memory consists of a collection of locations, each of which is capable of storing both instructions and data. Every location has an address and the locations contents. The address is used to access the location, and the contents of the location is the instruction or data stored in the location. Describe five main parts of a CPU ** Answer** Control Unit, Data Path, Interconnect(Busses), Program Counter, Registers.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

CS5260 Test 1 Questions and Answers



Describe main memory ** Answer** Main memory consists of a collection of locations,

each of which is capable of storing both instructions and data. Every location has an address and

the locations contents. The address is used to access the location, and the contents of the location

is the instruction or data stored in the location.



Describe five main parts of a CPU ** Answer** Control Unit, Data Path,

Interconnect(Busses), Program Counter, Registers.



Define what a process is and describe five components ** Answer** An instance of a

computer program that is being executed.



- The executable machine language program.

- A block of memory, which will include the executable code, a call stack that keeps track of

active functions, a heap that can be used for memory explicitly allocated by the user program,

and some other memory locations.

- Descriptors of resources that the operating system has allocated to the process, for example, file

descriptors.

- Security information--for example information specifying which hardware and software

resources the process can access.

, - Information about the state of the process, such as whether the process is ready to run or is

waiting on some resource, the content of the registers, and information about the process's

memory.



What is threading, and how does it work? ** Answer** Threading provides a mechanism for

programmers to divide their program into more or less independent tasks, with the property that

when one thread is blocked, another thread can be run. Threads are contained within processes,

so they use the same executable, and they usually share the same memory and I/O devices. They

have their own program counters and call stacks. If a process is the "master" thread of execution

and threads are started and stopped by the process, then we can envision the process and its

threads as lines: when a thread is started, it forks off the process; when a thread terminates, it

joins the process.



Define cache; what is its function? ** Answer** A cache is a collection of memory locations

that can be accessed in less time than some other memory locations.



Its function is to reduce the time needed to access data.



Define two principles of locality. ** Answer** Spatial Locality - A program will access a

nearby location.

Temporal Locality - In the near future.



What are levels of cache from faster to slower? ** Answer** L1, L2, L3.

Geschreven voor

Vak

Documentinformatie

Geüpload op
14 december 2024
Aantal pagina's
12
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$9.49
Krijg toegang tot het volledige document:

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

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.
smartchoices Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
36
Lid sinds
5 jaar
Aantal volgers
5
Documenten
4499
Laatst verkocht
3 weken geleden

4.8

9 beoordelingen

5
7
4
2
3
0
2
0
1
0

Recent door jou bekeken

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 iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus 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