Quiz Tekkom (Compilation Technique) Binus University

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1) a. RE : ( ab*a + a*b ) aa bikin e-NFA nya b.

Q -> QDE | q D -> NAF | dFA | d N -> DAF | n F -> f A -> a E -> e Cari Left Recursion and Left Factoring nya 2) RE : ( a | b ) a ( ab | a )* a) Parsing Tree b) Transition Table c) Diagram Transition 3) S -> AbS | e | e(empty) A -> a | cAd Follow (S) = {e(empty)} Follow (A) = {b,d} a) Predictive Parsing Table b) Telusuri String cadb 4) G -> S S -> (L) | a L -> SL' L'-> SL' | e(empty) Cari First dan Follow Setnya

You might also like