hws/hw08.tex
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 29 Jun 2020 21:13:49 +0100
changeset 726 f6c2e8c48a1c
parent 577 1d6043a87a3e
child 876 09e4ca6d00a0
permissions -rw-r--r--
updated

\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: