Programming Question

Here’s the Link to the Textbook

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

https://csc-knu.github.io/sys-prog/books/Andrew%20…

Question 1

Page 334, Problem 18:Consider a file whose size varies between 4 KB and 4 MB during its lifetime. Which of the three allocation schemes (contiguous, linked and table/indexed) will be most appropriate.

Question 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Page 335, Problem 34:

Consider an application where students’ records are stored in a file. The application takes a student ID as input and subsequently reads, updates, and writes the corresponding student record; this is repeated till the application quits. Would the “block read ahead” technique be useful here?

Question 3

Please write a shell script called “greeting” that displays a message “Hello, cfs264su24xx (using your owe login ID)” followed by the current date in the format of “yyyy-mm-dd”. Then print a list of the users who logged in the system only on Feb 10 of this year. Print a message “The users who were on the system on Feb 10.” as the last piece of the information in your greeting message.

Please test your script to make sure it displays the information as required.

Please provide the code of your script and the output of your script to show it meets the requirement’s

Question 4

Please write a shell script called “diskusage” that displays the information about the disk usage with the current date, your home directory, the disk usage by your home directory, and the capacity of the free space available on the system (at the mount point “/”). The four pieces of the information should be displayed in separated lines;

Are you stuck with your online class?
Get help from our team of writers!

Order your essay today and save 20% with the discount code RAPID