082267_lesson2

082267_lesson2 - CS 367 Programming Languages Lesson 2...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 367 Programming Languages Lesson 2 Review Questions Chapter 3 1. Define syntax and semantics. The syntax of a programming language is the form of its expressions, statements, and program units while semantics is the meaning of those expressions, statements, and program units. 2. Who are language descriptions for? Language descriptions are written for the potential users, who are the initial evaluators of the language, as well as the implementers, who must be able to determine how the expressions, statements, and program units of a language are formed, and the production users, who will ultimately use the language in the creation of their programs. 3. Define the operation of a general language generator. A language generator is a device that can be used to generate the sentences of a language. We can think of the generator as having a button that produces a sentence of the language every time it is pushed. Because the particular sentence that is produced by a generator when its button is pushed is unpredictable, a generator seems to be a device of limited
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

082267_lesson2 - CS 367 Programming Languages Lesson 2...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online