Home » new solve

new solve

Assignment1Second Semester
Session 1445 AH
Student Name
:
Student ID
:
Student Signature
:
Department
Course Code
Total Marks
: Department of Computer Science
: COCS 361
Course Name
Deadline
Time
: Operating Systems
Number of Exam Pages
: 4
: Wednesday, May 05, 2024
: 11:00 – 12:00
20
Marks
S.O 1



/10 Marks
Signature:
S.O 2
/10 Marks
Examiner: Prof Dr Ali Ahmed
Total Marks
(In Figure)
Total Marks
(In Words)
/20 Marks
1. Consider a user program of logical address of size 6 pages and page size is 4 bytes.
The physical address contains 300 frames. The user program consists of 22 instructions
a,b, c, . . . u, v . Each instruction takes 1 byte. Assume at that time the free frames are 7,
26, 52, 20, 55, 6, 18, 21, 70, and 90. Find the following?
a) Draw the logical and physical maps and page tables?
b) Allocate each page in the corresponding frame?
c) Find the physical addresses for the instructions m, d,v, r?
d) Calculate the fragmentation ifexist
[SO1: 10.0 Marks]
2
2. Consider apaging system with the page table stored in memory
a) If amemory reference takes 50 nanoseconds, how long does a paged memory
reference take?
b) If we add TLBs, and if 75 percent of all page-table references are found in the
TLBs, what is the effective memory reference time? (Assume that finding a
page-table entry in the TLBs takes 2 nanoseconds, if the entry is present.)
[SO2: 4.0 Marks]
3
3. Consider the following page reference string:
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6
How many page faults would occur for the following replacement algorithms, assuming
one, three , five and seven frames? Remember that all frames are initially empty, so your
first unique pages will cost one fault each.
a) LRU Replacement
b) FIFO Replacement
c) Optimal Replacement
[SO2: 6.0 Marks]
4

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code ESSAYHELP