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)

CSCE 3600 EXAM QUESTIONS AND ANSWERS LATEST UPDATE (ALREADY GRADED A+)

Beoordeling
-
Verkocht
-
Pagina's
10
Cijfer
A+
Geüpload op
20-02-2025
Geschreven in
2024/2025

CSCE 3600 EXAM QUESTIONS AND ANSWERS LATEST UPDATE (ALREADY GRADED A+) Compaction -Reduce external fragmentation -Shuffle memory contents to place all free memory together in one large block Best Fit -Keep linked list of free blocks -Search he whole list on each allocation -Choose block that comes closest to matching the needs of allocation -Save excess for later -Merge adjacent free blocks during release operation First Fit -Keep linked list of free blocks -Scan the list for the first block that comes closest to matching the needs of allocation -Merge adjacent free blocks during release operation Optimal Page Replacement Replace the page that will not be reference for the longest time. Gives the lowest possible fault rate but is impossible to implement. First-In, First-Out (FIFO) The oldest page in physical memory is the one selected for replacement. Poorest replacement policy Worst Fit -Keep linked list of free blocks -Search the whole list on each allocation -Choose block that worst matches the request -Save excess for later -Merge adjacent free blocks during release operation Next Fit -Keep linked list of free blocks -Start where the last search left off -Scan the list for the first block that comes closest to matching the needs of allocation -Merge adjacent free blocks during release opertion Overlays Programmer breaking code into pieces that fit into RAM. These pieces, called overlays, are loaded and unloaded by the program Page Table Table that holds VA - PA translations (Virtual address to physical address) Thrashing a process is busy swapping pages in and out. Causes : not having enough pages. Effects: Low CPU utilization, operating system thinking that it needs to increase the degree of multiprogramming, or adding another process to the system A parser will NOT check to see that the input is semantically correct Child processes canNOT change variables in its parent process new processes are created by the fork() system call exec() is.. a functionality of an operating system that runs an executable file in the context of an already existing process, replacing the previous executable Two UNIX/Linux processes may simultaneously have open file descriptors that... refer to the same open file description INET domain sockets can only send messages to... a different machine The UNIX/Linux OS does NOT allow multiple processes per thread A function is said to be thread-safe if.. it can be called from multiple threads without unwanted interation between the threads For a given mutex, if 1+ threads are blocked on a call to pthread_mutex_lock() and the thread that is holding the lock calls pthread_mutex_unlock().. exactly one of the unblocked threads will be unblocked and thus able to lock the mutex pthread_exit is a Pthead function that terminates the calling thread and makes the value (value_ptr) available to any successful join with the terminting thread When programming via threads, a ________ would give each thread it's own unique copy stack An application that allows two different machines to communicate using a socket requires.. one of the machines to implement a server sockets an the other a client socket

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

CSCE 3600 EXAM QUESTIONS AND ANSWERS
LATEST UPDATE (ALREADY GRADED A+)
Compaction

-Reduce external fragmentation
-Shuffle memory contents to place all free memory together in one large block

Best Fit

-Keep linked list of free blocks
-Search he whole list on each allocation
-Choose block that comes closest to matching the needs of allocation
-Save excess for later
-Merge adjacent free blocks during release operation

First Fit

-Keep linked list of free blocks
-Scan the list for the first block that comes closest to matching the needs of allocation
-Merge adjacent free blocks during release operation

Optimal Page Replacement

Replace the page that will not be reference for the longest time. Gives the lowest possible fault rate but
is impossible to implement.

First-In, First-Out (FIFO)

The oldest page in physical memory is the one selected for replacement. Poorest replacement policy

Worst Fit

-Keep linked list of free blocks
-Search the whole list on each allocation
-Choose block that worst matches the request
-Save excess for later
-Merge adjacent free blocks during release operation

Next Fit

-Keep linked list of free blocks
-Start where the last search left off
-Scan the list for the first block that comes closest to matching the needs of allocation
-Merge adjacent free blocks during release opertion

Overlays

, Programmer breaking code into pieces that fit into RAM. These pieces, called overlays, are loaded and
unloaded by the program

Page Table

Table that holds VA -> PA translations (Virtual address to physical address)

Thrashing

a process is busy swapping pages in and out. Causes : not having enough pages. Effects: Low CPU
utilization, operating system thinking that it needs to increase the degree of multiprogramming, or
adding another process to the system

A parser will NOT check to see that the input is semantically correct

Child processes canNOT change variables in its parent process

new processes are created by the fork() system call

exec() is..

a functionality of an operating system that runs an executable file in the context of an already existing
process, replacing the previous executable

Two UNIX/Linux processes may simultaneously have open file descriptors that...

refer to the same open file description

INET domain sockets can only send messages to...

a different machine

The UNIX/Linux OS does NOT allow multiple processes per thread

A function is said to be thread-safe if..

it can be called from multiple threads without unwanted interation between the threads

For a given mutex, if 1+ threads are blocked on a call to pthread_mutex_lock() and the thread that is
holding the lock calls pthread_mutex_unlock()..

exactly one of the unblocked threads will be unblocked and thus able to lock the mutex

pthread_exit is

a Pthead function that terminates the calling thread and makes the value (value_ptr) available to any
successful join with the terminting thread

When programming via threads, a ________ would give each thread it's own unique copy

stack

An application that allows two different machines to communicate using a socket requires..

one of the machines to implement a server sockets an the other a client socket

Geschreven voor

Vak

Documentinformatie

Geüpload op
20 februari 2025
Aantal pagina's
10
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.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


Ook beschikbaar in voordeelbundel

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.
SOLUTIONSCORE School of Pharmacy
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
13
Lid sinds
1 jaar
Aantal volgers
4
Documenten
1742
Laatst verkocht
5 maanden geleden
SOLUTIONSCORE

I Focus on creating high-quality, well-organized documents that accurately reflect the course content. I'm passionate about helping others succeed in their studies, and I create comprehensive summaries, study guides,Questions and answers and flashcards based on my class notes and lectures. My materials are designed to be clear, concise, and effective, so you can focus on understanding the material and ace your exams! Feel free to message me if you have any questions.

Lees meer Lees minder
4.9

295 beoordelingen

5
268
4
26
3
1
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