mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-03-14 10:50:05 +01:00
[EProg] Improve summary
This commit is contained in:
@@ -24,12 +24,20 @@
|
||||
\item Specify all condtions for all the variables known through the pre and post-conditions, as far as applicable
|
||||
\end{enumerate}
|
||||
|
||||
Also, all other variables that are being changed need to be addressed in the invariant, ensuring that the statements resolve to boolean when executed (\texttt{==} and not \texttt{=} for comparison (because valid Java Syntax required).
|
||||
Also, all other variables that are being changed need to be addressed in the invariant, ensuring that the statements resolve to boolean when executed
|
||||
(\texttt{==} and not \texttt{=} for comparison (because valid Java Syntax required)).
|
||||
|
||||
For the pre- and postconditions, ensure to also address ALL variables in the loop, even if it seems unnecessary.
|
||||
|
||||
|
||||
\section{Mean things}
|
||||
EProg is sadly known for testing your knowledge of the edge cases. Here are some common pitfalls at the exams.
|
||||
|
||||
The best way to prepare for the programming exam is to solve the programming exercises during the semester and solve a few of the old programming exams that are available.
|
||||
|
||||
To prepare for the theory, solve as many of the old exams as you can, as they can be completed, including correction, in under one hour.
|
||||
|
||||
|
||||
\subsection{In EBNF}
|
||||
\begin{itemize}
|
||||
\item Unbalanced brackets
|
||||
|
||||
Reference in New Issue
Block a user