832 views
1 votes
1 votes
Choose the correct statement with respect to the syntax analysis of a compiler
(A) it can not always be modeled by a BNF grammar, but by a cfg
(B) it can be modeled by push down automata which is What a parser is all about
(C) it checks both the form & meaning of the program in a HLL
(D) none of the above

Given ans: C

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
syncronizing asked Sep 22, 2018
1,168 views
Incompatable types work with the _____________A. Syntax treeB.semantic analyzerC.Code optimizerD.Lexical analyzerAnswer is BPlease explain why?
0 votes
0 votes
1 answer
2
shikharV asked Nov 19, 2015
567 views
Given answer: CBut I believe that syntax analyzer is just for checking the form of the source code. The meaning of the program is interpreted in semantic analyzer phase o...
12 votes
12 votes
5 answers
3
Shubhanshu asked Jan 31, 2018
7,330 views
int main() { int 1a, b; Printf("\nGate 2018"); Printf("%d",x); }How many types of error are there in this code?
5 votes
5 votes
2 answers
4
nakshatra asked Dec 11, 2015
3,842 views
What is the difference in between lexical, syntax and semantic errors?Please give appropriate example also.