Phases: Logical stages like lexical, syntax, semantic, code generation
Passes: Number of times source program is read One pass may contain multiple phases.
b. Top-Down vs Bottom-Up Parsing
Top-Down
Bottom-Up
Starts from start symbol
Starts from input
LL parsing
LR parsing
Simple
More powerful
c. Inherited vs Synthesized Attributes Synthesized: Flow bottom-up (from children to parent)
Inherited: Flow top-down (from parent to children) Used in syntax-directed translation.
d. Role of Hash Table in Symbol Table Fast insertion & lookup
Stores identifiers, type, scope Reduces search time during compilation
e. Finite State Machine (FSM) FSM is a model with states, transitions, input alphabet. Used in lexical analysis to recognize tokens. (Design FSM with 4 states for even a’s & odd b’s in exam.)
This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduation from ASU and appear in B.Ed. from MGKVP on aided seat.
I have 2 years experience in academic class (Future Shapers C...
I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and intermediate students all my students till today are 90% grade. Even an average student got 90%
I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapur Maharashtra India, St Paul’s H.S Hyderabad, Fiitjee school Narayanaguda.
I have handled students of different age gr...
Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the right guidance. I offer dedicated tutoring for 10th-grade students, covering everything from foundational basics to advanced...
Excellence in Language. Leadership in Results.
With over 18 years of distinguished experience, Réussi Academy of Language stands as a trusted name in foreign language and communication training. Foun...
IGS Institute provide classes for SSC, Bank, Railway, Police, NDA, Airforce Group X and Group Y, Teaching exams. IGS - Institute for Government Services providing classes since 2018 to the students.