Professional Documents
Culture Documents
CS604 Assignment Solution-2024
CS604 Assignment Solution-2024
1
Student Name:
Student ID:
Assignment Solution CS604 Spring-2024
Answer:
ii) Show the absolute path name of the working directory (Desktop).
iii) Create two directories:
a) One with the name Student ID (replace Student ID with your student ID)
b) Second, with the name CS604.
i) Create a file with the name student_id.txt (replace student_id with your
student id) and write your student id as the file's content.
i) Show the contents of the file.
i) Move back to the Desktop directory and show the contents of the Desktop.
Following is the output for the contents of the Desktop, considering that your
ID is “BC12345678...”
i) Remove the directory with your student ID.
i) Show the contents of the Desktop again, but also show the contents of the
subdirectories.
Following is the output for the contents of the Desktop after removing the
directory with your student ID.