Which one of the following statements is FALSE?
(A) Context-free grammar can be used to specify both lexical and syntax rules.
(B) Type checking is done before parsing.
(C) High-level language programs can be translated to different Intermediate Representations.
(D) Arguments to a function can be passed using the program stack.
Answer: (B)
Explanation: Type checking is done at semantic analysis phase and parsing is done at syntax analysis phase. And we know Syntax analysis phase comes before semantic analysis. So Option (B) is False.
All other options seems Correct.
Quiz of this Question
Recommended Posts:
- GATE | GATE CS Mock 2018 | Set 2 | Question 1
- GATE | GATE CS Mock 2018 | Set 2 | Question 15
- GATE | GATE CS Mock 2018 | Set 2 | Question 16
- GATE | GATE CS Mock 2018 | Set 2 | Question 17
- GATE | GATE CS Mock 2018 | Set 2 | Question 18
- GATE | GATE CS Mock 2018 | Set 2 | Question 19
- GATE | GATE CS Mock 2018 | Set 2 | Question 20
- GATE | GATE CS Mock 2018 | Set 2 | Question 21
- GATE | GATE CS Mock 2018 | Set 2 | Question 14
- GATE | GATE CS Mock 2018 | Set 2 | Question 13
- GATE | GATE CS Mock 2018 | Set 2 | Question 2
- GATE | GATE CS Mock 2018 | Set 2 | Question 3
- GATE | GATE CS Mock 2018 | Set 2 | Question 4
- GATE | GATE CS Mock 2018 | Set 2 | Question 5
- GATE | GATE CS Mock 2018 | Set 2 | Question 6
- GATE | GATE CS Mock 2018 | Set 2 | Question 7
- GATE | GATE CS Mock 2018 | Set 2 | Question 8
- GATE | GATE CS Mock 2018 | Set 2 | Question 9
- GATE | GATE CS Mock 2018 | Set 2 | Question 10
- GATE | GATE CS Mock 2018 | Set 2 | Question 11

