Sample Examination I
Organization of Programming Languages
The first major examination of CSC460 will be on February 6th. The
following is a sample of what will be on the examination. Most of
the exam will be similar to these questions. Some of the questions
will come directly from the text and will not be written here, but rather
will be referenced to the textbook.
-
From review questions on pages 33-34. Four questions from questions
3, 4, 6, 9, 10, 12, 13, 15, 17, 21, 23, 24, 26, 29.
-
From the problem set on pages 34-35. Answers should be from 1/3 to
1/2 page long. 3, 6, 7, 12, 16.
-
Describe the development of FORTRAN from FORTRAN 1 to FORTRAN 77
(substute other language sequences for FORTRAN)
-
From review questions on pages 102-103. Three questions from questions
21, 22, 26, 28, 33, 36, 38, 44, 45, 46.
-
Define syntax and semantics
-
What three extensions are common to most EBNFs?
-
Write EBNF describing (a Pascal procedure header, a C switch statement,
a C float literal, etc.)
-
Problem 4, page 152
-
Problem 5, page 152
-
Choose a language from the three on which you gave a report. (Answers
should be from 1/3 to 1/2 page each)
a. Why would this language be important to study further?
b. What features of this language make it unique?
c. Give an example of some of the code of the language.
d. What group of languages of chapter 2 are most like your language?
Why?
e. etc.