SlideShare a Scribd company logo
1 of 1
Download to read 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.

More Related Content

Similar to 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
 

Similar to 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
 

More from 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
 

More from 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
 

Recently uploaded

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
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
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

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.