Consider the First Come First Serve (FCFS) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 2, 1 respectively. Their running time in seconds are 11, 6, 8 respectively. The turnaround time of A will be . The turnaround time of B will be . The turnaround time of C will be . The response time of A will be . The response time of B will be . The response time of C will be Consider the Shortest Job First (SJF) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 10, 20 respectively. Their running time in seconds are 100, 50, 30 respectively. The turnaround time of A will be . The turnaround time of B will be . The turnaround time of C will be . The response time of A will be . The response time of B will be . The response time of C will be Consider the pre-emptive Shortest Time to Completion First (STCF) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 10, 20 respectively. Their running time in seconds are 90, 70, 50 respectively. The turnaround time of A will be . The turnaround time of B will be . The turnaround time of C will be . The response time of A will be . The response time of B will be . The response time of C will be

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Function mycpu() is implemented in xv6 in a file named ______.

Consider the First Come First Serve (FCFS) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 2, 1 respectively. Their running time in seconds are 11, 6, 8 respectively. 
The turnaround time of A will be .
The turnaround time of B will be . 
The turnaround time of C will be . 
The response time of A will be . 
The response time of B will be . 
The response time of C will be 

 

Consider the Shortest Job First (SJF) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 10, 20 respectively. Their running time in seconds are 100, 50, 30 respectively. 
The turnaround time of A will be .
The turnaround time of B will be . 
The turnaround time of C will be . 
The response time of A will be . 
The response time of B will be . 
The response time of C will be 

Consider the pre-emptive Shortest Time to Completion First (STCF) algorithm for the scheduling of three processes A, B, C. None of these processes will perform I/O operations. Their arrival time in seconds are 0, 10, 20 respectively. Their running time in seconds are 90, 70, 50 respectively. 
The turnaround time of A will be .
The turnaround time of B will be . 
The turnaround time of C will be . 
The response time of A will be . 
The response time of B will be . 
The response time of C will be 

 

A 3300 student would like to insert the following statement 

cprintf(“SYSTEM CALL\n”);

into xv6 so that each time the kernel handles a trap caused by a system call, the phrase SYSTEM CALL will be displayed on the screen. This phrase should be printed exactly once per system call handling, no matter which system call. If the trap is not caused by a system call, nothing should be printed. Give seven line numbers (within range 0000 – 6500) where this print statement can be inserted. The line numbers should be taken from selectedfiles.pdf. You can find this file in the midterm exam area of the blackboard. Your answers represent seven different choices – it does not mean that all should be added simultaneously. Two line numbers referring to the same place in the code, like 0001 and 0002, are considered the same answer. If you think there are less than seven answers, you do not have to fill in all the blanks. If you think there are more than seven, choose any seven of them. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Dynamic Multithreading
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education