Question

Answer the following question as if you are explaining it to a high school student who...

Answer the following question as if you are explaining it to a high school student who doesn't have a lot of experience with computers: Is there a difference between memory compaction and memory deallocation? If so, what is it? And explain a scenario where one each one would be useful.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Memory Compaction:

Compaction is the process in which the free space is collected in a large memory chunk to make some space available for other processes. In Memory management, swapping creates multiple fragments in the memory because of the processes moving in and out. Compaction refers to compaction all the empty spaces together and processes. Compaction helps to solve the problem of External Fragmentation, but it requires too much of CPU time.

Compaction moves all the allocated or occupied areas of store to one end and leaves large free space for incoming jobs i.e., combines all the free spaces . In Compaction,the system also maintains relocation information and it must be performed on each new allocation of job to the memory or completion of job from memory.

Compaction is different from Memory deallocation because compaction collects all the free spaces together,whereas memory Deallocation is used to free the Random Access memory of finished processes and allocate new ones.

Memory Deallocation:

Memory Deallocation is a way to  free the Random Access memory of finished processes and allocate new ones.A process has to be loaded into the RAM for its execution and remains in the RAM until its completion. Finished processes are deallocated or removed from the memory and new processes are allocated again.In high-level,programming memory deallocation is done by garbage collection. Garbage Collection is not supported by Low-level programming languages.

Add a comment
Know the answer?
Add Answer to:
Answer the following question as if you are explaining it to a high school student who...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In high school, Jake had been a tall and well-coordinated student who was sought after by...

    In high school, Jake had been a tall and well-coordinated student who was sought after by his school’s sports teams. He’d played on both the football and basketball teams. In his second year of college now, Jake came to the Student Clinic because of a sprained wrist. This gave the nurse an opportunity to do a complete history. In the course of the history, Jake mentioned that he felt clumsy compared to his high-school-athlete self. He was a large and...

  • Case Study: Professional Appearance A recent newspaper features a student in a hair design school who...

    Case Study: Professional Appearance A recent newspaper features a student in a hair design school who went the "extra mile" when the school's instructor was approached for a special service. The request was for someone to come to the house where a young woman, age 26, was in the final stages of multiple sclerosis but wanted her hair cut. The woman, Amanda, who had been nearly helpless for 8 years, was currently receiving hospice care and living in the formal...

  • Vanessa Lazo was an amazing high school student and so it was no surprise when she...

    Vanessa Lazo was an amazing high school student and so it was no surprise when she was accepted into Prestige Private University (PPU). To entice Vanessa to attend, the school offered her a reduced tuition of $13,000 per year (full-time tuition would typically be $43,000). PPU also has a scholarship program thanks to donors, and Vanessa was awarded an annual scholarship of $20,000. The first $13,000 must be used to cover her tuition, and the remainder can be put towards...

  • Suppose you are a drug rehabilitation counselor at a local high school and you are acquainted...

    Suppose you are a drug rehabilitation counselor at a local high school and you are acquainted with two students, named Tara and Debbie. Tara, 17 years old is an active substance abuser. previous interviews with tara indicate that there have been many instances in which she has gotten into a serious fight at school, and she knows several students her age who use marijuana. what strategies could be encouraged during counseling with tara that would provide greater number of protective...

  • A small high school has one student council for the entire student population. The freshmen and s...

    A small high school has one student council for the entire student population. The freshmen and sophomores fill the Treasurer and Secretary positions, while the juniors and seniors fill the Vice President and President's positions. If there are 14 freshmen and sophomores running and 20 juniors and seniors running, how many student councils can be formed? Jake has two different bags of candy. In one he has 12 red and blue candies, and in the other bag he has 22...

  • The College Board National Office recently reported that in 2011–2012, the 547,038 high school juniors who...

    The College Board National Office recently reported that in 2011–2012, the 547,038 high school juniors who took the ACT achieved a mean score of 520 with a standard deviation of 124 on the mathematics portion of the test (http://media.collegeboard.com/digitalServices/pdf/research/2013/TotalGroup-2013.pdf). Assume these test scores are normally distributed. A) What is the probability that a high school junior who takes the test will score at least 600 on the mathematics portion of the test? If required, round your answer to four decimal...

  • A Jainist student attending public high school has requested that the cafeteria staff clearly list the...

    A Jainist student attending public high school has requested that the cafeteria staff clearly list the contents of each dish so that he can be certain he does not eat any animal products. Describe how each of the different perspectives on diversity (Anglo-conformism, melting pot, separatism, and pluralism) would assess the situation. Are the individual’s rights to behave in accordance with his or her faith in danger of being violated? Explain your answer. How do you think the incident should...

  • Alex is a high school student campaigning for the position of student council president. He plans...

    Alex is a high school student campaigning for the position of student council president. He plans to solicit votes through wall posters and individual flyers distributed throughout the school for the student body. It is estimated that votes are earned according to the following function: Votes=20〖WP〗^0.5 IF^0.5 where WP represents the number of wall posters and IF represents the number of individual flyers. Thus the marginal product for wall posters is 10〖WP〗^(-0.5) IF^0.5 and for individual flyers is 10〖WP〗^0.5 IF^(-0.5)....

  • Reports show that, in the last 30 years, the wage difference between high school and college...

    Reports show that, in the last 30 years, the wage difference between high school and college graduates has grown dramatically. At the same time, the fraction of adults over age 25 that have college degrees has risen from about 16 percent to over 27 percent. Explain, using the supply and demand model (framework), explain how the widespread adoption of computers might explain these trends? Demonstrate your answer with the help of the supply and demand curves diagrams. Label your graph...

  • Need help with explanations, thanks! Winter Midterm 1 AMS S ating high school seniors and the...

    Need help with explanations, thanks! Winter Midterm 1 AMS S ating high school seniors and the teacher-student ratio (# teachers/Students) in each Cali, high school. The correlation between these two variables was r 0.49 1. The California departmeat of education computed the average score on the verbal SATs of grue in schools where the teacher- (a) (2 pts) Fill in the blank: Test soores tend to be student ratio is smaller. (b) (2 pts) True orgalse This correlation supports the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT