- Lectures notes from midterm through November 30, 2000.
- Textbook: Chapters 6,7.1-7.7, 8.3, 8.5, 11.1-11.2.3,11.2.5.
- Homework assignments (all of those due after the midterm exam date).
- Court case proceedings.
The exam is closed book, closed neighbor and you will have the full final exam period to work. The exam will have a heavy emphasis on applying the concepts we have discussed in class, with only some questions that are just knowledge feedback.
Example questions:
- Short answer questions (advantages/disadvantages, differences, similarities of
different approaches.
- Write short code segments to illustrate a concept.
- Explain how a particular concept (eg, aliasing) is exhibited by a code segment.
- Trace code to give the output/variable values under different assumptions.
- Give the result of expression evaluation under a particular set of
evaluation order rules.
- Give the result of calling a subprogram under different parameter passing
mechanisms.
- Read a simple type inference rule and explain what it states.
- Convert from one simple control construct to one with equivalent semantics. (eg while
to for or repeat, recursion to iteration)
- Draw pictures of memory layout for different data type situations.
- Draw or explain the flow of control under specific situations in exception
handling.
- Indicate where a particular variable of a specific
data type would most likely be stored: stack, heap,
static store
- Given a segment of code, explain how it demonstrates a particular concept.
The questions are NOT true/false or multiple choice. Instead, partial
credit will be given when possible on any question in the exam.
Review your lecture notes, assignments, and textbook chapters. Actually do some problems of the form described above to determine whether you can apply your knowledge.
This document was generated using the LaTeX2HTML translator Version 98.1p1 release (March 2nd, 1998)
Copyright © 1993, 1994, 1995, 1996, 1997, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
The command line arguments were:
latex2html -split 0 final.rev.tex.
The translation was initiated by Lori Pollock on 2000-12-01