EXAMRADAR

Question: Which of the following statements stands true for Static memory allocation. <ol> <li>Static memory allocated can be performed by a compiler,linker or loader.</li> <li>Static memory allocation to a process is possible only if size of its data structures are known before its execution begins.</li> <li>static memory allocation is performed in a lazy manner during execution of program.</li> <li>static memory is allocated to a function or a variable just before its is used for the first time.</li> </ol>

Answer:

Static memory allocated can be performed by a compiler,linker or loader while a program is being readied for execution.
Static memory allocation to a process is possible only if size of its data structures are known before its execution begins.if sizes are not known,they have to be guessed :wrong estimation can lead to wastage of memory and lack of flexibility

MCQ: Which of the following statements stands true for Static memory allocation. <ol> <li>Static memory allocated can be performed by a compiler,linker or loader.</li> <li>Static memory allocation to a process is possible only if size of its data structures are known before its execution begins.</li> <li>static memory allocation is performed in a lazy manner during execution of program.</li> <li>static memory is allocated to a function or a variable just before its is used for the first time.</li> </ol>

Correct Answer: A. 1,2

Explanation:

Static memory allocated can be performed by a compiler,linker or loader while a program is being readied for execution.
Static memory allocation to a process is possible only if size of its data structures are known before its execution begins.if sizes are not known,they have to be guessed :wrong estimation can lead to wastage of memory and lack of flexibility

Discuss a Question

Related Questions

You may be interested in:

OS Memory Management MCQs

Recently Added Articles

How Can AI Simplify the Academic Life of Students?

How Can AI Simplify the Academic Life of Students?

Last updated on: April 16, 2025Posted by: ExamRadar

Want to Clear IBPS RRB PO? Master These Mock Test Hacks!

Last updated on: March 10, 2025Posted by: ExamRadar

Top AI Tools for Instantly Detecting Plagiarized Writing

Last updated on: December 5, 2024Posted by: ExamRadar

5 Important Tools for System Administrators

Last updated on: December 1, 2024Posted by: ExamRadar

Image to Text Conversion Made Easy: Online Tool Insights

Last updated on: April 12, 2024Posted by: ExamRadar

Tips to Write an Email: Pro Email Writing Tips

Last updated on: March 20, 2024Posted by: ExamRadar

Yellow diamond: the market worth and value

Last updated on: March 9, 2024Posted by: ExamRadar