Question: By using UNIX COMMANDS: ( 1 4 Marks ) a . Print the message containing your name and university number on the screen. b .

By using UNIX COMMANDS:
(14 Marks)
a. Print the message containing your name and university number on the screen.
b. List all files in the current directory Order by creation time.
c. Create a file1 and write your name in it then Create a file2 and write your university number in it.
d. Concatenate two files together.
e. Rename the new file to myfile.
f. Create a file name is number than write the numbers from 1 to 15, each number on a line.
g. Displays10 lines from the head(top|of a given file.
2. Consider the requests from processes in given order 300K,25K,125K, and 50K. Let there be two blocks of memory available of size 150K followed by a block size 350K.(20 Marks)
Which of the following partition allocation schemes can satisfy the above requests?
A) Best fit but not first fit.
B) First fit but not best fit.
C) Both First fit & Best fit.
D) neither first fit nor best fit.
Use C Program to implement first fit & Best fit then explain the result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!