From bf61e2b40cb5dadabf2814b5a117102f5dbf9742 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 7 Oct 2009 14:42:38 +0530 Subject: Added what did we learn to all slides and reworked on Session 2 and 4. --- day1/Session-2.tex | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'day1/Session-2.tex') diff --git a/day1/Session-2.tex b/day1/Session-2.tex index dda3a16..7ffb6bc 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,7 +492,7 @@ Try: \typ{print enumerate(a)} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame} - \frametitle{Did we meet the goal?} + \frametitle{What did we learn?} \tableofcontents % You might wish to add the option [pausesections] \end{frame} -- cgit From 5066d2dd9bfa6a2eaa95dc9bddef9ca07fe47aff Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 7 Oct 2009 15:08:16 +0530 Subject: Added What did we learn at the end of each session. --- day1/Session-2.tex | 1 - 1 file changed, 1 deletion(-) (limited to 'day1/Session-2.tex') diff --git a/day1/Session-2.tex b/day1/Session-2.tex index 7ffb6bc..f5f639c 100755 --- a/day1/Session-2.tex +++ b/day1/Session-2.tex @@ -496,5 +496,4 @@ Try: \typ{print enumerate(a)} \tableofcontents % You might wish to add the option [pausesections] \end{frame} - \end{document} -- cgit From 9f9ad2c7b93861355cb4685dcffa1589a84aafc1 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 7 Oct 2009 15:12:03 +0530 Subject: Added What did we learn at the end of session 2. --- day1/Session-2.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'day1/Session-2.tex') diff --git a/day1/Session-2.tex b/day1/Session-2.tex index f5f639c..21daeba 100755 --- a/day1/Session-2.tex +++ b/day1/Session-2.tex @@ -493,7 +493,13 @@ Try: \typ{print enumerate(a)} \begin{frame} \frametitle{What did we learn?} - \tableofcontents - % You might wish to add the option [pausesections] + \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} -- cgit