100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
COP 4600 - FINAL EXAM QUESTIONS AND 100% CORRECT ANSWERS LATEST UPDATE €13,72   In winkelwagen

Tentamen (uitwerkingen)

COP 4600 - FINAL EXAM QUESTIONS AND 100% CORRECT ANSWERS LATEST UPDATE

 5 keer bekeken  0 keer verkocht
  • Vak
  • COP 4600
  • Instelling
  • COP 4600

COP 4600 - FINAL EXAM QUESTIONS AND 100% CORRECT ANSWERS LATEST UPDATE...

Voorbeeld 3 van de 30  pagina's

  • 18 november 2024
  • 30
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • COP 4600
  • COP 4600
avatar-seller
COP 4600 - FINAL EXAM QUESTIONS AND 100% CORRECT
ANSWERS LATEST UPDATE


What is a path? - ANSWER A path is a sequence of directories used to reference a file.
They can be relative or absolute.



Why do we need file systems? - ANSWER 1. Locate free storage space

2. Store information in a persistent way (survives process termination)

3. Allow more than one process to access the information store concurrently

4. Find information by human-accessible identifiers

5. Protect data from unauthorized use

6. Identifying types of data stored and programs that can read the data



How are directories implemented? - ANSWER Directories can be implemented in-line or
via reference -> Variable attribute/name size



Why do we mount filesystems? - ANSWER We mount a file system to make it accessible
to programs through the operating system.



Problems with mounting file system? -ANSWER Where would the root of the file system
appear to the user?



How should the various device be presented to the user?

When accessing file system on a device, we must know? - ANSWER boot block,
Filesystem type/organization (super block), and where is the root directory



What does the file system superblock contain? - ANS The file system superblock
maintains data about its type, format, and organization

,What happens because you have issued a mounting call in Unix - ANS Copies
Superblock from disk to be mounted to the superblock table in main memory.

Sets pointers in the directory inode to FS mounted

What are the techniques/strategies for file allocation? - ANS 1. Contiguous
allocation-all-in-a-row

2. Linked list allocation(block)

3. Chained table allocation(FAT)

4. Indexed allocation(index nodes)

5. Chained indexed allocation(index + linked list)

6. Multi-level indexed allocation(tree structure)



Hardware is an abstraction that provides primarily two things- ANSWER 1. Read block
at index "k"

2. Write block at index "k"

3. Allocate and Deallocate



Contiguous allocation- ANSWER DEFINITION: The contents of a file are stored purely in
order on the drive

CONS: Suffers from external fragmentation, because it is a contiguous approach of
system memory



Linked List Allocation - ANSWER DEFINITION: Each block contains a pointer to the next.
Requires iteration through drive blocks-drive accesses-for random access

CONS: Problematic in large files; App has to iterate through each node.



Chained Table Allocation- ANSWER DEFINITION: Chain store the linked list as a table in
memory to minimize disk access. It is called a File Allocation Table FAT



Indexed Allocation - ANSWER DEFINITION: Indexed allocation stores locations of each

, block in an index block referenced by the file control block

CONS: A pure index system limits file size



Multi-level Indexed Allocation - ANSWER Use direct and indirect blocks to increase
maximum file size



Chained Indexed Allocation - ANSWER Direct blocks with an additional indirect pointer



What are Inodes? - ANSWER 1. Index Nodes

2. Store file block information, along with some block pointers - but are usually smaller
(128B or 256B



(T/F) Does a bigger block size have a better data rate? - ANSWER True



T/F A bigger the block size implies a good disk space utilization. - ANSWER False



What about if it has a worse disk space utilization? - ANSWER Internal Fragmentation



T/F A smaller block size therefore a better data rate - ANSWER False, lower data rate



T/F A smaller block size therefore good disk space utilization - ANSWER True



MS-DOS File System - ANSWER 1. Maximum partition size for different block sizes.

2. The blank boxes are the forbidden combinations.



How would you keep track of a free block? - ANSWER (a) Store free list on a linked list

(b) A bitmap

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper Easton. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €13,72. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 67096 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€13,72
  • (0)
  Kopen