About CS604 Assignment 1
CS604 Assignment No 1 for Fall 2026 is from Operating Systems. It covers lesson 12: Threads - 1, carries 20 marks and closed on VULMS on Monday 16 November 2026. The solution is on this page, with the assignment file.
- Course
- CS604 Operating Systems
- Assignment
- Assignment No 1
- Semester
- Fall 2026
- Lesson
- 12: Threads - 1
- Total marks
- 20
- End date
- Mon 16 Nov, 11:59 pm
What CS604 Assignment 1 asks
This assignment requires the development of a C program to simulate a mini task-processing system using parent-child process communication. The student must implement process creation with fork() and data exchange between processes using two pipes. The final output involves displaying results on the console and generating a text report using Linux file operations. The program must handle user-provided Student IDs and task execution times dynamically.
-
1
Question No 01
20 marksWrite a C program named task_manager_StudentID.c that uses fork() to create a child process and two pipes for inter-process communication. The parent must pass three positive integer task times to the child, which then calculates the total time and identifies the longest task. The child returns these results to the parent, which displays them and saves the report to a file named StudentID_report.txt using Linux file operations.
- What to submit
- One DOC or DOCX file containing the C source code, execution screenshots, and the saved text report.
- Topics covered
- Process creation fork() system call Inter-process communication Pipes Linux file operations C programming
A summary of the assignment file, Fall 2026_CS604_1.docx. Download the file for the full wording before you start.
Lesson covered
The questions in this assignment come from this lesson. Read it in the CS604 handout before you open the assignment file, then practise it with the MCQs and past papers.
Solution
2 solutions for CS604 Assignment No 1 are up, the newest added on 16 Nov 2026. Each one answers the questions in the assignment file, Fall 2026_CS604_1.docx, so pick the file type you need.
-
CS604_Assignment_1_Solution_2026.docx Solution 138 KBAdded 16 Nov 2026Prepared by Malik Musab
-
CS604_Assignment_1_Solution_2026.docx Solution 2147 KBAdded 13 Nov 2026Prepared by Malik Musab
Before you submit on VULMS
- 1 Solve the questions in the assignment file yourself first, then use the solution to check your method and answers.
- 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
- 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
- 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 CS604 Assignment 1 due?
It closed on Monday 16 November 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.
Is the CS604 Assignment 1 solution free?
The assignment file is free with no limit. The solution counts toward your daily downloads: 3 a day on the web, 30 a day with the free Chrome extension, 100 a day with Pro Semester and unlimited in the Android app.
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.