Computer Science  >  QUESTIONS & ANSWERS  >  Questions and Answers > Victoria University NIT1202 OPERATING SYTEM ASSSIGNMENT 2. (All)

Questions and Answers > Victoria University NIT1202 OPERATING SYTEM ASSSIGNMENT 2.

Document Content and Description Below

a. Use the best-fit algorithm to indicate which memory blocks are allocated to each of the four arriving jobs. Under the best fit algorithm,  Job A is allocated to the block 3.  Job B is all ... ocated to the block 1.  Job C is allocated to the block 4.  Job D is allocated to the block 2. b. Use the first-fit algorithm to indicate which memory blocks are allocated to each of the four arriving jobs. Under the first fit algorithm,  Job A is allocated to the block 1  Job B is allocated to the block 2.  Job C is allocated to the block 3.  Job D will not allocated because it memory size is greater than the memory blocks available, so it waits. [2 + 2 = 4 marks] 2. If a program has 571 bytes and will be loaded into page frames of 100 bytes each, and the instruction to be used is at byte 132, answer the following questions: a. How many pages are needed to store the entire job? Job size= 571 Page frame=100 No of pages = job size/ page frame =571/100 =5.71 So the total no of pages will be 6. And the pages are P0, P1, P2, P3, P4 and P5. Job List: Job Number Memory Requested Job A 77K Job B 900K Job C 54K Job D 801K Memory Block List: Memory Block Memory Block Size Block 1 900K Block 2 910K Block 3 200K Block 4 300K b. Compute the page number and exact displacement for each of the byte addresses where the data is stored. (Remember that page numbering starts at zero). 132th byte lies in the 1st Page with 32 displacement . To access 132th byte, Byte address=132/100. So, the quotient 1 give the page number. P1 would contain the 132th byte. P0 0 0*100+0 [Show More]

Last updated: 3 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Questions and Answers > Victoria University NIT1202 OPERATING SYTEM ASSSIGNMENT 2. document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$11.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

54
0

Document information


Connected school, study & course


About the document


Uploaded On

Oct 15, 2021

Number of pages

7

Written in

All

Seller


Profile illustration for Kirsch
Kirsch

Member since 6 years

949 Documents Sold

Reviews Received
111
37
8
4
28
Additional information

This document has been written for:

Uploaded

Oct 15, 2021

Downloads

 0

Views

 54

Document Keyword Tags


$11.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·