slides/slides03.tex
changeset 889 00c1c3408c93
parent 871 94b84d880c2b
child 891 00ffcd796ffb
--- a/slides/slides03.tex	Mon Oct 10 15:15:15 2022 +0100
+++ b/slides/slides03.tex	Fri Oct 14 00:31:47 2022 +0100
@@ -27,19 +27,20 @@
 \frametitle{%
   \begin{tabular}{@ {}c@ {}}
   \\[-3mm]
-  \LARGE Compilers and \\[-2mm] 
-  \LARGE Formal Languages\\[3mm] 
+  \LARGE Compilers and \\[-1mm] 
+  \LARGE Formal Languages\\[-5mm] 
   \end{tabular}}
 
   \normalsize
   \begin{center}
   \begin{tabular}{ll}
-    Email:  & christian.urban at kcl.ac.uk\\
-    %Office Hours: & Thursdays 12 -- 14\\
-    %Location: & N7.07 (North Wing, Bush House)\\
-    Slides \& Progs: & KEATS (also homework is there)\\  
+  Email:  & christian.urban at kcl.ac.uk\\
+  Office Hour: & Fridays 11 -- 12\\
+  Location: & N7.07 (North Wing, Bush House)\\
+  Slides \& Progs: & KEATS\\
+  Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  
   \end{tabular}
-\end{center}
+  \end{center}
 
   \begin{center}
     \begin{tikzpicture}
@@ -1705,6 +1706,38 @@
 \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+{
+\setbeamercolor{background canvas}{bg=cream}
+\begin{frame}[c]
+
+\begin{center}
+\begin{tikzpicture}[scale=1.5,>=stealth',very thick,
+                    every state/.style={minimum size=0pt,
+                    draw=blue!50,very thick,fill=blue!20}]
+  \node[state,initial]   (q0) at (0,2) {$q_0$};
+  \node[state,accepting] (q1) at (2,2) {$q_1$};
+  \node[state]           (q2) at (0,0) {$q_2$};
+  \node[state]           (q3) at (2,0) {$q_3$};
+
+  \path[->] (q0) edge[bend left] node[above] {\alert{$a$}} (q1)
+            (q1) edge[bend left] node[above] {\alert{$a$}} (q0)
+            (q2) edge[bend left] node[above] {\alert{$a$}} (q3)
+            (q3) edge[bend left] node[above] {\alert{$a$}} (q2)
+            (q0) edge[bend left] node[right] {\alert{$b$}} (q2)
+            (q2) edge[bend left] node[left]  {\alert{$b$}} (q0)
+            (q1) edge[bend left] node[right] {\alert{$b$}} (q3)
+            (q3) edge[bend left] node[left]  {\alert{$b$}} (q1);
+\end{tikzpicture}
+\end{center}
+
+\hfill{}Which language?
+
+\end{frame}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
 
 \begin{frame}<1-15>[c]