You are on page 1of 9
Protet Tools FBR OCR’ OGRAtea Snip and Pin Find and Replace. Auto Scroll” Eye Protection Mode * fui autorraton A won deteAmintche — fevile o eyminicne one Con br eft feremt from a eat om that £ Suh iA rabet | ann deter ce mele Has one Bt ke Bp thee UBM ED mae outpat one Com jE Mannie te fon, functions ale ee an automat oO Aten that te Aun ine fer 4 & catted Non- Beterminiet & pe hy Sheplers NEA Ss Aspnes d F ey M=- (65 6 0) Se : i lt het Yo & Q Bite Start Shab Fe alphatst Chon. empry 202 ef me ae iH FE bh a Actin, Pinal State 8, Ox > > 22cm 3a) | the bramihn An ig 71 WESABE SSH CSURNsSHTUPHT ITAL LUSH EASELS T A TY AUS EGE aS eed (SS eee SI.No Compiler Interpreter 1 Compiler works on the Interpreter program works complete program at once. It line-by-line. It takes one takes the entire program as statement at a time as input. input. 2 Compiler generates Interpreter does not generate intermediate code, called the intermediate object code or object code or machine code. machine code . 3 Compiler executes conditional | Interpreter executes conditional control statements (like if-else | control statementsat a much and switch-case) and logical slower speed. constructs faster than interpreter. 4 Compiled programs take more | Interpreter does not generate memory because the entire intermediate object code. As a object code has to reside in result, interpreted programs memory. are more memory efficient. 5 Compile once and run 5 Interpreted programs are anytime. Compiled program Gutermreted!line-by-line every ‘| does not need to be compiled time they are run. every time Ul | 6 Compiler does not allow a Interpreter runs the program program to runt s from first line and stops | completely error: \ execution only if it encounters TH an error. 7 Compiled langua} Interpreted languages are less efficient but diffi efficient but easier to debug. This makes such languages an ideal choice for new students 8 Example: C, C++, COBOL Example: BASIC, Visual Basic, Python, Ruby, PHP, Perl, MATLAB, Lisp ee Protect Tools a fe Sign” OCR OCR Area” Q ft oe Find and Replace Auto scroll” ye Protection Mode Ship and Pin Bee Rice. thee ee Ayrvd on NE Catlea, €-Nea Repranumtie by 5. Lup ls empty el gale : USES oureeey @) = IVA Eran fen fine Pe compila There ar Ambigt Elimination of * A grammar is left recursive if that there is a derivation A=> Aa o\f A=>Aa\lBp * We may replace it with A->BN N-al le METHOD: Apply the algorith left-recursive grammar m

You might also like