Explain scanner and the scanning process

Assignment Help Operating System
Reference no: EM132334799

Assignment - COMPILER CONSTRUCTION

Objectives:

On completion of this course the student should be able to:

1.0 Know the differences among a compiler, assembler and an interpreter

2.0 Understand the compilation process.

3.0 Understand the concepts of grammar and languages.

4.0 Understand the functions of a scanner.

5.0 Understand the functions of recognizers.

6.0 Understand run time storage allocation.

7.0 Understand the function of error routine at each phase of compilation.

8.0 Understand code generation

1-2 Ability to understand:

• Compiler, assembler and interpreter

• The differences between compiler, interpreter and assembler

To:

-- Explain the functions of translating systems.

--Discuss the difference among the translating systems.

3-4 Ability to understand:

• The Compilation process and code optimization

To

.. Explain the compilation process: lexical analysis, syntax analysis, code reparation, code generation table of information and error routines.

--Explain code Optimization

5-6 Ability to understand:

• Grammar as a generating scheme for languages.

 To:

--Define grammar, languages.

--Describe a grammar as a generating scheme for languages.

--Explain the rule of formal grammar.

--Define: An alphabet, string, a phase.

--Write production or rewriting rules.

--Construct syntax trees for sentences.

--Differentiate between ambiguous and unambiguous sentences.

--Define the relations between contains transpose, reflexive transitive.

--Select operations: Head, first last, within.

--Construct transitive closures and relations

--Differentiate: context free, context sensitive and regular grammars.

7-8 Ability to understand:

• The scanning process and internal form of token

To

-- Explain scanner and the scanning process

--Break up a simple source code into tokens (variables, constants, labels, literals, operands and decimeters).

--Describe internal forms of tokens.

--Recognize tokens using state diagrams.

9-10 Ability to understand :

• Passing and passing techniques

To.

--Describe parsing techniques.

--Parse the out put of the scanner using syntax frees and polishes notations.

--Parse sentence applying. Top-down and Bottom – up methods.

--Recognize basic constructs such as triples, indirect trip-les, and quadruples.

11-12 Ability to understand:

• Run time storage allocation

To

--Discuss storage allocating techniques and storage requirements:-

--Explain how to calculate storage requirements.

--Calculate storage requirements for elementary data itemsarrays and strings

13-14 Ability to understand:

• The function of error routines at each phase of compilation

To :

--Explain error routines

--Explain scanning error routines

--Explain semantic error routines

15 Ability to understand:

• Processes of code generation and optimization

To

--Explain code generation

--Generate code for simple arithmetic expressions. Triples, indirect triple and quadruples.

--Explain code optimization.

Reference no: EM132334799

Questions Cloud

Breakdown the three tools : Breakdown the three tools (Continuous practice, Sleep, and Randomness) then select which tool best fits your style. Defend your answer adding external resources
What enzyme is found primarily in saliva : What enzyme is found primarily in saliva? What are the 3 parts of a human tooth? Most nutrient absorption occurs in which organ?
Employment as a veterans service representative : Explain what each of these mean to you and how you would apply these values if you were selected for employment as a Veterans Service Representative.
Body paragraph relate to the topic sentence : What are the characteristics of a strong body paragraphs, and how do the details in the body paragraph relate to the topic sentence
Explain scanner and the scanning process : COM 414 -COMPILER CONSTRUCTION- Explain scanner and the scanning process.Discuss storage allocating techniques and storage requirements.
Examine select body systems across levels of organization : Examine select body systems across levels of organization. Differentiate the role of the nervous system across functional divisions.
Evolution of management thought into the classical : What factors influenced the evolution of management thought into the Classical School, the first formal management theory?
Surprising truth about what motivates us : Have you ever worked at a company where you have received recognition for your contributions? Was the recognition one that you appreciated or did if fall flat?
Reduce of failure in creating new business : Describe strategies or others management concepts to reduce of failure in creating new business

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd