Assignment 4

Interprocess Communication - I

Design an experiment that implements any three of the following  four programs using IPC mechanisms. Choose an appropriate IPC  mechanism for each.
Your choice is restricted to Pipes, FIFOs,  and Message Queues. Do not use shared memory and semaphores. Cover at least two IPC mechanisms. Your solutions may use maximum of three processes
and a minimum of two processes
 

1. Telephonic conversation  (between a caller and a receiver)
2. Television broadcast   (one broadcasting process and two listeners)
3. Pager Communication  ( communicate to any pager, maximum of 3 pagers )  
4. Home delivery of newspaper (one publisher and 2 subscribers)

 

Deadlines for report and code submission: 
On or before September  3 , 5:30 pm.
submit permissions will be disabled after the deadline

1. Report : Submit handwritten script / typed hard copy.
Include:
(i) The design of your experiments
(ii) Justification for your choices of IPC mechanisms for the above experiments
(ii) Limitations of your scheme, if any

2. Code: Submit electronically (guidelines will be mailed to you)
 

--------------------------------------------------------

Demos will be conducted on Friday, September 4 during the lab 'hour'

--------------------------------------------------------

Tips:

Spend time in designing the experiments
Only after you design, start coding
Make coding a straightforward job

Take up the challenge of writing one-shot bug-free code !