day2/session1.tex
changeset 344 19754ed6050f
parent 339 8ac5fe07810f
child 359 cb17c87b090e
--- a/day2/session1.tex	Sun Jan 10 16:43:15 2010 +0530
+++ b/day2/session1.tex	Sun Jan 10 16:57:51 2010 +0530
@@ -547,3 +547,62 @@
 \end{frame}
 
 \end{document}
+
+%% Questions for Quiz %%
+%% ------------------ %%
+
+
+\begin{frame}
+\frametitle{\incqno }
+  What is the largest integer value that can be represented natively by Python?
+\end{frame}
+
+\begin{frame}
+\frametitle{\incqno }
+  What is the result of 17.0 / 2?
+\end{frame}
+
+\begin{frame}
+\frametitle{\incqno }
+  Which of the following is not a type in Python?
+  \begin{enumerate}
+    \item int
+    \item float
+    \item char
+    \item string
+  \end{enumerate}
+\end{frame}
+
+\begin{frame}
+\frametitle{\incqno }
+How do you create a complex number with real part 2 and imaginary part
+0.5.
+\end{frame}
+
+\begin{frame}
+\frametitle{\incqno }
+  What is the difference between \kwrd{print} \emph{x} and \kwrd{print} \emph{x,} ?
+\end{frame}
+
+\begin{frame}
+\frametitle{\incqno }
+  What does '*' * 40 produce?
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{\incqno }
+    What is the output of:
+    \begin{lstlisting}
+In []: ', '.join(['a', 'b', 'c'])
+    \end{lstlisting}
+\end{frame}
+
+
+\begin{frame}[fragile]
+    \frametitle{\incqno}
+  \begin{lstlisting}
+In []: 47 % 3 
+  \end{lstlisting}
+  What is the output?
+\end{frame}
+