Menu

Code Generation Questions

MCQ
1.
Code generation can be considered as the?
forum Discussion
MCQ
2.
 ___________ is a tool that depicts the structure of basic blocks, helps to see the flow of values flowing among the basic blocks, and offers optimization too.
forum Discussion
MCQ
3.
n Directed Acyclic Graph, Leaf nodes represent?
forum Discussion
MCQ
4.
n Algebraic expression simplification, a = a + 1 can simply be replaced by?
forum Discussion
MCQ
5.
x * 2 can be replaced by x << 1 is an example of?
forum Discussion
MCQ
6.
 The following code is an example of?

void add_ten(int x)
{
   return x + 10;
   printf(""value of x is %d"", x);
}
forum Discussion
MCQ
7.
How many descriptors are used for track both the registers (for availability) and addresses (location of values) while generating the code?
forum Discussion
MCQ
8.
__________ are used to keep track of memory locations where the values of identifiers are stored.
forum Discussion
MCQ
9.
Code generator uses ______ function to determine the status of available registers and the location of name values.
forum Discussion
MCQ
10.
Which of the following is not a form of Intermediate representation?
forum Discussion
Page 1 of 2Next chevron_right