summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantosh G. Vattam2010-01-28 15:02:15 +0530
committerSantosh G. Vattam2010-01-28 15:02:15 +0530
commit4809e41c320e3b346169a036bca6251f0a86b36c (patch)
tree4d17c6d1c96d13b3989d1a750f0ff5f112b37a0e
parent6205d19e9ba137b64a27baadc68012ebce895f26 (diff)
downloadworkshops-more-scipy-4809e41c320e3b346169a036bca6251f0a86b36c.tar.gz
workshops-more-scipy-4809e41c320e3b346169a036bca6251f0a86b36c.tar.bz2
workshops-more-scipy-4809e41c320e3b346169a036bca6251f0a86b36c.zip
Changed quiz questions for AVIT.
-rw-r--r--day1/day1quiz1.tex44
1 files changed, 22 insertions, 22 deletions
diff --git a/day1/day1quiz1.tex b/day1/day1quiz1.tex
index ee1fe83..f6bc562 100644
--- a/day1/day1quiz1.tex
+++ b/day1/day1quiz1.tex
@@ -58,24 +58,24 @@ On the top right hand corner please write down the following:
\end{itemize}
\end{frame}
-\begin{frame}[fragile]
-\frametitle{\incqno }
-Draw (roughly) the plot obtained by the following:
-\begin{lstlisting}
-In []: x = linspace(0, 2*pi, 3)
-In []: plot(x, sin(x))
-\end{lstlisting}
-\end{frame}
-
%% \begin{frame}[fragile]
%% \frametitle{\incqno }
-%% Describe the plot produced by the following:
+%% Draw (roughly) the plot obtained by the following:
%% \begin{lstlisting}
-%% In []: x = linspace(0, 2*pi, 50)
-%% In []: plot(x, cos(x), 'go')
+%% In []: x = linspace(0, 2*pi, 3)
+%% In []: plot(x, sin(x))
%% \end{lstlisting}
%% \end{frame}
+\begin{frame}[fragile]
+\frametitle{\incqno }
+Describe the plot produced by the following:
+\begin{lstlisting}
+In []: x = linspace(0, 2*pi, 50)
+In []: plot(x, cos(x), 'go')
+\end{lstlisting}
+\end{frame}
+
\begin{frame}
\frametitle{\incqno }
How will you plot the previous graph with line width set to 3? How will
@@ -134,15 +134,15 @@ What is the error? How do you fix it?
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 }
+%% 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 }
@@ -211,7 +211,7 @@ Given the above marks, how will you calculate the \alert{mean} and
\frametitle{\incqno }
\begin{lstlisting}
In []: marks = [10, 20, 30, 50, 55,
- 75, 83]
+ 75, 83]
\end{lstlisting}
How will you convert the list \texttt{marks} to an \alert{array}?
\end{frame}