<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{article}
\title{Course Design Document\\Software Tools, Techniques and Practices\\for Engineering Studies}
\author{Asokan Pichai\\Prabhu Ramachandran}
\date{}
\parindent=0pt
\begin{document}
\maketitle

\subsection{Preamble} 
\begin{description}
  \item[Version] 0.8
  \item[Purpose] This document captures the design of the Software
      Tools, Techniques and Practices course. This course is designed
      under the project on ``Adoption of Open Source Software in Science
      and Engineering Education'' at Indian Institute of Technology,
      Bombay funded by the National Mission on Education through
      Information and Communication Technology, Ministry of Human
      Resources Development under the thrust area of ``Adaptation and
      deployment of open source packages equivalent to MATLAB, ORCAD etc''.

  \item[Recipients] in no particular order
  \begin{enumerate}
     \item Kannan Moudgalya
     \item Venkatesh Choppella
     \item Madhu Belur
     \item Mani Bhushan
     \item Eric Jones
     \item Travis Oliphant
     \item Greg Wilson
  \end{enumerate}
\end{description}
\newpage

\section{Specifications}
\begin{description}

\item[Audience] The course is meant for students of BE/BTech and ME/MTech programmes. While it is open to all students,
    it has been designed with students of non-CS, non-IT streams only.
