MCQs > Engineering & Manufacturing > Analysis MCQs > Memory management Analysis MCQs

Memory management Analysis MCQ

Memory management Analysis MCQ

1. Dynamic memory allocation occurs ________.

Answer

Correct Answer: When a new variable is created at runtime

Note: This Question is unanswered, help us to find answer for this one

2. What is one of the advantages of Paging?

Answer

Correct Answer: It does not suffer from external fragmentation.

Note: This Question is unanswered, help us to find answer for this one

3. In CPP, dynamic memory allocation is done using ______________ operator.

Answer

Correct Answer: New

Note: This Question is unanswered, help us to find answer for this one

4. Which of the following is not a false statement about new operator?

Answer

Correct Answer: It automatically computes the size of the data object

Note: This Question is unanswered, help us to find answer for this one

5. What is the Process Input Queue?

Answer

Correct Answer: A collection of processes on the disk that are waiting to be brought into memory for execution.

Note: This Question is unanswered, help us to find answer for this one

6. Can we allocate memory for the objects dynamically in CPP?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

7. Which of the following is/are valid ways to allocate memory for an integer by dynamic memory allocation in CPP?

Answer

Correct Answer: All

Note: This Question is unanswered, help us to find answer for this one

8. What is Swapping?

Answer

Correct Answer: The process of moving a process within memory to and from the backing store.

Note: This Question is unanswered, help us to find answer for this one

9. During dynamic memory allocation in CPP, new operator returns__________ value if memory allocation is unsuccessful.

Answer

Correct Answer: NULL

Note: This Question is unanswered, help us to find answer for this one

10. Which of the following operators is used to release the dynamically allocated memory in CPP?

Answer

Correct Answer: Delete

Note: This Question is unanswered, help us to find answer for this one

11. What does Contiguous Memory Allocation suffer from?

Answer

Correct Answer: External and/or Internal memory fragmentation.

Note: This Question is unanswered, help us to find answer for this one