0% found this document useful (0 votes)
5 views

SPCC Assignment 2

The document outlines the course structure for System Programming and Compiler Construction (CSC601) for the academic year 2024-25, detailing ten questions covering various topics such as loaders, compilers, lexical analyzers, and code generation. Each question is associated with specific course outcomes (CO3 and CO4). The submission date for the assignment is set for April 5, 2025.

Uploaded by

krishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

SPCC Assignment 2

The document outlines the course structure for System Programming and Compiler Construction (CSC601) for the academic year 2024-25, detailing ten questions covering various topics such as loaders, compilers, lexical analyzers, and code generation. Each question is associated with specific course outcomes (CO3 and CO4). The submission date for the assignment is set for April 5, 2025.

Uploaded by

krishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Computer Engineering

Academic Year 2024-25(Even)


Course Name: System Programming and Compiler Construction (CSC601)
TE-VI (Div A & B)
Submission Date: 5/4/25

Question Questions CO
No. Covered

Q.1. Explain functions in Loader in detail. CO3

Q.2. Explain direct linking loader with example. CO3

Q.3. Explain the different phases of compiler with example. CO4

Q.4. Explain Input buffering scheme in lexical analyzer in detail. CO4

Q.5. Construct LL(1) parsing table for the following grammar and parse the input CO4
string “acbgh”
S ->aBDh
​ ​ ​ ​ B -> cC
​ ​ ​ ​ C->bC | ε
​ ​ ​ ​ D->EF
​ ​ ​ ​ E->g | ε
​ ​ ​ ​ F->f | ε

Q.6. Explain the different forms of intermediate code generation with example. CO4

Q.7. Generate three address code for CO4


​ ​ while(i<10)
​ ​ {
​ ​ ​ x=0;
​ ​ ​ i=i+1;
​ ​ }

Q.8. Illustrate code optimization techniques. C04

Q.9. Explain issues in code generation in detail. CO4


Q.10. Write short note on: CO4
​ a)​ DAG
​ b)​ Backpatching
c)​ Garbage collection and compaction
​ d)​ Syntax directed Definitions

Subject Incharges
Prof. Archana Naware (TE B)
Prof. Shirin Matwankar (TE A)

You might also like