Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please if you know you cant answer all dont attempt it because this is my last question of the month continuation of number 3 2.

please if you know you cant answer all dont attempt it because this is my last question of the month image text in transcribed
continuation of number 3
image text in transcribed
image text in transcribed
2. There is a simple paging system. The memory size is 64K, and the page size is IK. For a four-page job, #0#1.22 and 13 pages are mapped into 2.74,6, and #7 page frames, respectively. Try to get physical addresses for logical addresses 1023, 1039 and 2500. [10points) 3. Suppose that the following processes arrive for execution at the times indicated. Each process will run for the amount of time listed. In answering the questions, use nonpreemptive scheduling, and base all decisions on the information you have at the time the decision must be made. Process Arrival Time Burst Time 0.0 P2 04 P3 1.0 a What is the average turnaround time for these processes with the FCFS scheduling algorithm? b. What is the average tumaround time for these processes with the SIF scheduling algorithm c. The SJF algorithm is supposed to improve performance, but notice that we chose to run process Pl at time 0 because we did not know that two shorter processes would arrive soon. Compute what the average turnaround time will be if the CPU is left idle for the first 1 unit and then SJF scheduling is used. P2 waiting time may increase. This algorithm could be called future-knowledge scheduling. for (i = 0; i #include #include cuniatd.h> #define SIZE 5 int nuns (SIZE) - (0,1,2,3,4}; int main() int i; pidt pid: pid - fork(): if (pid = 0 for (i - 0; i 0) { wait (NULL); printf("PARENT: Xd sams[i]); /* LINE Y / return 0

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

3. Define the roles individuals play in a group

Answered: 1 week ago