|
Operating System (CS604) Assignment # 02 |
Total marks = 15
Deadline Date:
|
Please carefully
RULES FOR MARKING It should be clear that your assignment would not get any credit if:
You should consult the recommended books to clarify your concepts as
You are supposed to submit your assignment in Doc or Docx format. Any other formats like scan images, PDF, Zip, Rar, Ppt, and Bmp,
OBJECTIVE The objective of this assignment is to provide hands-on experience of: · ·
|
||
NOTE
Assignement No. 2 covers 8-13 lectures. No assignment will be accepted Assignment Submission: You are supposed to submit your assignment in .doc or Docx format. Any other formats like scan You are required to send the screenshot and C code of question no. 1,
If you find any mistake or confusion in the assignment (Question
For any query, feel free to whatsapp 03037155010 |
Question No. 1
15
Marks
Write the C Program which perform the inter-process communication between parent and the child process through a pipe() system call. Parent and child process do the following functionalities
· The parent process should write your VUID and program name through a write() system call.
· The child process should read the VUID and program name through the read() system call and finally write your VUID and program name on the screen through a write() system call.
Fork()
In the screenshot firstly compile your program.
· Then run the program.
SOLUTION FILE
Assignment Submission:
You are supposed to submit your assignment in .doc or Docx format. Any other formats like scan images, PDF, zip, rar, ppt, and BMP, etc will not be accepted.
You are required to send the screenshot and C code of question no. 1, be pasted in the same Word file.
Note: in case you have installed the Virtual Box you can take the screenshot as follows. Go to the view menu and click on Take Screenshot as follow.