SlideShare a Scribd company logo
1 of 1
Download to read offline
Match the following terms with the definitions given below
Terms Given
a. Heap
b. Memory leak
c. Inaccessible object
d. Dangling pointer
e. Destructor
f. Dynamic data
Definitions given
i. The loss of available space that occurs when dynamic data is not deallocation properly.
ii. The area of memory used for allocation and deallocation of dynamic data.
iii. An object that has been allocated but has no pointer pointing to it.
iv. Variables created with the new operation.
v. A pointer that points to a dellocated object.
vi. A member function invoked when an object goes out of scope.
Solution
Heap - The area of memory used for allocation and deallocation of dynamic data.
Memory leak - The loss of available space that occurs when dynamic data is not deallocation
properly.
Inaccessible object - An object that has been allocated but has no pointer pointing to it.
Dangling pointer - A pointer that points to a dellocated object.
Destructor - vi. A member function invoked when an object goes out of scope.
Dynamic data - Variables created with the new operation.

More Related Content

More from calderoncasto9163

Explain the answers in sufficient details i.e show the work ace Wha.pdf
Explain the answers in sufficient details i.e show the work ace Wha.pdfExplain the answers in sufficient details i.e show the work ace Wha.pdf
Explain the answers in sufficient details i.e show the work ace Wha.pdf
calderoncasto9163
 
Describe the difference between a. The pulmonary and systemic circula.pdf
Describe the difference between a. The pulmonary and systemic circula.pdfDescribe the difference between a. The pulmonary and systemic circula.pdf
Describe the difference between a. The pulmonary and systemic circula.pdf
calderoncasto9163
 
Describe some effects that cybertechnology has had so far for our se.pdf
Describe some effects that cybertechnology has had so far for our se.pdfDescribe some effects that cybertechnology has had so far for our se.pdf
Describe some effects that cybertechnology has had so far for our se.pdf
calderoncasto9163
 
Choose a deployment platform that allows for the implementation o.pdf
Choose a deployment platform that allows for the implementation o.pdfChoose a deployment platform that allows for the implementation o.pdf
Choose a deployment platform that allows for the implementation o.pdf
calderoncasto9163
 
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdfAbstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
calderoncasto9163
 
Answer die following questions with short answers Explain the d.pdf
Answer die following questions with short answers  Explain the d.pdfAnswer die following questions with short answers  Explain the d.pdf
Answer die following questions with short answers Explain the d.pdf
calderoncasto9163
 
A single breeding pair of rabbits is introduced to Australia in 1900.pdf
A single breeding pair of rabbits is introduced to Australia in 1900.pdfA single breeding pair of rabbits is introduced to Australia in 1900.pdf
A single breeding pair of rabbits is introduced to Australia in 1900.pdf
calderoncasto9163
 
Write a java program using Dialog boxes that prompt the user to inpu.pdf
Write a java program using Dialog boxes that prompt the user to inpu.pdfWrite a java program using Dialog boxes that prompt the user to inpu.pdf
Write a java program using Dialog boxes that prompt the user to inpu.pdf
calderoncasto9163
 
With respect to the many accounting and financial ratios calculated .pdf
With respect to the many accounting and financial ratios calculated .pdfWith respect to the many accounting and financial ratios calculated .pdf
With respect to the many accounting and financial ratios calculated .pdf
calderoncasto9163
 

More from calderoncasto9163 (20)

Explain the answers in sufficient details i.e show the work ace Wha.pdf
Explain the answers in sufficient details i.e show the work ace Wha.pdfExplain the answers in sufficient details i.e show the work ace Wha.pdf
Explain the answers in sufficient details i.e show the work ace Wha.pdf
 
Each figure is an isometry image of the figure at the right. Tell whe.pdf
Each figure is an isometry image of the figure at the right. Tell whe.pdfEach figure is an isometry image of the figure at the right. Tell whe.pdf
Each figure is an isometry image of the figure at the right. Tell whe.pdf
 
E. None of the above.E. Actually, they differ in all of these ways.pdf
E. None of the above.E. Actually, they differ in all of these ways.pdfE. None of the above.E. Actually, they differ in all of these ways.pdf
E. None of the above.E. Actually, they differ in all of these ways.pdf
 
Describe the difference between a. The pulmonary and systemic circula.pdf
Describe the difference between a. The pulmonary and systemic circula.pdfDescribe the difference between a. The pulmonary and systemic circula.pdf
Describe the difference between a. The pulmonary and systemic circula.pdf
 
Cross a homozygous running, heterozygous black mouse with a waltzing.pdf
Cross a homozygous running, heterozygous black mouse with a waltzing.pdfCross a homozygous running, heterozygous black mouse with a waltzing.pdf
Cross a homozygous running, heterozygous black mouse with a waltzing.pdf
 
