Subject Code: 160706
GUJARAT TECHNOLOGICAL UNIVERSITY
--- Content provided by FirstRanker.com ---
SEMESTER-VI(OLD) - EXAMINATION - SUMMER 2019
Subject Name: System Programming
Time: 10:30 AM TO 01:00 PM
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
--- Content provided by FirstRanker.com ---
Q.1 (a) What is Language Processor? Explain Language Processing Activities in brief. (07)
(b) What is Grammar and CFG? Give a classification of Grammars. (07)
Q.2 (a) Explain Left recursion, Left factoring and Backtracking in top down parsing. (07)
--- Content provided by FirstRanker.com ---
(b) Given the grammar, evaluate the string id-id*id using shift reduce parser. (07)
E>E-E, E>E*E, E->id
OR
(b) Explain recursive decent parser with proper example. Write its disadvantages. (07)
Q.3 (a) What is Compiler? Explain all phases of Compiler with neat flowchart. (07)
--- Content provided by FirstRanker.com ---
(b) Compare one pass and two pass Assembler. Write an algorithm of Single Pass Assembler. (07)
OR
(b) Differentiate the terms: (07)
- Top Down and Bottom Up Parsing
- Compiler and Interpreter
--- Content provided by FirstRanker.com ---
Q.4 (a) Explain in brief the design of a macro assembler. (07)
(b) Explain use and field of following tables of macro: (07)
KPDTB, SSTAB, MDT, EVTAB
OR
(a) Define forward references. How it can be solved using back patching? Explain with example. (07)
--- Content provided by FirstRanker.com ---
Q.5 (a) Explain this terms in detail : LITTAB, POOLTAB, LTORG, EQU (07)
(b) Write a three address code and triple representation for x=x*y*z+x*y+y*z (07)
OR
(a) Explain Direct linking Loader. (07)
(b) What is Code Optimization? Explain techniques of it in brief. (07)
--- Content provided by FirstRanker.com ---
OR
(a) What is Program Relocation? Explain Self Relocating Programs and MS Dos Linker. (07)
(b) Explain in brief design of a Two Pass Assembler. (07)
Date: 16/05/2019
Total Marks: 70
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---