Memory management Analysis MCQ
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
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
In CPP, dynamic memory allocation is done using ______________ operator.
Note: This Question is unanswered, help us to find answer for this one
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
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
Can we allocate memory for the objects dynamically in CPP?
Note: This Question is unanswered, help us to find answer for this one
Which of the following is/are valid ways to allocate memory for an integer by dynamic memory allocation in CPP?
Note: This Question is unanswered, help us to find answer for this one
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
During dynamic memory allocation in CPP, new operator returns__________ value if memory allocation is unsuccessful.
Note: This Question is unanswered, help us to find answer for this one
Which of the following operators is used to release the dynamically allocated memory in CPP?
Note: This Question is unanswered, help us to find answer for this one
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