32 Questions
Load-and-go Compilers: gives programs ready for ______
execution
Cross-language compilers: compilers between high level ______
languages
Compiler is divided into two parts: Front End and ______
Back End
The Front End translates a program from source language to an ______ language
intermediate
The back End translates from the intermediate language to the ______ language
machine
The lexical analyzer reads the input program as a character stream and produces a stream of lexemes (or token strings) as ______
output
The lexical analyzer searches the current work in a table (called symbol table) and adds it if not ______
found
Syntactic Analyzer (or parser): takes as input the Token stream produced by the lexical ______
analyzer
The semantic analyzer determines if the meaning is respected in the user ______
program
The intermediate code generator produces a code that is not related to the target ______
machine
CS224: Compiler design and implementation Dr. Delel RHOUMA 2 Goals: - Compilers are used everyday in most computers. - Allow students to implement big programming projects. - Parts of most projects (specially those containing command language) can be built in the same way compilers are built. 3 Introduction 1. ______ 2. Compilers implementation languages 3. Compiler structure 4. Example
Terminology
______ - Compilers: translate programs written in high level languages. The entire program has to be translated before execution (compared to a book translation).
Interpreters
The ______ Language - Source Language - Source Code - Implementation language - Target machine: the machine to which the translation will be done.
High
How to choose the compiler ______ language - The first compiler was written in assembly language
implementation
C Program C Compiler 8086 Machine Code How to choose the compiler ______ language - The first compiler was written in assembly language
Fortran77
Source Code Compiler Object Code Linker Executable Code The are some compilers do not respect this ______.
pattern
Communication is the process of exchanging information by the use of words, letters, symbols, or ______ behavior.
nonverbal
A lack of communication skills can be detrimental to new ______.
workers
IT workers need communication skills as well as ______ skills.
technical
Temp agencies report that communication skills can trump the degree a person ______.
carries
Communication is the process of exchanging information by the use of words, letters, symbols, or ______ behavior.
nonverbal
The single most important factor for choosing ______.
managers
Improved stakeholder response leads to ______ professional image
enhanced
Quicker problem solving results in increased ______
productivity
Effective business communication leads to stronger ______ relationships
business
Communication is about making sense and sharing ______
sense
Human communication is about creating ______
meaning
Verbal and nonverbal messages are part of ______
communication
Be aware of your communication with yourself and ______
others
Appropriately adapt messages to ______
others
Interpersonal communication is when two people interact to mutually influence each other for the purpose of managing ______
relationships
The back end translates from the intermediate language to the ______ language
target
Study Notes
Compiler Basics
- Load-and-go compilers give programs ready for execution.
- Cross-language compilers are used between high-level languages.
Compiler Structure
- A compiler is divided into two parts: Front End and Back End.
- The Front End translates a program from source language to an intermediate language.
- The Back End translates from the intermediate language to the target language.
Front End
- The lexical analyzer reads the input program as a character stream and produces a stream of lexemes (or token strings) as output.
- The lexical analyzer searches the current work in a table (called symbol table) and adds it if not present.
- The Syntactic Analyzer (or parser) takes as input the Token stream produced by the lexical analyzer.
- The semantic analyzer determines if the meaning is respected in the user program.
Back End
- The intermediate code generator produces a code that is not related to the target language.
- The Back End translates from the intermediate language to the target language.
Compiler Goals
- Compilers are used every day in most computers.
- Compilers allow students to implement big programming projects.
- Parts of most projects (specially those containing command language) can be built in the same way compilers are built.
Communication in IT
- Communication is the process of exchanging information by the use of words, letters, symbols, or behavior.
- A lack of communication skills can be detrimental to new IT workers.
- IT workers need communication skills as well as technical skills.
- Effective business communication leads to stronger professional relationships.
Effective Communication
- Be aware of your communication with yourself and others.
- Appropriately adapt messages to different audiences.
- Verbal and nonverbal messages are part of human communication.
Test your knowledge on compiler design and implementation with this quiz covering terminology, implementation languages, compiler structure, and examples.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free