PrepAway - Latest Free Exam Questions & Answers

Which of the following best describes what Tim needs to look at implement to rid this software of this type of

Tim is a software developer for a financial institution. He develops middleware software code that carries out his company’s business logic functions. One of the applications he works with is written in the C programmer language and seems to be taking up too much memory as it runs over a period of time. Which of the following best describes what Tim needs to look at implement to rid this software of this type of problem?

PrepAway - Latest Free Exam Questions & Answers

A.
Bounds checking

B.
Garbage collector

C.
Parameter checking

D.
Compiling

Explanation:
Garbage collection is an automated way for the operating system to carry out part of its memory management tasks. A garbage collector identifies blocks of memory that were once allocated but are no longer in use and deallocates the blocks and marks them as free. It also gathers scattered blocks of free memory and combines them into larger blocks. It helps provide a more stable environment and does not waste precious memory. Some programming languages, such as Java, perform automatic garbage collection; others, such as C, require the developer to perform it manually, thus leaving opportunity for error.

One Comment on “Which of the following best describes what Tim needs to look at implement to rid this software of this type of


Leave a Reply