Skip to content
This repository was archived by the owner on Apr 21, 2018. It is now read-only.

Commit 94c9116

Browse files
author
YouniS Bensalah
committed
super list 9k etc.
1 parent 152c238 commit 94c9116

1 file changed

Lines changed: 184 additions & 0 deletions

File tree

slides-08.tex

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
%% LaTeX-Beamer template for KIT design
2+
%% by Erik Burger, Christian Hammer
3+
%% title picture by Klaus Krogmann
4+
%%
5+
%% version 2.1
6+
%%
7+
%% mostly compatible to KIT corporate design v2.0
8+
%% http://intranet.kit.edu/gestaltungsrichtlinien.php
9+
%%
10+
%% Problems, bugs and comments to
11+
12+
13+
\documentclass[18pt]{beamer}
14+
15+
%% SLIDE FORMAT
16+
17+
% use 'beamerthemekit' for standard 4:3 ratio
18+
% for widescreen slides (16:9), use 'beamerthemekitwide'
19+
20+
\usepackage{templates/beamerthemekit}
21+
% \usepackage{templates/beamerthemekitwide}
22+
23+
\usepackage[utf8]{inputenc}
24+
\usepackage{hyperref}
25+
\usepackage{listings}
26+
\usepackage{color}
27+
%\usepackage{xcolor}
28+
%\usepackage{colortbl}
29+
%\usepackage{array}
30+
%\usepackage{tikz}
31+
%\usetikzlibrary{calc,shapes.multipart,chains,arrows}
32+
33+
%\definecolor{lime}{HTML}{8FFF53}
34+
35+
\newcommand{\quotes}[1]{``#1''}
36+
37+
%% TITLE PICTURE
38+
39+
% if a custom picture is to be used on the title page, copy it into the 'logos'
40+
% directory, in the line below, replace 'mypicture' with the
41+
% filename (without extension) and uncomment the following line
42+
% (picture proportions: 63 : 20 for standard, 169 : 40 for wide
43+
% *.eps format if you use latex+dvips+ps2pdf,
44+
% *.jpg/*.png/*.pdf if you use pdflatex)
45+
46+
\titleimage{greendrop}
47+
48+
%% TITLE LOGO
49+
50+
% for a custom logo on the front page, copy your file into the 'logos'
51+
% directory, insert the filename in the line below and uncomment it
52+
53+
%\titlelogo{mylogo}
54+
55+
% (*.eps format if you use latex+dvips+ps2pdf,
56+
% *.jpg/*.png/*.pdf if you use pdflatex)
57+
58+
%% TikZ INTEGRATION
59+
60+
% use these packages for PCM symbols and UML classes
61+
% \usepackage{templates/tikzkit}
62+
% \usepackage{templates/tikzuml}
63+
64+
% the presentation starts here
65+
66+
\title[Exceptions]{Programmieren:\\ Exceptions}
67+
\subtitle{Tutorium 30}
68+
\author{YouniS Bensalah}
69+
\date{December 18, 2015}
70+
71+
\institute{Chair for Software Design and Quality}
72+
73+
% Bibliography
74+
75+
\usepackage[citestyle=authoryear,bibstyle=numeric,hyperref,backend=biber]{biblatex}
76+
\addbibresource{templates/example.bib}
77+
\bibhang1em
78+
79+
\begin{document}
80+
81+
% change the following line to "ngerman" for German style date and logos
82+
\selectlanguage{english}
83+
84+
%title page
85+
\begin{frame}
86+
\titlepage
87+
\end{frame}
88+
89+
%table of contents
90+
\begin{frame}{Heute}
91+
\tableofcontents
92+
\end{frame}
93+
94+
\section{Organisatorisches}
95+
96+
\begin{frame}{Termine}
97+
\textbf{Vorlesung}
98+
\begin{itemize}
99+
\item Die Vorlesung am 23.12.2015 entfällt.
100+
\item Die erste Vorlesung 2016 findet am 13.01.2016 statt.
101+
\end{itemize}
102+
103+
\textbf{Tutorien}
104+
\begin{itemize}
105+
\item Die Tutorien finden im Jahr 2015 bis zum 22.12.2015 statt.
106+
\item Die Tutorien im Jahr 2016 beginnen ab dem 13.01.2016.
107+
\end{itemize}
108+
\end{frame}
109+
110+
\section{Exceptions}
111+
112+
\begin{frame}{Exceptions}
113+
114+
\end{frame}
115+
116+
\begin{frame}{Fragen ?}
117+
\begin{figure}
118+
\includegraphics[scale=.5]{img/question_to_idea.jpg}
119+
\end{figure}
120+
\end{frame}
121+
122+
\section{Programmieraufgabe}
123+
124+
\begin{frame}{Programmieraufgabe}
125+
\Large{Enough theory (;}
126+
\end{frame}
127+
128+
\begin{frame}{Collatz}
129+
Das war ja zu einfach\dots
130+
\end{frame}
131+
132+
\begin{frame}{Super List 9K}
133+
\textbf{Super List 9K} soll eine verbesserte Version der bereits bekannten \textit{verketteten Liste} werden.
134+
135+
\begin{itemize}
136+
\item \textbf{doppelt verkettete Liste}
137+
\item \texttt{addFirst()} und \texttt{addLast()} fügen ein Element an den Anfang bzw. das Ende der Liste ein.
138+
\item \texttt{remove()} löscht alle Elemente aus der Liste, die mit der \texttt{equals()}-Methode gleich einem gegebenen Element sind.
139+
\item \texttt{contains()} prüft nach, ob ein Element in der Liste vorhanden ist.
140+
\item \texttt{size()} gibt die Länge der Liste (Anzahl Elemente) aus.
141+
\item \texttt{count()} zählt, wie oft ein Element in der Liste vorkommt.
142+
\item \textbf{Abstrakter Datentyp}
143+
\item \textbf{Generics !}
144+
\end{itemize}
145+
146+
\end{frame}
147+
148+
\begin{frame}[fragile]{Super List 9K}
149+
\begin{enumerate}
150+
\item Download and unzip the template\\ \url{http://younishd.fr/prog/superlist9k-template.zip}
151+
\item Think\dots
152+
\item Code\dots
153+
\item Compile and test:\\
154+
\begin{lstlisting}[language=Java,basicstyle=\scriptsize]
155+
% javac superlist9k/SuperCell.java \\
156+
superlist9k/SuperList.java \\
157+
superlist9k/SuperListInterface.java \\
158+
test/SuperTest.java
159+
160+
% java test.SuperTest
161+
\end{lstlisting}
162+
\item Repeat \texttt{2-4} until all tests are \textcolor{green}{green}!
163+
\end{enumerate}
164+
\end{frame}
165+
166+
\begin{frame}{Super List 9K}
167+
Die Lösung findet Ihr hier:
168+
\begin{itemize}
169+
\item \url{http://younishd.fr/prog/superlist9k.zip}
170+
\end{itemize}
171+
\end{frame}
172+
173+
\appendix
174+
\beginbackup
175+
176+
\begin{frame}{Bis nächstes Jahr !}
177+
\begin{figure}
178+
\includegraphics[scale=.25]{img/java.jpg}
179+
\end{figure}
180+
\end{frame}
181+
182+
\backupend
183+
184+
\end{document}

0 commit comments

Comments
 (0)