SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
Note : Please draw out the relevant points-to graphs clearly with proper explaination
Q5.1 Translate the statement h.next.next.data = new Object() into normal form for pointer
analysis, using additional temporary variables.
Q5.2 With an allocation-site heap abstraction, what abstract locations will the variable c point to in
the points-to graph? Select all that apply, and briefly explain your answer.
i) n1 ii)n2 iii)o1 iv)o2
Q5.3 With an allocation-site heap abstraction, what abstract locations will the next edge from node
n1 point to in the points-to graph? Select all that apply.
i) n1 ii)n2 iii)o1 iv)o2
Q5.4 With an allocation-site heap abstraction, what abstract locations will the next edge from node
n2 point to in the points-to graph? Select all that apply
i) n1 ii)n2 iii)o1 iv)o2
Q5.5 With an allocation-site heap abstraction, what abstract locations will the variable y point to in
the points-to graph? Select all that apply (no partial credit)
i) n1 ii)n2 iii)o1 iv)o2
Q5.6 Say we use a typed-based heap abstraction for objects of type Node , but an allocation-site
heap abstraction for objects of type Object . What abstract locations will the variable x point to in
the points-to graph? Select all that apply (no partial credit)
i) n1 ii)n2 iii)o1 iv)o2
16 Points Consider the following linked-list program: class Node { Object data; Node next; static
void m(){ Node h= new Node ();//n1 Node c=h; while (.){. c.next = new Node( ();//n2 c=c next; }
h.data = new Object ();// ol h.next.next.data = new object ();//02 Object x=h data; Object y=hnext
data; } n1, , 01, and are names for the allocation sites in the program, to be used when using an
allocation-site heap abstraction. Answer the following questions. TIP: for Q5.2-Q5.6, we suggest
you draw out the relevant points-to graphs on a piece of paper.

Mais conteúdo relacionado

Semelhante a Note Please draw out the relevant pointsto graphs clearly.pdf

Redo midterm
Redo midtermRedo midterm
Redo midtermIIUM
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004Rohit Garg
 
Trident International Graphics Workshop 2014 1/5
Trident International Graphics Workshop 2014 1/5Trident International Graphics Workshop 2014 1/5
Trident International Graphics Workshop 2014 1/5Takao Wada
 
Trident International Graphics Workshop 2014 4/5
Trident International Graphics Workshop 2014 4/5Trident International Graphics Workshop 2014 4/5
Trident International Graphics Workshop 2014 4/5Takao Wada
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsJonny Daenen
 
ALGORITHMS - SHORT NOTES
ALGORITHMS - SHORT NOTESALGORITHMS - SHORT NOTES
ALGORITHMS - SHORT NOTESsuthi
 
Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Mostafa G. M. Mostafa
 
A New Abstraction For Summary-Based Pointer Analysis
A New Abstraction For Summary-Based Pointer AnalysisA New Abstraction For Summary-Based Pointer Analysis
A New Abstraction For Summary-Based Pointer AnalysisHeather Strinden
 
An Efficient Convex Hull Algorithm for a Planer Set of Points
An Efficient Convex Hull Algorithm for a Planer Set of PointsAn Efficient Convex Hull Algorithm for a Planer Set of Points
An Efficient Convex Hull Algorithm for a Planer Set of PointsKasun Ranga Wijeweera
 
Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.organnaunivedu
 
Ch-2 final exam documet compler design elements
Ch-2 final exam documet compler design elementsCh-2 final exam documet compler design elements
Ch-2 final exam documet compler design elementsMAHERMOHAMED27
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...Ken Sakurada
 
The Catholic University of America School of Engineering .docx
The Catholic University of America School of Engineering .docxThe Catholic University of America School of Engineering .docx
The Catholic University of America School of Engineering .docxmattinsonjanel
 
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures Intel® Software
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfRajJain516913
 
Steps on Factoring A perfect square trinomial
Steps on Factoring A perfect square trinomialSteps on Factoring A perfect square trinomial
Steps on Factoring A perfect square trinomialmikmikmik0229
 

Semelhante a Note Please draw out the relevant pointsto graphs clearly.pdf (20)

Mlab i
Mlab iMlab i
Mlab i
 
Capstone paper
Capstone paperCapstone paper
Capstone paper
 
Redo midterm
Redo midtermRedo midterm
Redo midterm
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004
 
Trident International Graphics Workshop 2014 1/5
Trident International Graphics Workshop 2014 1/5Trident International Graphics Workshop 2014 1/5
Trident International Graphics Workshop 2014 1/5
 
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
3rd Semester Computer Science and Engineering  (ACU-2022) Question papers3rd Semester Computer Science and Engineering  (ACU-2022) Question papers
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
 
Trident International Graphics Workshop 2014 4/5
Trident International Graphics Workshop 2014 4/5Trident International Graphics Workshop 2014 4/5
Trident International Graphics Workshop 2014 4/5
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-Joins
 
ALGORITHMS - SHORT NOTES
ALGORITHMS - SHORT NOTESALGORITHMS - SHORT NOTES
ALGORITHMS - SHORT NOTES
 
Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)
 
A New Abstraction For Summary-Based Pointer Analysis
A New Abstraction For Summary-Based Pointer AnalysisA New Abstraction For Summary-Based Pointer Analysis
A New Abstraction For Summary-Based Pointer Analysis
 
An Efficient Convex Hull Algorithm for a Planer Set of Points
An Efficient Convex Hull Algorithm for a Planer Set of PointsAn Efficient Convex Hull Algorithm for a Planer Set of Points
An Efficient Convex Hull Algorithm for a Planer Set of Points
 
Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.org
 
Ch-2 final exam documet compler design elements
Ch-2 final exam documet compler design elementsCh-2 final exam documet compler design elements
Ch-2 final exam documet compler design elements
 
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
論文紹介"DynamicFusion: Reconstruction and Tracking of Non-­‐rigid Scenes in Real...
 
The Catholic University of America School of Engineering .docx
The Catholic University of America School of Engineering .docxThe Catholic University of America School of Engineering .docx
The Catholic University of America School of Engineering .docx
 
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures
Massively Parallel K-Nearest Neighbor Computation on Distributed Architectures
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
 
Steps on Factoring A perfect square trinomial
Steps on Factoring A perfect square trinomialSteps on Factoring A perfect square trinomial
Steps on Factoring A perfect square trinomial
 
Algorithms Design Homework Help
Algorithms Design Homework HelpAlgorithms Design Homework Help
Algorithms Design Homework Help
 

Mais de saravanan544051

Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdf
Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdfNokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdf
Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdfsaravanan544051
 
Notable historic volcanic eruptions include the eruption of .pdf
Notable historic volcanic eruptions include the eruption of .pdfNotable historic volcanic eruptions include the eruption of .pdf
Notable historic volcanic eruptions include the eruption of .pdfsaravanan544051
 
Nithout Crossing Over Meiosis I Microtubules shorten sepa.pdf
Nithout Crossing Over  Meiosis I Microtubules shorten sepa.pdfNithout Crossing Over  Meiosis I Microtubules shorten sepa.pdf
Nithout Crossing Over Meiosis I Microtubules shorten sepa.pdfsaravanan544051
 
Nosotros contra ellos la democracia estadounidense amenaz.pdf
Nosotros contra ellos la democracia estadounidense amenaz.pdfNosotros contra ellos la democracia estadounidense amenaz.pdf
Nosotros contra ellos la democracia estadounidense amenaz.pdfsaravanan544051
 
not exaclty sure what to do here U Sexlinked Disorders Se.pdf
not exaclty sure what to do here  U Sexlinked Disorders Se.pdfnot exaclty sure what to do here  U Sexlinked Disorders Se.pdf
not exaclty sure what to do here U Sexlinked Disorders Se.pdfsaravanan544051
 
Noras utility function is given by U lnC + lnL where.pdf
Noras utility function is given by U  lnC + lnL where.pdfNoras utility function is given by U  lnC + lnL where.pdf
Noras utility function is given by U lnC + lnL where.pdfsaravanan544051
 
Normalization BCNF Verify all tables to see whether or not.pdf
Normalization BCNF Verify all tables to see whether or not.pdfNormalization BCNF Verify all tables to see whether or not.pdf
Normalization BCNF Verify all tables to see whether or not.pdfsaravanan544051
 
Nonstandard dice can produce interesting distributions of o.pdf
Nonstandard dice can produce interesting distributions of o.pdfNonstandard dice can produce interesting distributions of o.pdf
Nonstandard dice can produce interesting distributions of o.pdfsaravanan544051
 
Nonnative species management nNative Species Management 1.pdf
Nonnative species management nNative Species Management 1.pdfNonnative species management nNative Species Management 1.pdf
Nonnative species management nNative Species Management 1.pdfsaravanan544051
 
Noras utility function is given by UlnC+lnL where U i.pdf
Noras utility function is given by UlnC+lnL where U i.pdfNoras utility function is given by UlnC+lnL where U i.pdf
Noras utility function is given by UlnC+lnL where U i.pdfsaravanan544051
 
Noce it any boxes seem not applicable leave blank The f.pdf
Noce it any boxes seem not applicable leave blank The f.pdfNoce it any boxes seem not applicable leave blank The f.pdf
Noce it any boxes seem not applicable leave blank The f.pdfsaravanan544051
 
Nonconstant Dividends LO1 McCabe Corporation is expected .pdf
Nonconstant Dividends LO1 McCabe Corporation is expected .pdfNonconstant Dividends LO1 McCabe Corporation is expected .pdf
Nonconstant Dividends LO1 McCabe Corporation is expected .pdfsaravanan544051
 
Nonprofit corporations are also called Select one a eleemo.pdf
Nonprofit corporations are also called Select one a eleemo.pdfNonprofit corporations are also called Select one a eleemo.pdf
Nonprofit corporations are also called Select one a eleemo.pdfsaravanan544051
 
Nomuras Integration of Lehman Brothers Assets in Asia and .pdf
Nomuras Integration of Lehman Brothers Assets in Asia and .pdfNomuras Integration of Lehman Brothers Assets in Asia and .pdf
Nomuras Integration of Lehman Brothers Assets in Asia and .pdfsaravanan544051
 
Non random sampling offers the best chance of choosing a sam.pdf
Non random sampling offers the best chance of choosing a sam.pdfNon random sampling offers the best chance of choosing a sam.pdf
Non random sampling offers the best chance of choosing a sam.pdfsaravanan544051
 
NoGrowth Corporation currently pays a dividend of 044 per .pdf
NoGrowth Corporation currently pays a dividend of 044 per .pdfNoGrowth Corporation currently pays a dividend of 044 per .pdf
NoGrowth Corporation currently pays a dividend of 044 per .pdfsaravanan544051
 
Nestlde ERP ve Deiim Ynetimi vaka almas analizi Vaka i.pdf
Nestlde ERP ve Deiim Ynetimi  vaka almas analizi Vaka i.pdfNestlde ERP ve Deiim Ynetimi  vaka almas analizi Vaka i.pdf
Nestlde ERP ve Deiim Ynetimi vaka almas analizi Vaka i.pdfsaravanan544051
 
No question providing a table that passes This is wha.pdf
No question providing a table that passes This is wha.pdfNo question providing a table that passes This is wha.pdf
No question providing a table that passes This is wha.pdfsaravanan544051
 
No puedo dejar de toser un estudio de caso sobre el sistema.pdf
No puedo dejar de toser un estudio de caso sobre el sistema.pdfNo puedo dejar de toser un estudio de caso sobre el sistema.pdf
No puedo dejar de toser un estudio de caso sobre el sistema.pdfsaravanan544051
 
No publique esto como respondido si NO lo responde la .pdf
No publique esto como respondido si NO lo responde la .pdfNo publique esto como respondido si NO lo responde la .pdf
No publique esto como respondido si NO lo responde la .pdfsaravanan544051
 

Mais de saravanan544051 (20)

Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdf
Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdfNokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdf
Nokta grafii yerine gvde ve yaprak gsterimi yapmann avanta.pdf
 
Notable historic volcanic eruptions include the eruption of .pdf
Notable historic volcanic eruptions include the eruption of .pdfNotable historic volcanic eruptions include the eruption of .pdf
Notable historic volcanic eruptions include the eruption of .pdf
 
Nithout Crossing Over Meiosis I Microtubules shorten sepa.pdf
Nithout Crossing Over  Meiosis I Microtubules shorten sepa.pdfNithout Crossing Over  Meiosis I Microtubules shorten sepa.pdf
Nithout Crossing Over Meiosis I Microtubules shorten sepa.pdf
 
Nosotros contra ellos la democracia estadounidense amenaz.pdf
Nosotros contra ellos la democracia estadounidense amenaz.pdfNosotros contra ellos la democracia estadounidense amenaz.pdf
Nosotros contra ellos la democracia estadounidense amenaz.pdf
 
not exaclty sure what to do here U Sexlinked Disorders Se.pdf
not exaclty sure what to do here  U Sexlinked Disorders Se.pdfnot exaclty sure what to do here  U Sexlinked Disorders Se.pdf
not exaclty sure what to do here U Sexlinked Disorders Se.pdf
 
Noras utility function is given by U lnC + lnL where.pdf
Noras utility function is given by U  lnC + lnL where.pdfNoras utility function is given by U  lnC + lnL where.pdf
Noras utility function is given by U lnC + lnL where.pdf
 
Normalization BCNF Verify all tables to see whether or not.pdf
Normalization BCNF Verify all tables to see whether or not.pdfNormalization BCNF Verify all tables to see whether or not.pdf
Normalization BCNF Verify all tables to see whether or not.pdf
 
Nonstandard dice can produce interesting distributions of o.pdf
Nonstandard dice can produce interesting distributions of o.pdfNonstandard dice can produce interesting distributions of o.pdf
Nonstandard dice can produce interesting distributions of o.pdf
 
Nonnative species management nNative Species Management 1.pdf
Nonnative species management nNative Species Management 1.pdfNonnative species management nNative Species Management 1.pdf
Nonnative species management nNative Species Management 1.pdf
 
Noras utility function is given by UlnC+lnL where U i.pdf
Noras utility function is given by UlnC+lnL where U i.pdfNoras utility function is given by UlnC+lnL where U i.pdf
Noras utility function is given by UlnC+lnL where U i.pdf
 
Noce it any boxes seem not applicable leave blank The f.pdf
Noce it any boxes seem not applicable leave blank The f.pdfNoce it any boxes seem not applicable leave blank The f.pdf
Noce it any boxes seem not applicable leave blank The f.pdf
 
Nonconstant Dividends LO1 McCabe Corporation is expected .pdf
Nonconstant Dividends LO1 McCabe Corporation is expected .pdfNonconstant Dividends LO1 McCabe Corporation is expected .pdf
Nonconstant Dividends LO1 McCabe Corporation is expected .pdf
 
Nonprofit corporations are also called Select one a eleemo.pdf
Nonprofit corporations are also called Select one a eleemo.pdfNonprofit corporations are also called Select one a eleemo.pdf
Nonprofit corporations are also called Select one a eleemo.pdf
 
Nomuras Integration of Lehman Brothers Assets in Asia and .pdf
Nomuras Integration of Lehman Brothers Assets in Asia and .pdfNomuras Integration of Lehman Brothers Assets in Asia and .pdf
Nomuras Integration of Lehman Brothers Assets in Asia and .pdf
 
Non random sampling offers the best chance of choosing a sam.pdf
Non random sampling offers the best chance of choosing a sam.pdfNon random sampling offers the best chance of choosing a sam.pdf
Non random sampling offers the best chance of choosing a sam.pdf
 
NoGrowth Corporation currently pays a dividend of 044 per .pdf
NoGrowth Corporation currently pays a dividend of 044 per .pdfNoGrowth Corporation currently pays a dividend of 044 per .pdf
NoGrowth Corporation currently pays a dividend of 044 per .pdf
 
Nestlde ERP ve Deiim Ynetimi vaka almas analizi Vaka i.pdf
Nestlde ERP ve Deiim Ynetimi  vaka almas analizi Vaka i.pdfNestlde ERP ve Deiim Ynetimi  vaka almas analizi Vaka i.pdf
Nestlde ERP ve Deiim Ynetimi vaka almas analizi Vaka i.pdf
 
No question providing a table that passes This is wha.pdf
No question providing a table that passes This is wha.pdfNo question providing a table that passes This is wha.pdf
No question providing a table that passes This is wha.pdf
 
No puedo dejar de toser un estudio de caso sobre el sistema.pdf
No puedo dejar de toser un estudio de caso sobre el sistema.pdfNo puedo dejar de toser un estudio de caso sobre el sistema.pdf
No puedo dejar de toser un estudio de caso sobre el sistema.pdf
 
No publique esto como respondido si NO lo responde la .pdf
No publique esto como respondido si NO lo responde la .pdfNo publique esto como respondido si NO lo responde la .pdf
No publique esto como respondido si NO lo responde la .pdf
 

Último

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 

Último (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 

Note Please draw out the relevant pointsto graphs clearly.pdf

  • 1. Note : Please draw out the relevant points-to graphs clearly with proper explaination Q5.1 Translate the statement h.next.next.data = new Object() into normal form for pointer analysis, using additional temporary variables. Q5.2 With an allocation-site heap abstraction, what abstract locations will the variable c point to in the points-to graph? Select all that apply, and briefly explain your answer. i) n1 ii)n2 iii)o1 iv)o2 Q5.3 With an allocation-site heap abstraction, what abstract locations will the next edge from node n1 point to in the points-to graph? Select all that apply. i) n1 ii)n2 iii)o1 iv)o2 Q5.4 With an allocation-site heap abstraction, what abstract locations will the next edge from node n2 point to in the points-to graph? Select all that apply i) n1 ii)n2 iii)o1 iv)o2 Q5.5 With an allocation-site heap abstraction, what abstract locations will the variable y point to in the points-to graph? Select all that apply (no partial credit) i) n1 ii)n2 iii)o1 iv)o2 Q5.6 Say we use a typed-based heap abstraction for objects of type Node , but an allocation-site heap abstraction for objects of type Object . What abstract locations will the variable x point to in the points-to graph? Select all that apply (no partial credit) i) n1 ii)n2 iii)o1 iv)o2 16 Points Consider the following linked-list program: class Node { Object data; Node next; static void m(){ Node h= new Node ();//n1 Node c=h; while (.){. c.next = new Node( ();//n2 c=c next; } h.data = new Object ();// ol h.next.next.data = new object ();//02 Object x=h data; Object y=hnext data; } n1, , 01, and are names for the allocation sites in the program, to be used when using an allocation-site heap abstraction. Answer the following questions. TIP: for Q5.2-Q5.6, we suggest you draw out the relevant points-to graphs on a piece of paper.