Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

???????????? Question 1: System Calls (3 marks =1+1+1) 1. Give a brief definition of Application Programming Interface (API). 2. Enumerate methods used by system calls

????????????
image text in transcribed
image text in transcribed
Question 1: System Calls (3 marks =1+1+1) 1. Give a brief definition of Application Programming Interface (API). 2. Enumerate methods used by system calls to pass parameters to the operating system. 3. What is the running state of the processor? Question 2: File System (3marks=0.5+0.5+0.5+0.5+0.5+0.5) 1. Give the roles of file system. 2. What are the different filc access methods that can offer a file system? 3. What arc the basic strategies used by a file system to assign storage blocks to a file? 4. What is the major problem with contiguous allocation? How can we solve it? Consider a UNIX file system with 12 direct pointers, 1 indirect pointer, 1 double-indirect pointer, and 1 triple-indirect pointer in the i-node. Assume that disk blocks are 32K bytes and that each pointer to a disk block requires 8 bytes, 5. Calculate the number of pointern/ block. 2. What are the different file access methods that can offer a file system? 3. What are the basic strategies used by a file system to assign storage blocks to a file? 4. What is the major problem with contiguous allocation? How can we solve it? Consider a UNIX file system with 12 direct pointers, 1 indirect pointer, 1 double-indirect pointer, and 1 triple-indirect pointer in the i-node. Assume that disk blocks are 32K bytes and that each pointer to a disk block requires 8 bytes. 5. Calculate the number of pointers / block. 6. What is the largest possible file that can be supported with this design? Show the expression to get full credit (i.e., you should not calculate the final numeric answer). 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logic In Databases International Workshop Lid 96 San Miniato Italy July 1 2 1996 Proceedings Lncs 1154

Authors: Dino Pedreschi ,Carlo Zaniolo

1st Edition

3540618147, 978-3540618140

More Books

Students also viewed these Databases questions

Question

Can workers be trained in ethics? How? Defend your answer.

Answered: 1 week ago