Current Papers
CS06 - CS06
29 Jul 2026
Mcqs: Easy thy handouts se thy concepts clear ho gy toh mcqs ho jy gy Short questions: 1. How are handles identified in the upper frontier of a shift-reduce parser? 2. Identify the original grammar f…
Mcqs: Easy thy handouts se thy concepts clear ho gy toh mcqs ho jy gy Short questions: 1. How are handles identified in the upper frontier of a shift-reduce parser? 2. Identify the original grammar from the canonical collection LR(1) items and write the production rules of the asked grammar as shown below: Grammar given thi 3. Given is a grammar rule for if statement; S->if E then S1 you are required to construct SDT by considering: Attributes ""true"" and ""false"" for E and ""next"" and ""code"" for S Routine ""new label"" for creating temporary variables and ""gen"" for creating three-address code. 4. Complete the missing code from the following code snippet used by a typical Basic Code Generator for translating the three-address IR code into corresponding two-address assembly code; 1) ;