hws/hw08.tex
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 24 Jan 2022 00:00:33 +0000
changeset 869 16247acc4b0e
parent 726 f6c2e8c48a1c
child 876 09e4ca6d00a0
permissions -rw-r--r--
changed os-lib as a replacement for ammonite-ops

\documentclass{article}
\usepackage{../style}
\usepackage{../graphics}

\begin{document}

\section*{Homework 8}

\HEADER

\begin{enumerate}
\item Write a program in the WHILE-language that calculates
      the factorial function.

\item What optimisations could a compiler perform when
      compiling a WHILE-program?

\item What is the main difference between the Java assembler
      (as processed by Jasmin) and Java Byte Code?


\item Explain what is meant by the terms lazy evaluation and eager
  evaluation.

\item \POSTSCRIPT    
\end{enumerate}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: