Professional Documents
Culture Documents
BC220202736 CS604
BC220202736 CS604
Assignment # 01
Student ID: BC220202736
Solution:
i) Change the directory to the Desktop.
ii) Show the absolute path name of the working directory (Desktop).
vi) 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.
vii) Show the contents of the file.
viii) 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
BC220202736.
x) 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.