Describe some effects that cybertechnology has had so far for our se.pdf
Describe some effects that cybertechnology has had so far for our se.pdfDescribe some effects that cybertechnology has had so far for our se.pdf
Describe some effects that cybertechnology has had so far for our se.pdf
 
Choose a deployment platform that allows for the implementation o.pdf
Choose a deployment platform that allows for the implementation o.pdfChoose a deployment platform that allows for the implementation o.pdf
Choose a deployment platform that allows for the implementation o.pdf
 
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdfAbstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
 
A range of values estimated to have a high probably of containing th.pdf
A range of values estimated to have a high probably of containing th.pdfA range of values estimated to have a high probably of containing th.pdf
A range of values estimated to have a high probably of containing th.pdf
 
A thrown lump of clay hits a block in mid air and sticks to it. what.pdf
A thrown lump of clay hits a block in mid air and sticks to it. what.pdfA thrown lump of clay hits a block in mid air and sticks to it. what.pdf
A thrown lump of clay hits a block in mid air and sticks to it. what.pdf
 
Answer die following questions with short answers Explain the d.pdf
Answer die following questions with short answers  Explain the d.pdfAnswer die following questions with short answers  Explain the d.pdf
Answer die following questions with short answers Explain the d.pdf
 
A single breeding pair of rabbits is introduced to Australia in 1900.pdf
A single breeding pair of rabbits is introduced to Australia in 1900.pdfA single breeding pair of rabbits is introduced to Australia in 1900.pdf
A single breeding pair of rabbits is introduced to Australia in 1900.pdf
 
Write an application that counts the total number of spaces containe.pdf
Write an application that counts the total number of spaces containe.pdfWrite an application that counts the total number of spaces containe.pdf
Write an application that counts the total number of spaces containe.pdf
 
Write a java program using Dialog boxes that prompt the user to inpu.pdf
Write a java program using Dialog boxes that prompt the user to inpu.pdfWrite a java program using Dialog boxes that prompt the user to inpu.pdf
Write a java program using Dialog boxes that prompt the user to inpu.pdf
 
With respect to the many accounting and financial ratios calculated .pdf
With respect to the many accounting and financial ratios calculated .pdfWith respect to the many accounting and financial ratios calculated .pdf
With respect to the many accounting and financial ratios calculated .pdf
 
Why do we use the pooled variance in calculations of independent sam.pdf
Why do we use the pooled variance in calculations of independent sam.pdfWhy do we use the pooled variance in calculations of independent sam.pdf
Why do we use the pooled variance in calculations of independent sam.pdf
 
Why is the epidermis called dynamicSolutionAnswerThe o.pdf
Why is the epidermis called dynamicSolutionAnswerThe o.pdfWhy is the epidermis called dynamicSolutionAnswerThe o.pdf
Why is the epidermis called dynamicSolutionAnswerThe o.pdf
 
Which type of system documentation provides the most detaila. Sys.pdf
Which type of system documentation provides the most detaila. Sys.pdfWhich type of system documentation provides the most detaila. Sys.pdf
Which type of system documentation provides the most detaila. Sys.pdf
 
What type of report would you present to your boss on healthcare stu.pdf
What type of report would you present to your boss on healthcare stu.pdfWhat type of report would you present to your boss on healthcare stu.pdf
What type of report would you present to your boss on healthcare stu.pdf
 
what are ethical implications of not paying your fair share of tax.pdf
what are ethical implications of not paying your fair share of tax.pdfwhat are ethical implications of not paying your fair share of tax.pdf
what are ethical implications of not paying your fair share of tax.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Match the following terms with the definitions given belowTerms Gi.pdf

  • 1. Match the following terms with the definitions given below Terms Given a. Heap b. Memory leak c. Inaccessible object d. Dangling pointer e. Destructor f. Dynamic data Definitions given i. The loss of available space that occurs when dynamic data is not deallocation properly. ii. The area of memory used for allocation and deallocation of dynamic data. iii. An object that has been allocated but has no pointer pointing to it. iv. Variables created with the new operation. v. A pointer that points to a dellocated object. vi. A member function invoked when an object goes out of scope. Solution Heap - The area of memory used for allocation and deallocation of dynamic data. Memory leak - The loss of available space that occurs when dynamic data is not deallocation properly. Inaccessible object - An object that has been allocated but has no pointer pointing to it. Dangling pointer - A pointer that points to a dellocated object. Destructor - vi. A member function invoked when an object goes out of scope. Dynamic data - Variables created with the new operation.