SlideShare a Scribd company logo
Unit-1
Assignment-1
Introduction
Prof. Ankita Chauhan
Ce dept. MBICT
1. What is compiler? List major functions done by compiler.
2. Differentiate compiler, interpreter and Assembler.
3. Explain the analysis synthesis model of compilation. List the factors that affect the design
of compiler. Or (explain structure of compiler.) Or (Draw different phases of Compiler
with example. Also explain all Phase in brief. )
4. Find errors and identify the phase of compiler detecting them for following C program
segment. Justify your answers.
int fi( int);
char a[10], * cptr;
int k = 1 ;
int j = 2;
float f;
cptr = a;
if (k);
fi(k);
fi( j )
++k;
*(cptr + 1 ) = 0 ;
++ a;
n + *k ;
5. Explain cousins of compiler or context of compiler.
6. What is a symbol table? Discuss any two data structures suitable for it & compare their
merits / demerits. Also compare one pass & two pass compilers.
Unit-1
Assignment-1
Introduction
Prof. Ankita Chauhan
Ce dept. MBICT
7. Explain linker and loader in details.
8. Differentiate single pass and multi-pass compiler.
9. Explain front end and back end in details.

More Related Content

PPT
A quick introduction to c programming
PPTX
Evaluation of postfix expression
PDF
C language
PPT
C language Unit 2 Slides, UPTU C language
PDF
Oop sample ktu
DOC
C notes diploma-ee-3rd-sem
PDF
Managing I/O operations In C- Language
A quick introduction to c programming
Evaluation of postfix expression
C language
C language Unit 2 Slides, UPTU C language
Oop sample ktu
C notes diploma-ee-3rd-sem
Managing I/O operations In C- Language

What's hot (19)

DOCX
C language
PDF
Programming in c by pkv
PPTX
Infix-Postfix expression conversion
PPTX
Infix to postfix
PDF
Session 5-exersice
PPTX
Principal source of optimization in compiler design
PPTX
Principle source of optimazation
PPTX
Fortran 95
PPTX
Presentation on C language By Kirtika thakur
PPTX
Function in c programming
PPT
Csc1100 lecture03 ch03-pt2-s14
PPT
Csc1100 lecture03 ch03-pt2-s14
PDF
Lesson 4.2 5th and 6th step
PPTX
C language ppt
PPT
The smartpath information systems c pro
PPS
Clanguage
PPT
test(3)arithmetic in c
PDF
Lesson 4.1 completing the problem solving process
PDF
Lecture 7
C language
Programming in c by pkv
Infix-Postfix expression conversion
Infix to postfix
Session 5-exersice
Principal source of optimization in compiler design
Principle source of optimazation
Fortran 95
Presentation on C language By Kirtika thakur
Function in c programming
Csc1100 lecture03 ch03-pt2-s14
Csc1100 lecture03 ch03-pt2-s14
Lesson 4.2 5th and 6th step
C language ppt
The smartpath information systems c pro
Clanguage
test(3)arithmetic in c
Lesson 4.1 completing the problem solving process
Lecture 7
Ad

Similar to Assignment 1 (20)

PDF
U21CS502--Compiler Design--Question Bank
PDF
1588147798Begining_ABUAD1.pdf
PPTX
Unit2_1.pptx Introduction to C# Language features
PPTX
Unit 1:DOT NET Framework CLR(Common Language Runtime )
PDF
c_programming.pdf
PDF
Introduction to C Language - Version 1.0 by Mark John Lado
PDF
Object Oriented Programming using C++ PCIT102.pdf
PDF
Chapter 1 - Basic concepts of programming.pdf
PPTX
C Language Presentation.pptx
PPTX
Lecture 1.pptx
PDF
Phases of the Compiler - Systems Programming
DOCX
Report on c and c++
PDF
Introduction of C++ By Pawan Thakur
PDF
Toward Understanding How Developers Recognize Features in Source Code from De...
PPTX
Compiler Design
DOC
141303 qb
PDF
Mcs 10 104 compiler design dec 2014
DOCX
C-PROGRAM
PDF
2013-June: 5th Semester CSE / ISE Question Papers
PDF
5th Semester CS / IS (2013-June) Question Papers
U21CS502--Compiler Design--Question Bank
1588147798Begining_ABUAD1.pdf
Unit2_1.pptx Introduction to C# Language features
Unit 1:DOT NET Framework CLR(Common Language Runtime )
c_programming.pdf
Introduction to C Language - Version 1.0 by Mark John Lado
Object Oriented Programming using C++ PCIT102.pdf
Chapter 1 - Basic concepts of programming.pdf
C Language Presentation.pptx
Lecture 1.pptx
Phases of the Compiler - Systems Programming
Report on c and c++
Introduction of C++ By Pawan Thakur
Toward Understanding How Developers Recognize Features in Source Code from De...
Compiler Design
141303 qb
Mcs 10 104 compiler design dec 2014
C-PROGRAM
2013-June: 5th Semester CSE / ISE Question Papers
5th Semester CS / IS (2013-June) Question Papers
Ad

Recently uploaded (20)

PDF
IGGE1 Understanding the Self1234567891011
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
Empowerment Technology for Senior High School Guide
PPTX
20th Century Theater, Methods, History.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
IGGE1 Understanding the Self1234567891011
History, Philosophy and sociology of education (1).pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Empowerment Technology for Senior High School Guide
20th Century Theater, Methods, History.pptx
My India Quiz Book_20210205121199924.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
Weekly quiz Compilation Jan -July 25.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
AI-driven educational solutions for real-life interventions in the Philippine...
Computing-Curriculum for Schools in Ghana
Share_Module_2_Power_conflict_and_negotiation.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf

Assignment 1

  • 1. Unit-1 Assignment-1 Introduction Prof. Ankita Chauhan Ce dept. MBICT 1. What is compiler? List major functions done by compiler. 2. Differentiate compiler, interpreter and Assembler. 3. Explain the analysis synthesis model of compilation. List the factors that affect the design of compiler. Or (explain structure of compiler.) Or (Draw different phases of Compiler with example. Also explain all Phase in brief. ) 4. Find errors and identify the phase of compiler detecting them for following C program segment. Justify your answers. int fi( int); char a[10], * cptr; int k = 1 ; int j = 2; float f; cptr = a; if (k); fi(k); fi( j ) ++k; *(cptr + 1 ) = 0 ; ++ a; n + *k ; 5. Explain cousins of compiler or context of compiler. 6. What is a symbol table? Discuss any two data structures suitable for it & compare their merits / demerits. Also compare one pass & two pass compilers.
  • 2. Unit-1 Assignment-1 Introduction Prof. Ankita Chauhan Ce dept. MBICT 7. Explain linker and loader in details. 8. Differentiate single pass and multi-pass compiler. 9. Explain front end and back end in details.