Skip to content
VUBuddy

CS604P Assignment 1 Solution Spring 2026

Operating Systems (Practical) Lesson 3: Week 3 Lab # 3 Inter-process communication between processes using PIPES 20 marks No solution

About CS604P Assignment 1

CS604P Assignment No 1 for Spring 2026 is from Operating Systems (Practical). It covers lesson 3: Week 3 Lab # 3 Inter-process communication between processes using PIPES, carries 20 marks and closed on VULMS on Monday 16 November 2026. No solution was added before it closed.

Course
CS604P Operating Systems (Practical)
Assignment
Assignment No 1
Semester
Spring 2026
Lesson
3: Week 3 Lab # 3 Inter-process communication between processes using PIPES
Total marks
20
End date
Mon 16 Nov, 11:59 pm

What CS604P Assignment 1 asks

This assignment focuses on implementing two-way Inter-Process Communication (IPC) between a parent and a child process using C. Students must utilize the fork() and pipe() system calls to establish communication channels. The task requires writing a program that exchanges specific messages between the two processes and displays the results. The final output must include the student's own VUID as part of the message exchange.

  1. Two-Way Inter-Process Communication (IPC) Using Pipes in C

    20 marks

    Write a C program that creates two unnamed pipes and a child process. The parent must send a specific inquiry to the child, which the child then displays. Subsequently, the child must send a reply containing the student's VUID back to the parent, which the parent then displays. Include a screenshot of the program's successful execution showing the correct VUID.

What to submit
One Doc or Docx file containing the C source code and a screenshot of the output.
Topics covered
Inter-Process Communication pipe() system call fork() system call C programming Process synchronization read and write system calls

A summary of the assignment file, Fall 2026_CS604P_1.docx. Download the file for the full wording before you start.

Lesson covered

Lesson 3: Week 3 Lab # 3 Inter-process communication between processes using PIPES CS604P · Operating Systems (Practical)

The questions in this assignment come from this lesson. Read it in the CS604P handout before you open the assignment file, then practise it with the MCQs and past papers.

Solution

No solution was added before this assignment closed. The assignment file stays here so you can revise lesson 3.

Before you submit on VULMS

  1. 1 This assignment closed without a solution. Use the assignment file to revise lesson 3 before your exams.
  2. 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
  3. 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
  4. 4 Open the file once more to check it is not empty or corrupted, then upload it on VULMS before 11:59 pm on Mon 16 Nov.

Questions about this assignment

When is CS604P Assignment 1 due?

It closed on Monday 16 November 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.

Will a solution be added?

No. Solutions are written only while an assignment is open on VULMS, and this one closed on Monday 16 November 2026. The assignment file stays here for revision.

Can I submit the solution as it is?

No. VU checks assignments for copying, and copied work gets zero marks. Use the solution to check your method, then write your own answer.

What file do I submit?

The assignment file says which file type to upload and lists any extra instructions from your instructor. Name the file with your student ID before you upload it on VULMS.

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.