Assignment1

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Assignment1 as PDF for free.

More details

  • Words: 181
  • Pages: 1
German University in Cairo Department of Computer Science Dr. Gerrit Kalkbrenner

Compiler Construction,

Spring 2008

Assignment 1

Discussion: March 1st , 2008 (1 Mark)

Exercise 1-1

Explain the dierence between a compiler and an interpreter. (1 Mark)

Exercise 1-2

What are the advantages of a compiler over an interpreter? (1 Mark) What advantages are there to a language processing system in which the compiler produces assembly language rather than machine language? Exercise 1-3

(1 Mark) A compiler that translates a high level language into another high-level language is called a source-to-source translator. What advantages are there to use C as a target language for a compiler? Exercise 1-4

(1 Mark)

Exercise 1-5

Describe some of the tasks that an assembler needs to perform. (5 Marks)

Exercise 1-6

Indicate which of the following terms: (1) imperative (2) declarative (3) Von Neumann (4) object oriented (5) functional (6) third generation (7) fourth generation (8) scripting apply to which of the following languages (a) C (b) C++ (c) Cobol (d) Fortran (e) Java (f) Lisp (g) ML (h) Perl (i) Python (j) VM

1

Related Documents

Assignment1
June 2020 9
Assignment1
June 2020 12
Assignment1.docx
December 2019 23
Assignment1.docx
April 2020 16
Assignment1.docx
November 2019 23
Hrd Assignment1
October 2019 21