1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nexus9112 [7]
3 years ago
12

In a batch operating system, three jobs are submitted for execution. Each job involves an I/O activity, CPU time and another I/O

activity of the same time span as the first. Job JOB1 requires a total of 23 ms, with 3 ms CPU time; JOB2 requires a total time of 29 ms with 5 ms CPU time; JOB3 requires a total time of 14 ms with 4 ms CPU time. Illustrate their execution and find CPU utilization for uniprogramming and multiprogramming systems.
Computers and Technology
1 answer:
Ilia_Sergeevich [38]3 years ago
5 0

Answer:

a) CPU utilization for uniprogramming system = 18.2%

b) CPU utilization for multiprogramming system = 41.379%

Explanation:

IO time = total time – CPU time

For JOB 1  

CPU time = 3ms ,

total time= 23ms

IO time = 23-3 = 20ms ,

For JOB 2

CPU time =5ms

total = 29ms

IO time = 29-5 = 24ms  

For JOB 3  

CPU time = 4ms

total = 14ms

IO time = 14-10 =10ms  

1.) In uniprogramming system, operations are performed sequentially

CPU utilization=total CPU time / total real time

CPU utilization =(3+5+4) / (23+29+14)

CPU utilization =0.182 or 18.2%

2) In multiprogramming system, jobs wait for the CPU to get free while performing IO operations concurrently

steps followed by the os

1. IO for 1st job                           at 0ms

2. IO for 2nd job                          at 0ms

3. IO for 3rd job                          at 0ms

4. CPU time for 3rd job              at 5ms

5. Next IO job for 3rd job           at 9ms END at 14ms

6. CPU time for 1st job              at 9ms

7. Next IO job for 1st job           at 14ms END at 23ms

8. CPU time for 2nd job             at 14ms

9. Next IO job for 2nd job          at 15ms END at 29ms

CPU time is 3+5+4 =12ms

Total execution time = 29ms

CPU utilization = 12*100/29= 41.379%

You might be interested in
List three natural defects of wood<br>​
mr_godi [17]

Answer:

rotting, drying out, decay

Explanation:

5 0
3 years ago
Read 2 more answers
What application can be used to set windows 8 to boot into safe mode while still in windows?
Dmitry [639]
You can use the System Configuration (msconfig) application to change boot options of Windows. In the Boot tab, check the "Safe Mode" box under the Boot Options section.
5 0
3 years ago
How to jail break iphone 7 with <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7617023602">[email&#160
GarryVolchara [31]
I do not think so i honestly do not know
6 0
3 years ago
Read 2 more answers
Hardware- The ______________ equipment that makes up the computer.
aleksley [76]

Answer:

It's like the stuff you can touch, the software is the stuff that runs in your computer

Explanation:

Hardware has those usb ports or whatever too (i think lol) good luck

4 0
4 years ago
When adapting graphs for slides,
mojhsa [17]
I would say don't use more than 8-9 graph lines

7 0
4 years ago
Other questions:
  • PYTHON CODE ONLY:
    7·1 answer
  • Why does world of tanks keep downloading when I'm not even at the computer
    9·1 answer
  • What’s the best description of an opportunity cost
    5·1 answer
  • Dawn needs to insert a macro into a Word document. Where can she find the Insert Macro dialog box?
    11·1 answer
  • Which information can you apply to every page of your document with the page layout options?
    9·1 answer
  • Serting a header at the top of a page will make it appear on_____. ?
    13·1 answer
  • What is one example of an emerging class of software
    12·1 answer
  • Quiz 6.8 Lesson Practice
    14·2 answers
  • How is unqualified assumptions a disadvantage of communication​
    14·1 answer
  • You're on the lead generation team at a wine reseller called Partners in Wine. You've noticed that the user open rate of your em
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!