60/296
\begin{frame}
  \frametitle{Quiz}

  \begin{quiz}{\textwidth}{}
    A table with homework grades:
    \begin{center}
      {\ttfamily\footnotesize\centering
      \colorbox{rellight}{%
        \begin{tabular}{|r|r|r|r|r|r|}
          \multicolumn{6}{c}{HOMEWORK\_RESULTS} 
          \\
          \hline
          \hd{STUD\_ID} & \hd{FIRST} & \hd{LAST} & \hd{EX\_NO} &
          \hd{POINTS} & \hd{MAX\_POINTS} \\
          \hline
          100 & Andrew & Smith & 1 & 9  & 10 \\
          101 & Dave   & Jones & 1 & 8  & 10 \\
          102 & Maria  & Brown & 1 & 10 & 10 \\
          101 & Dave   & Jones & 2 & 11 & 12 \\
          102 & Maria  & Brown & 2 & 10 & 12 \\
          \hline
        \end{tabular}%
      }}
    \end{center}
    \begin{itemize}
      \item Which FDs should hold for this table in general?
      \item Identify FDs that hold in this table but not in general.
    \end{itemize}
  \end{quiz}  
  %% (1):
  %% STUD_ID        -> FIRST, LAST
  %% EX_NO          -> MAX_POINTS
  %% STUD_ID, EX_NO -> POINTS,...           (key)
  %% (2):
  %% FIRST -> LAST
  %% FIRST, LAST -> STUD_ID             (prevents students with same name)
\end{frame}