CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following statements :
1. Three address code is a linearized representation of syntax tree.
2. Type checking is done during all the phases especially in syntax analysis phase.
3. Target code generation phase is machine independent code generation.
4. Symbol table is accessed during lexical, syntax and semantic analysis phase.
The number of the correct statements is /are ______.

A
1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 2
Statement 1 and 4 is correct.
Type checking is done at semantic analysis phase.
Target code generation is dependent based on the machine.
Symbol table accessed during lexical, syntax and semantic analysis phase.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Training and Development
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon