Operating Systems (CS604)
Assignment # 01
Total marks = 20
Please carefully read the following instructions before attempting assignment.
RULES FOR MARKING
It should be clear that your assignment would not get any credit if:
The assignment is submitted after the due date.
The submitted assignment does not open or file is corrupt.
Strict action will be taken if submitted solution is copied from any other student or from the internet.
You should consult the recommended books to clarify your concepts as handouts are not sufficient.
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.
• The objective of this assignment is to provide hands on experience of:
• To learn and understand the basic concept of an Operating System
• To learn Process and its states
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
If you find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
For any query, feel free to email at:
Question No 01 2*5=10 marks
As a process executes, it changes states. The state of a process is defined in part by the current activity of that process. Given below are current and next states of process. According to your understanding write process conditions based on the states in which process is currently in. what can be the condition that changes one state into another?
Question No 02 2*5=10 marks
The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:
List of Operations
List the contents of files to the terminal window.
Change the owner and group owner of a file.
Compares two text files and show the differences between them
Print a string of text to the terminal window.
Change the password for a user.
You are required to run the respective commands on Ubuntu and provide relevant screen shots of the list of operations as stated in above table.
Wish you very Best of Luck!