Question: C programming in Linux 1) Consider the case when several persons play the wireless phone game. They send a message from the first person until

C programming in Linux

1) Consider the case when several persons play the wireless phone game. They send a message from the first person until the last one and the message gets distorted. Simulate this process according to your own distortion rules.

2) Some of the persons do not want to be understood by others who are around them, so they start to use the chicken language by adding a p letter before and after a vowel. Simulate the new game and display the results.

In the first exercise, you can use the parent or child process, as well as you can do it using the producer-consumer pattern based on unnamed or named pipes. The second exercise is related to the first one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!