summaryrefslogtreecommitdiff
path: root/day1/Session-2.tex
diff options
context:
space:
mode:
authorSantosh G. Vattam2009-10-07 15:21:29 +0530
committerSantosh G. Vattam2009-10-07 15:21:29 +0530
commit76873b9feefe50bb8ab653a53802460710078d4c (patch)
tree57faacc31b9ae570f3122c09e2ad31122197caca /day1/Session-2.tex
parentd0e44e3fecf98af4e1b35e628b2fae697f0d231a (diff)
parent9f9ad2c7b93861355cb4685dcffa1589a84aafc1 (diff)
downloadworkshops-76873b9feefe50bb8ab653a53802460710078d4c.tar.gz
workshops-76873b9feefe50bb8ab653a53802460710078d4c.tar.bz2
workshops-76873b9feefe50bb8ab653a53802460710078d4c.zip
Changed Session outline and summary slides.
Diffstat (limited to 'day1/Session-2.tex')
-rwxr-xr-xday1/Session-2.tex26
1 files changed, 10 insertions, 16 deletions
diff --git a/day1/Session-2.tex b/day1/Session-2.tex
index dda3a16..21daeba 100755
--- a/day1/Session-2.tex
+++ b/day1/Session-2.tex
@@ -78,7 +78,7 @@
\author[FOSSEE Team] {Asokan Pichai\\Prabhu Ramachandran}
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {10, October 2009}
+\date[] {10, October 2009\\Day 1, Session 2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -137,17 +137,6 @@ These are called $Armstrong$ numbers.
\end{frame}
-\begin{frame}{Problem 1.3 - Kaprekar's constant}
- \begin{enumerate}
- \item Take a four digit number--with at least two digits different.
- \item Arrange the digits in ascending and descending order, giving A and D respectively.
- \item Leave leading zeros in A!
- \item Subtract A from D.
- \item With the result, repeat from step 2.
- \end{enumerate}
- Write a program to accept a 4-digit number and display the progression to Kaprekar's constant.
-\end{frame}
-
\begin{frame}[fragile]{Problem 1.4}
Write a program that prints the following pyramid on the screen.
\begin{lstlisting}
@@ -503,9 +492,14 @@ Try: \typ{print enumerate(a)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
- \frametitle{Did we meet the goal?}
- \tableofcontents
- % You might wish to add the option [pausesections]
+ \frametitle{What did we learn?}
+ \begin{itemize}
+ \item Defining functions and calling them
+ \item Lists: Creating, Indexing, Slicing and List methods
+ \item Tuples
+ \item range() function
+ \item for loops
+ \item iterating lists with for, for...range()
+ \end{itemize}
\end{frame}
-
\end{document}