Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Processes PI, P2, P3, P4, and the Operating System OS fragmented a system's RAM to be fragmented as shown below. In a scenario where we

image text in transcribed

Processes PI, P2, P3, P4, and the Operating System OS fragmented a system's RAM to be fragmented as shown below. In a scenario where we can allocate any of the freememory locations (shown in red). Ignore the amount of memory needed for the name of the array or the head, tail, and n (occupancy) of a linked list. Attach your individual solution in an MS Word or PDF file to this assignment's dropbox. 2.1. [4 points] Compute the size (number of elements) for the largest array that can allocated in this memory given that the size of each data element is 8 Bytes ( 8 B). Show all computations. 2.2. [4 points] Compute the size (number of elements) for the largest SLL (singlylinked list) that can be allocated in this memory, given that the size of each data element is 8B, and a pointer is also 8B. Show all computations. 2.3. [4 points] Compute the size (number of elements) for the largest DLL (doublylinked list) that can be allocated in this memory, given that the size of each data element is 8B, and a pointer is 8B. Show all computations. 2.4. [4 points] Compute the size (number of elements) for the largest SEList (SpaceEfficient List) that can be allocated in this memory if the size of all data blocks was fixed at 800 elements and each data element and each address was of size 8 B. 2.5. [4 points] Compute the size (number of elements) for the largest book-based SEList (Space-Efficient List) that can be allocated in this memory if each data element and each address is 8B. Show your algorithm and all computations

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: 3

blur-text-image

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions