18C5T13 Lecture Notes - Lecture 7: Error Detection And Correction, Stack-Based Memory Allocation, Type System
Document Summary
Part-a: what are the types of intermediate code? (3m, what is abstract syntax tree? (3m, what is postfix notation? (3m, what is three address code? (3m, define direct acyclic graph? (3m, what is indirect triple? (3m) Explain different ways of representing the three address code? (8m) Give three-address code and it"s quadruple representation for the assignment: a = b * - c + b * - c (7m) Explain the role of type checking in error detection and recovery? (8m) Explain translation of expression with a example? (8m) Consider the c program and generate the code and write different object code forms (8m) { int i, a[10]; while (i<=10) a[i]=i*5; } How it is different from heap allocation? (8m) Explain run time storage allocation with a block diagram? (8m) Compare block and non block structure storage allocation? (8m) Explain two types of memory allocation techniques? (8m) 7. explain the feature garbage collection in detail? (8m)