Describe language processing activities, Computer Engineering

Assignment Help:

Describe language processing activities?

There are two different kinds of language processing activities:

a. Program generation activities

b. Program execution activities

Program generation activities: A program generation activity tends at automatic generation of a program. A specification language is source language of an application domain and the target language is classically a procedure oriented programming language. The given figure below shows program generation activity

program generation activity

The program generator is a software system that accepts the requirement of a program to be generated and makes a program in the target. PL. The program generator initiates a new domain in between the application and PL domains. We call it the program generator domain. The specification gab is here gabbing in between the application domain and the program generator domain. Such gab is smaller than the gab in between the application domain and PL domain.

Program execution activities: A program execution activity classifies system. Two model program executions are:

a. Translation

b. Interpretation

Translation: The program translation models bridges execution gap through translating a program written into a PL, called the source program in an equivalent program in the assembly or machine language of the computer system.

408_Translation and Interpretation.png

Interpretation: The interpreter reads the source program and stores this in its memory. Throughout interpretation this takes a statement, finds its meaning and performs actions that implement this.

2191_Translation and Interpretation 1.png


Related Discussions:- Describe language processing activities

What is a flip-flop, What is a flip-flop? Ans. Flip-flop is particu...

What is a flip-flop? Ans. Flip-flop is particular bit memory cell. This stores individual bit information in its true and compliment form. It is the basic block of any sequ

Define emulation, Define emulation. Given a computer with a particular ...

Define emulation. Given a computer with a particular instruction set, it is possible to explain additional machine instructions and execute them with extra micro routines. Emul

What is meant by a field, What is meant by a field The consecutive nonw...

What is meant by a field The consecutive nonwhite space characters that define a data item collectively define a field. It is possible  to limit the number of such characters b

Explain call by value and call by reference, Call by value and Call by refe...

Call by value and Call by reference Call by value means sending the values of the arguments- The value of each of the original arguments in the calling function is copied in

What is the use of fork and exec system calls, What is the use of fork and ...

What is the use of fork and exec system calls?  Fork is a system call by which a new process is formed. Exec is also a system call, which is used after a fork by one of the two

Mating - canonical genetic algorithm, Mating: Therefore once our GA ag...

Mating: Therefore once our GA agent has chosen the individuals lucky sufficient as actually there  fit enough to produce offspring then we next determine how they are going to

Explain an expression tree with a suitable example, What is an expression t...

What is an expression tree? How an expression is evaluated using an expression tree? Algebraic expressions is as given here a/b+(c-d)e That has an inherent tree-like structure

In which page replacement policies balady’s anomaly occurs, In which page r...

In which page replacement policies Balady’s anomaly occurs? FIFO that is First in First Out.

Write Your Message!

Captcha
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