\begin{itemize}
\item Separate courses will be designed along similar lines targetted to students of Bsc/MSc in Physics, Chemistry and Mathematics. These courses will predominantly but not necessarily use the same tools.
\item For students of Statistics a broadly similar course using R will be designed. 
\item Each of these courses will have a corresponding `Train the Teachers' course.
\end{itemize}

\item[Background] The students will possess good computer usage skills and some programming knowledge
\begin{itemize}
\item Good computer usage skills is typically using computers for preparing documents, sending email etc.
\item Some programming knowledge is basic understanding of coding such as operators, assignments, conditionals, loops
    and functions.
\item Knowledge of any specific language or operating system is NOT assumed.
\end{itemize}

\item[Context] Engineering students use computers for a large number of
    curricular tasks--mostly computation centred. However, they do not
    see this as coding or programming tasks and usually are not even
    aware of the tools and techniques that will help them to handle
    these tasks better. This results in less than optimal use of their
    time and resources. This also causes difficulties when it comes
    tocollaboration and building on other people's work. This program is
    intended to train such students in good software practices and tools
    for producing code and documentation.
\end{description}

\newpage

\section{Course Objectives}
\emph{Each objective is associated with a level in the Revised Bloom's
Taxonomy - which is a standard pedagogic tool for curriculum planning,
instructional delivery and assessment. Please refer to:
http://www.apa.org/ed/new\_blooms.html for a one page explanation.} 


After successfully completing the program, the participants will be able to:
\begin{enumerate}
\item \label{intro} understand how software tools work together and how they can be used in tandem to carry out tasks,\hfill \texttt{RBT U\phantom{p}}
\item \label{cmd} use unix command line tools to carry out common (mostly text processing) tasks,\hfill \texttt{RBT Ap}
\item \label{pdf} to generate professional documents, \hfill \texttt{RBT Ap}
\item \label{VC} use version control effectively--for both code and documents,\hfill \texttt{RBT Ap}
\item \label{scr} automate tasks by writing shell scripts and python scripts,\hfill \texttt{RBT Ap}
\item \label{sty} realise the impact of coding style and readbility on quality,\hfill \texttt{RBT U\phantom{p}}
\item \label{py} write mid-sized programs that carry out typical engineering/numerical computations such as those that involve (basic) manipulation of large arrays in an efficient manner,\hfill \texttt{RBT Ap}
\item \label{plot} generate 2D and simple 3D plots, \hfill \texttt{RBT Ap}
\item \label{dbg} debug programs using a standardised approach,\hfill \texttt{RBT Ap}
\item \label{test} understand the importance of tests and the philosophy of Test Driven Development,\hfill \texttt{RBT U\phantom{p}}
\item \label{unit} write unit tests and improve the quality of code.  \hfill \texttt{RBT Ap}
    \end{enumerate}
\section{Assessment Strategies}
We will use tests and quizzes during the course and an end of course project to evaluate the degree of achievement of the objective. The projects will be be individual but sufficient hooks will be built into projects that the participants need to work together. Such hooks will be in the nature of building dependencies--A's code will call B's function etc--rather than making people work in teams.

\section{Module Plan}
The objectives listed against the modules may be covered only partially in that module. In other words, each module may cover one or more objectives fully or partially. And each objective may be handled in one or more modules--partially or fully. 

\begin{tabular}{||l|l|l|r||}\hline\hline
Seq &amp; Module  &amp; Course Objectives &amp; Duration\\
Num &amp; Name    &amp; Covered           &amp; (Hours)\\\hline 
1 &amp; Using Linux Tools        &amp; \ref{intro}, \ref{cmd}, \ref{scr}, \ref{dbg} and  \ref{test} &amp; 7\\\hline
2 &amp; Basic Python Programming &amp; \ref{scr}, \ref{sty}, \ref{dbg} and \ref{test}               &amp; 8\\\hline 
3 &amp; LaTeX                    &amp; \ref{pdf} and \ref{scr}                                      &amp; 2\\\hline
4 &amp; Version Control          &amp; \ref{VC}                                                     &amp; 2\\\hline
5 &amp; Coding Style \&amp; Approach &amp; \ref{sty} and \ref{test}                                     &amp; 2\\\hline
6 &amp; Test Driven Development  &amp; \ref{test}, \ref{unit}, \ref{cmd} and \ref{scr}              &amp; 4\\\hline
7 &amp; Advanced Python          &amp; \ref{py}, \ref{dbg}, \ref{plot} and \ref{test}               &amp; 8\\\hline
8 &amp; Project                  &amp; All applied                                                  &amp; 6\\\hline
\end{tabular}    

Session Count = 39 + 1 Buffer
\subsection*{Note}
\begin{itemize}
    \item All sessions will be held in rooms where students are sitting before a computer.
    \item We will use \texttt{bzr} as the version control tool. The course materials will be duplicated with other tools
          such as \texttt{hg, git, svn}.
    \item It is expected that shell scripting covered in module 1 will act as a revision for basic programming
      concepts.
\end{itemize}     

\section{Module 1: Using Linux Tools}
\label{ULT}
\subsection{Module Objectives}
After successfully completing this module a participant will be able to:
	\begin{itemize}
	\item Understand the design philosophy of *nix \hfill U\phantom{p}
	\item Use Linux as their day-to-day operating system\hfill Ap
	\item Use the text processing tools such as \texttt{grep, tr}\hfill Ap
	\item Write and execute (bash) shell scripts\hfill Ap
	\item Use a text editor comfortably\hfill Ap
	\end{itemize}
\subsection{Suggested Reading}
\begin{enumerate}
	\item "In the beginning..." by Neal Stephenson
	\item "The Unix Programming Environment" by Kernighan and Pike
\end{enumerate}
\subsection{Session Plan}
\begin{tabular}{llr}
Session &amp; Topic &amp; Duration\\\hline
1 &amp; Introduction to the course                                       &amp; ~5 mts\\
  &amp; Historical background and implications. Why Unix?                &amp; 10 mts\\
  &amp; Getting started--logging in; \tt{ls, date, who, cd, mkdir}       &amp; 10 mts\\
  &amp; Getting help: \tt{apropos, man, info}                            &amp; 10 mts\\
  &amp; Basic file handling: \tt{cp, mv, rm}                             &amp; 10 mts\\
  &amp; First session buffer                                             &amp; ~5 mts\\\hline

2 &amp; Command line arguments                                           &amp; ~5 mts\\
  &amp; Basic text processing: \tt{head, tail, cut, paste}               &amp; 15 mts\\
  &amp; Shell meta characters                                            &amp; 10 mts\\
  &amp; Looking at files: \tt{cat, less}                                 &amp; ~5 mts\\
  &amp; Directory structure: \tt{man hier, ls -l}                        &amp; ~5 mts\\
  &amp; Permissions and ownership, \tt{chmod, chown}                     &amp; 10 mts\\\hline

3 &amp; Redirection and Piping                                           &amp; 10 mts\\
  &amp; More text processing: \tt{grep, tr}                              &amp; 10 mts\\
  &amp; Elementary regex: . ? * \^ \$ [ ]                                  &amp; 15 mts\\
  &amp; One liners: show lines n to m, show directories                  &amp; 15 mts\\\hline

4 &amp; More text processing: \tt{join, sort, uniq}                      &amp; 10 mts\\
  &amp; Generating a word frequency list                                 &amp; 10 mts\\
  &amp; Basic editing and editors: vim, scite                            &amp; 10 mts\\
  &amp; Personalising your environment: \tt{.bashrc, .vimrc}             &amp; 10 mts\\
  &amp; Subshells and \tt{source}                                        &amp; 10 mts\\\hline

5 &amp; More tools: \tt{tar, zip, diff, cmp, comm}                       &amp; 25 mts\\
  &amp; Environment variables, \tt{set}                                  &amp; 10 mts\\
  &amp; Writing simple shell scripts                                     &amp; 15 mts\\\hline

6 &amp; Control structures and operators in bash                         &amp; 20 mts\\
  &amp; Writing shell scripts                                            &amp; 30 mts\\\hline

7 &amp; Functions in bash scripts                                        &amp; 20 mts\\
  &amp; Assessment Test                                                  &amp; 30 mts\\\hline\hline
\end{tabular}

\section{Module 2: Basic Python Programming}
\label{BPyP}
\subsection{Module Objectives}
After successfully completing this module a participant will be able to:
	\begin{itemize}
            \item write modular, procedural code in python, \hfill RBT Ap
            \item understand the functional features of python, \hfill RBT U\phantom{p}
            \item understand the object model of python, \hfill RBT U\phantom{p}
            \item write programs using objects \hfill RBT Ap
	\end{itemize}
\subsection{Suggested Reading}
\begin{itemize}
    \item Python tutorial available at http://www.python.org/doc/tut
    \item ``Dive into Python'' by Mark Pilgrim
\end{itemize}

\begin{tabular}{llr}
Session &amp; Topic &amp; Duration\\\hline
1 &amp; Introduction to the Python language. Philosophy           &amp; 25 mts\\
  &amp; The interpreter(\texttt{ipython}--python as calculator        &amp; \\
  &amp; Editing and running a .py file                            &amp; \\
  &amp; Basic data types and operators: Numeric and string        &amp; \\
  &amp; Syntax: \tt{while, if, raw\_input(), int(), def}          &amp; \\
  &amp; Problem set 1                                             &amp; 25 mts\\\hline

2 &amp; lists and tuples: basic operations                        &amp; 15 mts\\
  &amp; Syntax: \tt{range(),for, len()}                           &amp; \\
  &amp; Code Reading: Example set 1                               &amp; 10 mts\\
  &amp; Problem set 2                                             &amp; 25 mts\\\hline

3 &amp; Strings: basic operations                                 &amp; 10 mts\\
  &amp; Introduction to the standard library                      &amp; \\
  &amp; I/O: reading and writing files                            &amp; 15 mts\\
  &amp; Problem set 3                                             &amp; 25 mts\\\hline

4 &amp; Dictionaries: basic operations                            &amp; 10 mts\\
  &amp; Modules and code organization                             &amp; 10 mts\\
  &amp; Executing modules as scripts: \texttt{\_\_main\_\_}       &amp;\\
  &amp; \texttt{import} and overview of major modules             &amp; 15 mts\\
  &amp; Problem set 4                                             &amp; 15 mts\\\hline  

5 &amp; Interim Assessment                                        &amp; 30 mts\\
  &amp; Functional approach: overview                             &amp; 25 mts\\
  &amp; \texttt{map, filter, reduce} and list comprehensions      &amp; \\\hline

6 &amp; Classes and Objects                                       &amp; 20 mts\\
  &amp; Writing Object-oriented code                              &amp; 30 mts\\
  &amp; Code Reading: Example set 2                               &amp;\\\hline

7 &amp; Case Studies:                                             &amp; 50 mts\\
  &amp; png notation                                              &amp;\\              
  &amp; result html generation                                    &amp;\\\hline
8 &amp; Assessment                                                &amp; 50 mts\\\hline\hline
\end{tabular}

\end{document}
</pre></body></html>