Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

ISBN: 0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

If ((x, y) = tan-1(y2/x), find (x((5, -2) and (y((5, -2).

Answered: 1 week ago