0% found this document useful (0 votes)
2 views1 page

CSBB 351 Assignment

The document outlines an assignment for a Compiler Design course, covering various topics such as the definition of a compiler, differences between compilers and interpreters, and the components of a compiler. It also discusses the pros and cons of compiler design for RISC versus CISC machines, the utility of cross-compilers, and the challenges faced in compiler design. Additionally, it prompts students to analyze the features of a standard compiler and debate the effectiveness of human versus automated program optimization.

Uploaded by

Arya Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

CSBB 351 Assignment

The document outlines an assignment for a Compiler Design course, covering various topics such as the definition of a compiler, differences between compilers and interpreters, and the components of a compiler. It also discusses the pros and cons of compiler design for RISC versus CISC machines, the utility of cross-compilers, and the challenges faced in compiler design. Additionally, it prompts students to analyze the features of a standard compiler and debate the effectiveness of human versus automated program optimization.

Uploaded by

Arya Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CSBB 351: Compiler Design

B.Tech CSE (3rd year)


Assignment (UNIT -1)

1.1 What is a compiler?


1.2 Distinguish between compiler and interpreter bringing out clearly the
situations in which each of them is more suitable than the other.
1.3 Diagram the likely components of a compiler and describe their roles.
1.4 A RISC processor has smaller number of instructions and more number
of registers than a CISC machine. Describe the pros and cons of compiler
design targeted to a RISC machine as compared to a CISC machine.
1.5 A cross-compiler is one that runs on a machine to generate target code
for another machine. Identify a few cases where such a cross-compiler will
be useful.
1.6 Explain why a system may have several compilers but normally has a
single linker.
1.7 Discuss the challenges in compiler design.
1.8 Study the features of any standard compiler available in your computer
system.
1.9 Which type of compiler is better-one running slowly but producing
optimized code and another one running very fast but producing
unoptimized code?
1.10 Can human being optimize a program better than an automated
compiler? Justify your answer.

You might also like