Engineering Covylege
® Seermanta
DEPARTMENT OF MCA
ASSIGNMENT
BRANCH: MCA SEMESTER: 3rd SEM DATE: 22/11/2023
SUBJECT: COMPILER DESIGN
FULL MARK: 05 MARKS, _
For Subject Teacher Use Only
‘Question No a 2 Total Mark Secured
Mark Secured
For Student Use Only
Name of the Student: (“OHIT KUMAR GEHERM
RollNo: QAQYMCAO% BPUT RegistrationNo: RQoGYO 1014
‘Answer all the questions. Each Question Carried 2.5 Marks.
Q1. What do you mean by a cross compiler? Differentiate between cross compiler and
interpreter.
Q2. What is syntax tree? Which type of errors are detected by syntax analysis phase?
ANSWER,
A enoss compiles is a type of compiley that nos OD one platform
CHa hat) mt genenates exettonle cele fox aiff event
plat fewer ¢ tanger) .
b
= Cormpiley.
Cross
eee. cor piles that nuot 09 one plat forma
files FS e
A cress Com pf ie Code fos A off Fesenl plat fem
OM
put generates exec
+ °
ers | een thy clevelopmen! and ex ecutpod
use:
uw oF #29
erro ment ana otstiner, 0 o> han) a, Sota
en
Fon embeded systems ory eA HPR mci techursay
In
tq tepproectee ;
fa sates preetey Arsonsiares anal enceutes nase
Rl
pea proatucing OO Sepanate enerut orl ® RH wove
[Pagei emecuhs|
Ainecaty coith tha cource code jnterspoer % ond *xec 0
HIM Real Hme . Interpreters one ge ae
Plok Fou eq clependedt ona) do not produces stood alon®
execrtarlers
=e a .
A sy tox anee, alse Know o§ A parse Mek ia pienaacmic aA
‘ se shpucden
Avee like structune, Mat represents tha syntacric Sheed S
nutes of
SF a source Cod aceoratinn, yo
eg omnes vtt flusteades the pofoetien hip befvery
19 the cone shout ) hoc thea nna aaxivedt
Xa Fos mar
APFerent erernent
freve) ph aysaenmey niles.
m3 » detec.
Syntax onoiysts phases performed hq pers SO¥S ete,
C8, eengzed HA Shructues of the cede base} 09
PS oysarnmes . TH? phase prvi mare ih jalen tifies symiax enners ,
SvOr oO erassing rs ris placed, PUNCALAATION, , IN COTES
Kegon LUSAHL ONY vie\atiogs OF loo guage qramm ery
ensures that rhe code cenfoarns fe thy
synacrS moles pefose Ruth erg Teeeee
ries. WV
eaqeeq?
Mohil Kumars Renena
Signature of Student Signature of Teacher
2lPage