|
Operating System (CS604) Assignment # 01 |
Total marks = 15
Deadline Date: 14/12/2021
|
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
OBJECTIVE The objective of this assignment is to provide hands-on experience of: · · NOTE
Assignment No. 1 covers 1-7 lectures. No assignment will be accepted after the due date via email in any case
Assignment Submission: You are supposed to submit your assignment in .doc or docx format. Any other formats like scan Secondly, send the screenshot and C code of question no. 1, be pasted in
If you find any mistake or confusion in the assignment (Question
For any query, whatsapp
|
DOWNLOAD
Question No. 1
15 Marks
Write the C Program in which the parent process will create
the child process using the fork() system call.
Following functionality be performed in the parent and child
process.
·
In parent process you have to display your name,
roll no and academic program at Virtual University.
·
In the child process you have to execute the binary
executable “pwd” by using execlp() system call to display the current
working directory.
Following is the screenshot of your program, you have to
perform the following steps in your screenshot.
·
In screenshot firstly compile your program.
·
Then run the program.