Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider six memory partitions of size 200 KB... Start Learning for Free
Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?

Correct answer is between '200,300'. Can you explain this answer?
Most Upvoted Answer
Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB,...
Explanation:

The best fit algorithm allocates the smallest possible partition that can accommodate the process.

Initially, all partitions are empty. The first process of size 357 KB will be allocated to the partition of size 400 KB because it is the smallest partition that can accommodate the process. After allocation, the partition of size 400 KB will have 43 KB of free space.

Next, the process of size 210 KB will be allocated. It can fit into the partition of size 250 KB because it is the smallest partition that can accommodate the process. After allocation, the partition of size 250 KB will have 40 KB of free space.

The next process is of size 468 KB. It cannot fit into any partition because all partitions have less than 468 KB of free space. So, a new partition of size 600 KB will be created and the process will be allocated to it. After allocation, the partition of size 600 KB will have 132 KB of free space.

The last process is of size 491 KB. It cannot fit into any partition because all partitions have less than 491 KB of free space. So, a new partition of size 500 KB will be created and the process will be allocated to it. After allocation, the partition of size 500 KB will have 9 KB of free space.

Partitions Not Allotted:

The partitions that are not allotted to any process are:

- 200 KB
- 300 KB

These partitions have less than 468 KB of free space, which is required for the third process.
Free Test
Community Answer
Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB,...
Best fit allocates the smallest block among those that are large enough for the new process. So the memory blocks are allocated in below order.
Fixed partitions
(Only one process can reside in one partition)
Hence partitions of size 200 KB and 300 KB will not be allotted to any process.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer?
Question Description
Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer?.
Solutions for Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer?, a detailed solution for Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? has been provided alongside types of Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?Correct answer is between '200,300'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev