Current Papers

Finalterm Spring 2026
1 views
CS606 - CS606

28 Jul 2026

MCQs Most MCQs were conceptual. Difficulty level was medium. Many MCQs were repeated or very similar to the Moaz and Waqar Sidhu files. Short Questions (3 Marks Each) Q1. Shift-Reduce Parsing A stri…

MCQs Most MCQs were conceptual. Difficulty level was medium. Many MCQs were repeated or very similar to the Moaz and Waqar Sidhu files. Short Questions (3 Marks Each) Q1. Shift-Reduce Parsing A string similar to the following was given: Input: ""(A+B)"" Using the Shift-Reduce Parsing algorithm, determine: Total number of Shift operations Total number of Reduce operations Total number of Accept states Q2. Practical Applications of Compilers Write three real-life practical applications where compilers are used. Q3. Syntax Directed Translation (SDT) An SDT for the if-then-else statement was given. The production was similar to: S → if E then M1 S1 N else M2 S2 The question required completing the SDT using: M.quad E.truelist E.falselist S.nextlist N.nextlist makelist() merge() backp

View Full Paper
Share
Shared by Zainab 18 days ago
© 2026 VUCTN. All rights reserved. v1.0.0