CS6660 CD 2marks-16marks

Anna University Regulation 2013 Computer Science & Engineering (CSE) CS6660 CD 2marks & 16marks for all 5 units are provided below. Download link for CSE 6th SEM CS6660 Compiler Design Short answers, Question Bank are listed down for students to make perfect utilization and score maximum marks with our study materials.

CS6660 COMPILER DESIGN QUESTION BANK UNIT-I 2-marks

1. Define parser.

Hierarchical analysis is one in which the tokens are grouped hierarchically into nested collections with collective meaning. Also termed as Parsing.

2. Mention the basic issues in parsing.

There are two important issues in parsing. Specification of syntax Representation of input after parsing.

3. Why lexical and syntax analyzers are separated out?

Reasons for separating the analysis phase into lexical and syntax analyzers: Simpler design. Compiler efficiency is improved. Compiler portability is enhanced.

4. Define a context free grammar.

A context free grammar G is a collection of the following V is a set of

G is a collection of the following

V is a set of non terminals

T is a set of terminals S is a start symbol P is a set of production rules G can be represented as

G = (V,T,S,P) Production rules are given in the following form

G = (V,T,S,P) Production rules are given in the following form Non terminal → (V U T)*

5. Briefly explain the concept of derivation. Derivation from S means

Derivation from S means generation of string w from S. For constructing derivation two things are important. i) Choice of non terminal from several others. ii) Choice of rule from production rules for corresponding non terminal. Instead of choosing the arbitrary non terminal one can choose i) either leftmost derivation – leftmost non terminal in a sentinel form ii) or rightmost derivation – rightmost non terminal in a sentinel form

CS6660 CD Unit 1 2marks & 16marks **– ****Download Here**

CS6660 CD Unit 2 2marks & 16marks **– ****Download Here**

CS6660 CD Unit 3 2marks&16marks **– ****Download Here**

CS6660 CD Unit 4 2marks&16marks **– ****Download Here**

CS6660 CD Unit 5 2marks&16marks **– ****Download Here**

If you require any other notes/study materials, you can comment in the below section.

__Related Links__

For CS6660 CD Previous Year Question Papers – **Click here**

For CS6660 CD Important Questions/Answer Key – **Click here**

For CS6660 CD Lecture Notes – **Click here**

__Search Terms__

Anna University 6th SEM CSE CD 2marks 16 marks

CS6660 Compiler Design question bank free download

Anna University CSE CD short answers Regulation 2013

CS6660 2marks, CD Unit wise short answers – CSE 6th Semester

# CS6660 CD 2marks-16marks, Compiler Design Question Bank, CD Short Answers – CSE 6th SEM Anna University

0
Share.