Consider the following C code segment.
For (i = 0, i
For (j=0; j
If (i%2)
{
X += (4*j + 5*i) ;
Y += (7 + 4*j) ;
}
}
}
Which one of the following is false?
A) The code contains loop invariant computation
B) There is scope of common sub-expression elimination in this code
C) There is scope of strength reduction in this code
D) There is scope of dead code elimination in this code
Correct Answer:
Verified
Q9: Which is True about SR and RR-conflict:
A)If
Q10: Which of the following statement(s) regarding a
Q11: Shift-Reduce parsers perform the following:
A)Shift step that
Q12: Incremental-Compiler is a compiler
A)which is written in
Q13: Which one of the following is FALSE?
A)A
Q15: Consider the intermediate code given below:
1) i
Q16: Consider the following code segment.
X = u
Q17: A linker reads four modules whose lengths
Q18: A language L allows declaration of arrays
Q19: The expression (a*b)* c op........ where 'op'
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents