Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following statements stands true... Start Learning for Free
Which of the following statements stands true for memory compaction method.
  1. it involves movement of code and data in the memory.
  2. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register
  3. it does not involves movement of code and data in the memory
  4. it does not involves use of relocation register
  • a)
    1,2 only
  • b)
    3,4 only
  • c)
    2,3 only
  • d)
    1,4 only
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
Which of the following statements stands true for memory compaction me...
Memory compaction is not simple as suggested.it involves movement of code and data in memoryin free list if process memory has free memory on either side of it.it needs to be relocated to execute correctly from the new memory area allocated to it.Relocation involves modification of all addresses used by a process,including address of heap-allocated data and address contained in the general purppose registers.it is feasible only if the computer system provides a relocation register;relocation can be achieved by simply changing the address in the relocation register.
Free Test
Community Answer
Which of the following statements stands true for memory compaction me...
Memory Compaction Method

Memory compaction is a technique used in computer systems to optimize memory utilization by rearranging the code and data in memory. It aims to reduce fragmentation and improve the efficiency of memory allocation.

Statement 1: Memory compaction involves movement of code and data in the memory.

This statement is true. Memory compaction involves rearranging the code and data in memory to optimize memory utilization. By moving the code and data, it is possible to consolidate fragmented memory blocks and create larger contiguous blocks of free memory. This allows for more efficient memory allocation and reduces fragmentation.

Statement 2: Memory compaction is feasible only if the computer system provides a relocation register.

This statement is true. A relocation register is a hardware feature that allows the operating system to dynamically adjust memory addresses during program execution. It is used to perform address translation and provide memory protection. In the context of memory compaction, the relocation register is essential for updating the memory addresses of code and data that are moved during the compaction process.

Statement 3: The relocation can be achieved by simply changing the address in the relocation register.

This statement is true. The relocation register is responsible for translating logical addresses to physical addresses. In the case of memory compaction, when code and data are moved, the relocation register can be updated to reflect the new physical addresses of the relocated code and data. By simply changing the address in the relocation register, the operating system ensures that the program continues to access the correct memory locations.

Statement 4: Memory compaction does not involve movement of code and data in memory.

This statement is false. As mentioned earlier, memory compaction involves rearranging the code and data in memory to optimize memory utilization. This process requires moving the code and data to consolidate memory blocks and reduce fragmentation.

Therefore, the correct statements are 1 and 2, making option A the correct answer. Memory compaction involves the movement of code and data in the memory, and it is feasible only if the computer system provides a relocation register.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer?
Question Description
Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. 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 Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. 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 Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer?.
Solutions for Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. 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 Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer?, a detailed solution for Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer? has been provided alongside types of Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following statements stands true for memory compaction method. it involves movement of code and data in the memory. it is feasible only if computer system provides relocation register;the relocation can be achieved by simply changing the address in the relocation register it does not involves movement of code and data in the memory it does not involves use of relocation registera)1,2 onlyb)3,4 onlyc)2,3 onlyd)1,4 onlyCorrect answer is option 'A'. 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