Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
loader

Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Add File

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!

CSC2404 Operating System

tag 0 Download 5 Pages / 1,048 Words tag 15-07-2021

Question:

Answer the following questions:
a. Consider the following page reference string:
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6
Using the above page reference string display the contents of the frames and marking when a page fault occurs after each page reference (cf. Figures 9.12, 9.14, or 9.15 of the text).
Use the following algorithms
• LRU replacement
• FIFO replacement
• Optimal replacement and assume 3 frames. Repeat using 4 frames.

Remember that all frames are initially empty, so the first unique pages will cost one fault each. The VAX/VMS system uses a FIFO replacement algorithm for resident pages and a free-frame pool of recently used pages. Assume that the free-frame pool is managed using the least recently used (LRU) replacement policy. Answer the following questions:
(i) If a page fault occurs and if the page does not exist in the free-frame pool, how is free space generated for the
newly requested page
(ii) If a page fault occurs and if the page exists in the freeframe pool, how is the resident page set and the freeframe pool managed to make space for the requested page
(iii) What does the system’s paging algorithm reduce to if the number of resident pages is set to one
(iv) What does the system’s paging algorithm reduce to if the number of pages in the free-frame pool is zero

Answer the following questions:
a. Unix has the concept of a “hard link” and a “soft link”. Explain what a “link” is, and how the file system implements both types of links.
 b. When copying a file to a USB flash drive on a Unix system  it is extremely important to unmount the flash drive before removing the device. Explain why. If the USB flash drive is removed before unmounting then the copied file will normally appear on the flash drive’s file system (have a directory entry and an inode) but will be empty. Explain why the file meta data is copied synchronously but the file data is copied asynchronously.

Answer the following questions:
a. Consider the following I/O scenarios on a personal computer running a multi-tasking operating system:
(i) A mouse used with a graphical user interface.
(ii) A tape drive (assume no device preallocation is available).
(iii) A disk drive containing user files.
(iv) A graphics card with a direct bus connection, accessible through memory-mapped I/O For each of these I/O scenarios, would you design the operating system to use buffering, spooling, caching, or some combination Would you use polled I/O, or interrupt-driven I/O Give reasons for your choices.

b. The open-file table is used to maintain information about files that are currently being accessed by processes. Should the operating system maintain a separate table for each process or just maintain one table that contains references to files that are being accessed by all processes at the current time,or use both types of tables? Justify your answer.

What are the steps required to be performed by the Ext2 file system kernel module to create a new file that contains 4000 bytes of data Assume that a copy of the directory inode the file is to be created in is already in memory. Also assume the block size is 1024 bytes.Either list the steps required or use a flowchart. (See the week 11 practical for information on the Ext2 file system and examples of listing the required steps or writing a flowchart).
Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

Upload
Unique Document

Document
Under Evaluation

Get Money
into Your Wallet

Total 5 pages

Cite This Work

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2021). CSC2404 Operating System. Retrieved from https://myassignmenthelp.com/free-samples/csc2404-operating-system/data-structure.html.

My Assignment Help (2021) CSC2404 Operating System [Online]. Available from: https://myassignmenthelp.com/free-samples/csc2404-operating-system/data-structure.html
[Accessed 28 January 2023].

My Assignment Help. 'CSC2404 Operating System' (My Assignment Help, 2021) <https://myassignmenthelp.com/free-samples/csc2404-operating-system/data-structure.html> accessed 28 January 2023.

My Assignment Help. CSC2404 Operating System [Internet]. My Assignment Help. 2021 [cited 28 January 2023]. Available from: https://myassignmenthelp.com/free-samples/csc2404-operating-system/data-structure.html.


Stuck on Any Question

Our best expert will help you with the answer of your question with best explanation.

question
We will use e-mail only for:

arrow Communication regarding your orders

arrow To send you invoices, and other billing info

arrow To provide you with information of offers and other benefits

Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

loader
250 words
Error goes here

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

We Can Help!

Get top notch assistance from our best tutors !
Excel in your academics & career in one easy click!

icon

Other Samples

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the content removal request.

icon

5% Cashback

On APP - grab it while it lasts!

Download app now (or) Scan the QR code

*Offer eligible for first 3 orders ordered through app!

screener
ribbon
callback request mobile
Have any Query?
close
Subtraction Payment required!

Only one step away from your solution of order no.