Exp1 Distributed Systems
Exp1 Distributed Systems
प्रयािराज–२११००४ [भारत]
Motilal Nehru National Institute of Technology Allahabad
Allahabad-211004 [India]
Programme Name: B.Tech Semester: VII Branch: Computer Science & Engg
Course Code: CS17201 Course Name: Distributed Systems (Lab)
Experiment No. 1
Experiment Description
i) Write a program to create two processes. First process takes a string and
passes it to second process through a pipe. The second process
concatenates the received string with another string without using string
function and sends it back to the first process for printing.
ii) Write a program in which the parent process sends two matrices to its child
process through a pipe and the child process returns the sum of the
matrices to the parent through a pipe. The parent should print the result.