245 views
1 votes
1 votes

Consider the following errors :
i.) Accessing array index which is out of bounds
ii.) Context errors
iii.) Calling method with arguments of wrong type
iv.) Misspelling a keyword
Which of the following option/s is/are false?

  1.   i, ii , iii are detected in type checking phase
  2.   iv is detected by the pre-processor.
  3.   only ii is detected in type checking phase
  4.   i, ii, iii are semantic errors

please explain each one...

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
1
Akriti sood asked Dec 10, 2016
2,067 views
Consider the following statements:S1: A syntax tree should not have keywords as leaves.S2: A syntax tree is a condensed form of parse tree.Which of the above statement/s ...
3 votes
3 votes
4 answers
2
Harit asked Apr 25, 2016
5,562 views
Consider the following grammar. How many back tracks are required to generate the string aab from the above grammar?S → aB | aAbA → bAb | aB → aB | ε
3 votes
3 votes
3 answers
3