It should then enter a loop reading student IDs and printing the corrresponding name if found. Write a program to print your current working directory. This utility attempts to recover a deleted file. When a file is erased its blocks are generally put back on the free list, but they are not erased. Consider both security and performance factors in your answer, and explain the effect of each.
Some systems provide a call to rename a file.
An Operating System may allow filenames of unlimited length, only upto a maximum length or of a fixed length. Discuss how this affects entries in directory files with particular reference to adding and deleting files from the directory and searching for filenames in the directory. Print the names of the files in the directory. Which hole is taken for successive segment requests of 12k, 10k, 9k and 8k for first fit, best fit, worst fit. There is no formal laboratory this week.