Question

The task times of 12 independent tasks T1 to T12 are given, in minutes, as 2,...

The task times of 12 independent tasks T1 to T12 are given, in minutes, as

2, 7, 4, 10, 10, 3, 3, 6, 11, 5, 8, 9

Use the list processing algorithm to schedule these tasks on three processors, #1, #2, and #3. The tasks are prioritized in the order written above.

(a) Which of these tasks does processor #1 complete?

T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12


(b) Which of these tasks does processor #2 complete?

T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12


(c) Which of these tasks does processor #3 complete?

T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12


(d) Is the schedule optimal?

Need more information to decide, No or Yes


(e) How long is an optimal schedule for these 12 tasks? ____ minutes

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given: T1: 2, T2:7, T3:4, T4:10, T5:10, T6:3, T7:3, T8:6, T9:11, T10:5, T11:8, T12:9 which is According to priorities

So the process allocation to the processor will be:

(a) tasks completed by processor 1: T1, T4, T8, T11

(b) Tasks completed by processor 2: T2,T6, T7, T9

(c) Tasks completed by processor 3: T3, T5, T10, T12

(d) yes, its is an optimal schedule

(e) It took 28 minutes to complete these 12 Tasks by this optimal schedule

Add a comment
Know the answer?
Add Answer to:
The task times of 12 independent tasks T1 to T12 are given, in minutes, as 2,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Refer to the logic diagram below. Draw the timing diagram for each corresponding output. E...

    2. Refer to the logic diagram below. Draw the timing diagram for each corresponding output. E RIGHTILEFT Scrial data in Q3 D Qm Q1 D Qo с с с CLK T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 CP Right/Left' Serial input Serial output Qo Q1 Q2 Q3

  • The following question based on MIPS assembly language: Given this Intermediate File of a Compiler #1...

    The following question based on MIPS assembly language: Given this Intermediate File of a Compiler #1 Indx Indx tl #2 t3 t4 Indx (20) tl t2 t3 t4 t5 .= (2) #25 #1 #10 MLK #1 #1 t5 JGT (5) * t6 Indx t8 #1 #10 MLK #1 tl1 t8 t9 t10 tl1 t12 t13 CBA[t7] 10) (12) * #2 (13) (14)9 (15) t12 (16) := (17)+ (18) := t14 19) JMP (20) t10 ZYX[tl3] #1 Indx t14 Indx Optimize...

  • a).For the following MIPS assembly code to be executed using the pipelined datapath, identify all of...

    a).For the following MIPS assembly code to be executed using the pipelined datapath, identify all of the data dependencies (which register in which instruction needs the result register value from which another instruction?) and enumerate them (give them numbers as 1,2, ...). b).Which dependencies are data hazards that will be resolved via forwarding and without a stall (you can specify the number(s) from the part a)? c).Which dependencies are data hazards that will cause a stall (you can specify the...

  • Ch04.2. [3 points] Consider the following assembly language code: I0: ADD R4 R1RO I1: SUB R9R3 R4...

    Ch04.2. [3 points] Consider the following assembly language code: I0: ADD R4 R1RO I1: SUB R9R3 R4; I2: ADD R4 - R5+R6 I3: LDW R2MEMIR3100]; 14: LDW R2 = MEM [R2 + 0]; 15: STW MEM [R4 + 100] = R3 ; I6: AND R2R2 & R1; 17: BEQ R9R1, Target; I8: AND R9 R9&R1 Consider a pipeline with forwarding, hazard detection, and 1 delay slot for branches. The pipeline is the typical 5-stage IF, ID, EX, MEM, WB MIPS...

  • In Lab 1. Check all the components for their working 2. Insert the appropriate IC into...

    In Lab 1. Check all the components for their working 2. Insert the appropriate IC into the IC base 3. Make connections as shown in the circuit diagram 4. Verify the Truth Table and observe the outputs VCSQA QB QC QD CLK1 CLK2 14 13 12 11 10 9 00 IC 7495 1 2 3 4 5 6 7 B с MODE CONTROL GND SERIAL INPUT (Right PARALLEL Shift) INPUTS Lab Task 1: SERIAL IN SERIAL OUT (SISO) (Right Shift)...

  • 1 - [30 pts] Scheduling Algorithms Comparison Assume that we have 5 independent and aperiodic tasks...

    1 - [30 pts] Scheduling Algorithms Comparison Assume that we have 5 independent and aperiodic tasks (T1, ... , Ts) and they arrive to the system at times indicated below. Each task will run for the amount of execution time listed and is assigned a priority ranging from 0 (highest) to 10 (lowest), i.e. lower value means higher priority. There are no other tasks scheduled to arrive to the system until T1, ... , Ts complete. Task Arrival Time Execution...

  • The White Tooth Device Company is a manufacturer of high-end electric toothbrushes. For each toothbrush, there...

    The White Tooth Device Company is a manufacturer of high-end electric toothbrushes. For each toothbrush, there are a sequence of assembly steps performed by five workers. Each worker does two tasks. Workers are paid $15 per hour. Worker Task Time (seconds) A T1 40 A T2 25 B T3 20 B T4 15 C T5 10 C T6 15 D T7 10 D T8 20 E T9 25 E T10 35 Instruction: Round "cost of direct labor" and "average labor...

  • STAGE 1 In Stage #2 here are the requirements: • Keep the following requirements from Stage...

    STAGE 1 In Stage #2 here are the requirements: • Keep the following requirements from Stage #1 o Write code that calls a function named printMenu() • The printMenu() function will: • print the menu below . ask the user to input a value between 1 an 12 · return an integer value to your main program. • Within the printMenu() function: o I STRONGLY SUGGEST THAT YOU DO THESE ONE AT A TIME - get the loop working before...

  • Java Submit a program in a .java file. The program should print a multiplication table for...

    Java Submit a program in a .java file. The program should print a multiplication table for the numbers 1-9. This requires a nested for loop. The outer loop moves from row to row, while the inner loop prints the row. Use tabs to separate the output, such as in the following statement:      System.out.println(“1\t2\t3\t4\t5\t6\t7\t8\t9”); Output should look similar to the following. 1      2     3     4     5     6     7     8     9 ------------------------------------------------------------------ 1       2     3     4     5     6        7     8     9...

  • For the IVP: Apply Euler-trapezoidal predictor-corrector method to the IVP to approximate y(2), by choosing two...

    For the IVP: Apply Euler-trapezoidal predictor-corrector method to the IVP to approximate y(2), by choosing two values of h, for which the iteration converges. (Note: True Solution: y(t) = et − t − 1). Present your results in tabular form. Your tabulated results must contain the exact value, approximate value by the Euler-trapezoidal predictor-corrector method at t0 = 0, t1 = 0.5, t2 = 1, t3 = 1.5, t4 = 2, t5 = 2.5, t6 = 3, t7 = 3.5...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT