First time here? Checkout the FAQ!
0 votes

asked in Compiler Design by Veteran (20.4k points)  
retagged by | 55 views

1 Answer

0 votes
  •  Syntax errors occur during the parsing of input code, and are caused by grammatically incorrect statements. Typical errors might be an illegal character in the input, a missing operator, two operators in a row, two statements on the same line with no intervening semicolon, unbalanced parentheses, a misplaced reserved word, etc.
  •  Semantic errors occur during the execution of the code, after it has been parsed as grammatically correct. These have to do not with how statements are constructed, but with what they mean. Such things as incorrect variable types or sizes, nonexistent variables, subscripts out of range, and the like, are semantic errors.
answered by Veteran (10.8k points)  
so syntatic error should be answer ryt .

What are translation schemes? They are actions that can be used to detect semantics errors if any while parsing takes place.

SO, I think both A and B should hold.

Related questions

0 votes
1 answer
asked in Compiler Design by focus _GATE Veteran (20.4k points)   | 83 views
0 votes
0 answers
asked in Compiler Design by focus _GATE Veteran (20.4k points)   | 42 views
0 votes
0 answers
asked in Compiler Design by focus _GATE Veteran (20.4k points)   | 35 views

Top Users Jul 2017
  1. Bikram

    5784 Points

  2. manu00x

    3602 Points

  3. Arjun

    1988 Points

  4. Debashish Deka

    1924 Points

  5. joshi_nitish

    1908 Points

  6. pawan kumarln

    1680 Points

  7. Tesla!

    1426 Points

  8. Hemant Parihar

    1334 Points

  9. Shubhanshu

    1180 Points

  10. Arnab Bhadra

    1124 Points

24,169 questions
31,187 answers
29,512 users