Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

D Question 9 esses. They all read data from the same input device. Each process,

ID: 3698909 • Letter: D

Question

D Question 9 esses. They all read data from the same input device. Each process, when it gets the input device, must read two consecutive da There are three cooperating proc solve this situation. How many would be initialized to 0 and how many would be initialized to 1: Pl: input(ala2) P2: input (b1,b2) P3: inpat(cl,c2) z-a2+bI Y-altel Print () o 7 initialized to 0 and 1 initialized to 1 0 5 initialized to 0 and 1 initialized to 1 O 1 initialized to 0 and 5 initialized to 1 O 1 initialized to 0 and 7 initialized to 1

Explanation / Answer

9) 7 INITIALISED TO 0 AND 1 INITIALISED TO 1

explanation: 3 process means there are 23 possiblities = 8
So 7 + 1 which means 7 initialised to 0 and 1 initialised to 1


Thanks, let me know if there is any concern.