summaryrefslogtreecommitdiff
path: root/scipy/basic/session2a.tex
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/basic/session2a.tex')
-rw-r--r--scipy/basic/session2a.tex54
1 files changed, 0 insertions, 54 deletions
diff --git a/scipy/basic/session2a.tex b/scipy/basic/session2a.tex
index 964df5a..d5e936f 100644
--- a/scipy/basic/session2a.tex
+++ b/scipy/basic/session2a.tex
@@ -552,57 +552,3 @@ In []: %timeit t*t
\end{frame}
\end{document}
-
-%% Questions for Quiz %%
-%% ------------------ %%
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
- \begin{lstlisting}
- In []: a = [1, 2, 5, 9]
- In []: a[0:-1]
- \end{lstlisting}
- What is the output?
-\end{frame}
-
-\begin{frame}
-\frametitle{\incqno }
- How do you combine two lists \emph{a} and \emph{b} to produce one list?
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
- \begin{lstlisting}
- In []: a = [1, 2, 5, 9]
- \end{lstlisting}
- How do you add the value 10 to the end of this list?
-\end{frame}
-
-\begin{frame}
-\frametitle{\incqno }
-Write the code to read a file \texttt{data.txt} and print each line of it?
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
-What would be the result of the following code snippet:
-\begin{lstlisting}
-In []: x = linspace(0, 10, 50)
-In []: y = linspace(50, 100, 100)
-In []: plot(x, y)
-\end{lstlisting}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
-The following code snippet has an error/bug:
-\begin{lstlisting}
-In []: l = [0.1, 0.2, 0.3, 0.4]
-In []: t = [0.69, 0.90, 1.19, 1.30]
-In []: tsq = []
-In []: for time in t:
- ....: tsq.append(time*time)
- ....: plot(l, tsq)
-\end{lstlisting}
-What is the error? How do you fix it?
-\end{frame}