quiz.tex
changeset 94 8c92864c184b
parent 89 98ebba820e91
--- a/quiz.tex	Fri Oct 09 22:57:00 2009 +0530
+++ b/quiz.tex	Sun Oct 11 16:51:43 2009 +0530
@@ -43,6 +43,16 @@
   \titlepage
 \end{frame}
 
+\begin{frame}
+  \frametitle{Write your details...}
+On the top right hand corner please write down the following:
+  \begin{itemize}
+    \item  Name:
+    \item Affliation:
+    \item Occupation:
+  \end{itemize}
+\end{frame}
+
 \begin{frame}{}
   What is the largest integer value that can be represented by Python?
 \end{frame}
@@ -71,7 +81,7 @@
 a = False
 b = True
 c = True
-if a and b or c:
+if (a and b) or c:
     print "You are correct!"
   \end{lstlisting}
 \end{frame}
@@ -101,7 +111,7 @@
 \end{frame}
 
 \begin{frame}{}
-  How do you get the alternate elements of a list?
+  How do you get the alternate elements of a list \emph{p}?
 \end{frame}
 
 \begin{frame}{}
@@ -115,7 +125,7 @@
 \begin{frame}[fragile]{}
   \begin{lstlisting}
   >>> a = (1, 2, 5, 7)
-  >>> a[1]
+  >>> a[1] = 3
   \end{lstlisting}
   What is the output?
 \end{frame}
@@ -137,7 +147,6 @@
     2 c
     3 d
   \end{lstlisting}
-  by doing a small modification in the same two lines of code above?
 \end{frame}
 
 \begin{frame}{}