Question 4
a. You were employed as a compiler designer at IBX company, you know that a program may have different types of errors that the compiler can flag during compilation.
i) explain the type of errors that a junior colleague who presented the following code to will have
z = (31 + 1) * 11);
if a > b a =5 ;
while ( s == 7) do f1();
[8 marks]
ii) Describe how the errors above can be debugged.
[6 marks]
Comments
Leave a comment