![]() |
![]() |
|
exam01 will be 2023-oct-12 (Thu) in-class, on-paper, closed-notes.
The following topics may be on the exam:
compound typesor
product types) (incl. template)
Note: Lists are merely an example of this category, as are natural numbers and the nonsense-example glarps-and-blahs
parametervs.
argumentvs.
local variable;
expressionvs.
statement;
statically typedvs.
dynamic typingvs.
untyped;
compiledvs.
interpreted)
You will not need to know for exam01 (but will be on exam02):
An additional practice-problem for recursive data-type definitions can be found as problem #2 here. The solution will be posted on D2L, but not until Sunday mid-afternoon. I highly recommend working through the problem (even more than the sample-exam).
Here is a practice exam (D2L) (incl. solution). Note that it does not necessarily cover all of the above topics (and, it covers grammars and , which will we haven't yet covered).
I suggest you sit and take the practice exam directly, writing down all answers (not just thinking about them in your head), before looking at the solution.
The following instructions will be included on the exam:
Instructions:
def/cfor
define/contract,
def-str/cfor
define-struct/c,
mk-…for
make-…,
str<?for
string<?, and
nat?for
natural?.
This page licensed CC-BY 4.0 Ian Barland Page last generated | Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |