Question: Question two: Consider a system connected as shown in the figure below. 1. System $1 generates a random number (R1) between 0 and 10 and
Question two: Consider a system connected as shown in the figure below. 1. System $1 generates a random number (R1) between 0 and 10 and sends it to $2. 2. System $2 generates a random number (R2) between 0 and 10 and sends the value R1+R2 to 53. 3. System S3 generates a random number (R3) between 0 and 10 and sends the value R1+R2+R3 to S4 4. System S4 generates a random number (R4) between 0 and 10 and sends the value R1+R2+R3 to S1 5. If the value received by S1 is less than 30 and more than 25 then stop the system as follows a. S1 sends the word "stop" to $2. b. S2 send the word stop to 53 and closes all sockets and I/O ports and C. 53 send the word stop to 54 and closes all sockets and 1/O ports and d. S4 send the word stop to 51 and closes all sockets and 1/0 ports and Question two: Consider a system connected as shown in the figure below. 1. System $1 generates a random number (R1) between 0 and 10 and sends it to $2. 2. System $2 generates a random number (R2) between 0 and 10 and sends the value R1+R2 to 53. 3. System S3 generates a random number (R3) between 0 and 10 and sends the value R1+R2+R3 to S4 4. System S4 generates a random number (R4) between 0 and 10 and sends the value R1+R2+R3 to S1 5. If the value received by S1 is less than 30 and more than 25 then stop the system as follows a. S1 sends the word "stop" to $2. b. S2 send the word stop to 53 and closes all sockets and I/O ports and C. 53 send the word stop to 54 and closes all sockets and 1/O ports and d. S4 send the word stop to 51 and closes all sockets and 1/0 ports and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
