5. Use the priority list T1, T3, T4, T6, T2, TS, T8, T7 schedule the project below with two processors. Task Tasks that must be completed first. Time Required (days) 6. TI T2 5 T3 T4 10 TI, T2 TS 9. T4 T6 7 T3 T7 TS T8 12 T6

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
100%
Therefore, P1 and P2 each have a total of:
Tasks assigned to each processor
Total days for each processor
Processor
P1
P2
Transcribed Image Text:Therefore, P1 and P2 each have a total of: Tasks assigned to each processor Total days for each processor Processor P1 P2
5. Use the priority list T1, T3, T4, T6, T2, T5, T8, T7 schedule the project below with two
processors.
Task
Time Required (days)
Tasks that must be completed first.
TI
6.
T2
5
T3
7
T4
10
T1, T2
T5
9.
T4
T6
7
T3
T7
T5
T8
12
T6
a. Now create a digraph with dots and arrows in the space provided below to show
the order in which the tasks are being completed.
Hint: You can use the Word tools to make a digraph, or you can draw the digraph
by hand, then photograph or scan your digraph to submit it.
b. Assign to each available processor, in order, the first ready task.
c. Move forward in time until a task is completed.
d. Repeat until all tasks have been scheduled.
Hint: You can also use the Word tools to fill in the chart below, or you can draw
the chart by hand, then photograph or scan your chart to submit it.
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
P1
P2
Transcribed Image Text:5. Use the priority list T1, T3, T4, T6, T2, T5, T8, T7 schedule the project below with two processors. Task Time Required (days) Tasks that must be completed first. TI 6. T2 5 T3 7 T4 10 T1, T2 T5 9. T4 T6 7 T3 T7 T5 T8 12 T6 a. Now create a digraph with dots and arrows in the space provided below to show the order in which the tasks are being completed. Hint: You can use the Word tools to make a digraph, or you can draw the digraph by hand, then photograph or scan your digraph to submit it. b. Assign to each available processor, in order, the first ready task. c. Move forward in time until a task is completed. d. Repeat until all tasks have been scheduled. Hint: You can also use the Word tools to fill in the chart below, or you can draw the chart by hand, then photograph or scan your chart to submit it. 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 P1 P2
Expert Solution
Step 1

Computer Science homework question answer, step 1, image 1

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question
**Project Scheduling Exercise Using Two Processors**

**Task Scheduling Information:**

| **Task** | **Time Required (days)** | **Tasks that must be completed first.** |
|----------|--------------------------|----------------------------------------|
| T1       | 4                        |                                        |
| T2       | 6                        |                                        |
| T3       | 8                        | T4                                     |
| T4       | 5                        |                                        |
| T5       | 10                       | T1, T2                                 |
| T6       | 7                        | T7                                     |
| T7       | 8                        | T4                                     |

**Instructions:**

1. **Priority List:** Use the priority list `T1, T2, T5, T7, T6, T3, T4` to schedule the project with two processors.

2. **Create a Digraph:**
   - Create a digraph using dots and arrows to show the order in which tasks are completed.
   - **Hint:** You can use Word tools to make the digraph or draw it by hand, then photograph or scan your digraph to submit it.

3. **Assign Tasks to Processors:**
   - Assign to each available processor, in order, the first ready task.
   - Move forward in time until a task is completed.
   - Repeat until all tasks have been scheduled.
   - **Hint:** Use the Word tools to fill in the chart below, or draw the chart by hand, then photograph or scan your chart to submit it.

**Processor Allocation Chart:**

|    | 2  | 4  | 6  | 8  | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 |
|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
| P1 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |
| P2 |    |    |    |    |    |    |    |
Transcribed Image Text:**Project Scheduling Exercise Using Two Processors** **Task Scheduling Information:** | **Task** | **Time Required (days)** | **Tasks that must be completed first.** | |----------|--------------------------|----------------------------------------| | T1 | 4 | | | T2 | 6 | | | T3 | 8 | T4 | | T4 | 5 | | | T5 | 10 | T1, T2 | | T6 | 7 | T7 | | T7 | 8 | T4 | **Instructions:** 1. **Priority List:** Use the priority list `T1, T2, T5, T7, T6, T3, T4` to schedule the project with two processors. 2. **Create a Digraph:** - Create a digraph using dots and arrows to show the order in which tasks are completed. - **Hint:** You can use Word tools to make the digraph or draw it by hand, then photograph or scan your digraph to submit it. 3. **Assign Tasks to Processors:** - Assign to each available processor, in order, the first ready task. - Move forward in time until a task is completed. - Repeat until all tasks have been scheduled. - **Hint:** Use the Word tools to fill in the chart below, or draw the chart by hand, then photograph or scan your chart to submit it. **Processor Allocation Chart:** | | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | |----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----| | P1 | | | | | | | | | | | | | | | | | | | | | | | P2 | | | | | | | |
Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Software cost estimation
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
  • SEE MORE 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