95/257
\begin{frame}
  \frametitle{Examples}
  
  \begin{quiz}{\textwidth}{Which of the following conforms to the 2PL protocol?}
  \begin{center}
    {\def\scheduleWidth{1cm}
    \begin{tikzpicture}
      \schedule{}{2}{2sA|2rA|1xB|1wB|2uA!1+1|1uB|2xB|2wB|2uB}
      \mpause[1]{
        \node at (10.1cm,-\scheduleHeight) {No};
      }
      \begin{scope}[yshift=-1.5cm]
      \schedule{}{2}{2sA|2rA|1xB|1wB|1uB|2xB|2uA|2wB|2uB}
      \mpause{
        \node at (10.1cm,-\scheduleHeight) {Yes};
      }
      \end{scope}
    \end{tikzpicture}
    }
  \end{center}
  \end{quiz}
\end{frame}