Lecture Plan For Learning to Program with ANSI-C: A Multimedia based Approach | Parent |
---|

45 hours of contact. 11 weeks of classes + midterm + final
| |||||||||

Week 1 (Course Introduction, Problem Introduction) | |||||||||
---|---|---|---|---|---|---|---|---|---|

Theory
| |||||||||

1intro.swf | 1.0 | Intro | Outline, Grading, Respect, Course Organization Link to Motivational Problems mgrav,mopt,mroot, Research Methodology | ||||||

02icons.pps | 0.5 | Icons | for Viewgraphs (PowerPoint) | ||||||

Application
| |||||||||

mgrav1.swf | 1.0 | Fall | Introduce Free Falling Object Experiment | ||||||

tgrav.pdf | 0.5 | T-F1 | (Free Fall) Single Decimal Point Data Hand Calculation | ||||||

mgrav1.swf | 0.5 | Fall | Hand calculation finds problem. Why? Stud err? Precision? Redo experiment | ||||||

tgrav.pdf | 0.5 | T-F2 | (Free Fall) Two Decimal Point Data Hand Calculation | ||||||

mopt.swf | 1.0 | Opti | Introduce Optics Lens System for Camera Simulation | ||||||

topt.pdf | .5 | T-O1 | (Optics) Simple Lens Formula: Direct Hand Calculation | ||||||

mroot.swf | 0.5 | Root | Introduce Root Finding | ||||||

troot.pdf | 0.5 | T-R1 | (Root) Solving for an n-root by hand. | ||||||

Week 2 (1st program: Review Writing a Program & Debugging, Midterm/Final introduction) | |||||||||

Review
| |||||||||

mgrav1.swf | 0.1 | Fall | - | ||||||

mopt.swf | 0.1 | Opti | - | ||||||

mroot.swf | 0.1 | Root | - | ||||||

Theory
| |||||||||

2prog1.swf | 2 | Basics | How to Install, Edit, Compile, Link & Run a Simple Program | ||||||

tgen.pdf | 1 | T-G1 | General Tutorial: Using Editor, and Debugging Programs | ||||||

Application
| |||||||||

ctst | 0.5 | MT/Fin | Sample Mid-Term/Final | ||||||

Week 3 (Functions and Commented Code) | |||||||||

Review
| |||||||||

2prog1.swf | 2 | Basics | How to Install, Edit, Compile, Link & Run a Simple Program | ||||||

Theory
| |||||||||

3func.swf | 1 | Functions | C: A Language of Functions. Why Functions, Types of Functions, Anatomy, Connecting, Linking | ||||||

Application
| |||||||||

jlib.7z | - | Function | Header file and object files for functions written by jon (Download to sdba) | ||||||

mgrav1.swf | 0.1 | Fall | Review Quickly | ||||||

3func.swf | 0.5 | T-F3 | Illustration of Gravity Commented Code (students enter into computer, use jEdit) | ||||||

mopt.swf | 0.5 | Opti | pseudo code | ||||||

mroot.swf | 0.5 | Root | pseudo code | ||||||

tgen.pdf | - | T-G2 | Writing, compiling, linking pseudo code for three examples. | ||||||

Week 4 and 5 (Variables SDBA Chapter 1.2) | |||||||||

BUZU: UML to Functions (100-2 Week 4 Future Move earlier in course)
| |||||||||

../p1/algo.swf | 0.5 | UML | (100-2 Week 4) Last Semester: UML and Pseudo Code Review | ||||||

mgravuml.swf | 0.2 | Fall | UML (100-2 Week 4,Next year tutuorial?) | ||||||

tgrav.pdf | - | T-F3 | UML | ||||||

moptuml.swf | 0.2 | Opti | UML (100-2 Week 4, Next year tutuorial?) | ||||||

topt.pdf | - | T-O2 | UML | ||||||

mrootuml.swf | 0.2 | Root | UML (100-2 Week 4, Next year tutuorial?) | ||||||

troot.pdf | - | T-R2 | UML | ||||||

Review: Functions and Commenting
| |||||||||

3func.swf | 0.5 | Fall | Functions and Falling Object | ||||||

Theory (3 hours)
| |||||||||

4var.swf | 2 | Variables | Manipulating Data: Variables ,calls Power Point Slides (including pps) Slides 1-40 | ||||||

11vp-int.pps | - | Variables | Hierarchy (PowerPoint) | ||||||

12varcon.pps | - | Variables | Containers (PowerPoint) | ||||||

12store3.pps | - | Variables | Storage(PowerPoint) | ||||||

12calcu4.pps | - | Variables | Calculations(PowerPoint) | ||||||

12exact5.pps | - | Variables | Choice Considerations + Standards for fixed/floating point (PowerPoint) | ||||||

tgen.pdf | 1 | T-G3 | Variables Declaring, Initializing and Using | ||||||

Application (4 hours)
| |||||||||

4var.swf | - | Fall | FIxed Point Derivative Instructions | ||||||

tgrav.pdf | - | T-F4 | FIxed Point Derivative | ||||||

4var.swf | - | Fall | VP for fixed point, questions + FLoating Point Derivative Instructions | ||||||

tgrav4.pdf | - | T-F5 | FLoating Point Solution (derivative) | ||||||

4var.swf | - | Fall | VP for floating point, questions | ||||||

mroot.swf | - | Root | Floating Point y=f(x) Instructions | ||||||

troot.pdf | - | T-R3 | Floating Point y=f(x) | ||||||

mroot.swf | - | Root | VP for Floating Point y=f(x) | ||||||

mopt.swf | - | Opti | Single Lens Simple Code (no coordinate system) Instructions | ||||||

topt.pdf | - | T-O3 | Single Lens Simple Code (no coordinate system) | ||||||

Week 6 (Variables: Optics Application + Midterm) | |||||||||

mopt.swf | - | Opti | VP diagram, problems with solution. Improve w/Coordinate system | ||||||

topt.pdf | - | T-O4 | Single Lens Simple Code (with coordinate system) | ||||||

mt.swf | 2 | mt | Midterm Paper | ||||||

tst_eg.7z | 0.5 | MT | Sample Midterm(Practice) | ||||||

tst_mt.7z | 2 | MT | Midterm Paper | ||||||

Week 7 (Pointers, SBBA Chapter 1.3) | |||||||||

Theory
| |||||||||

5ptr.swf | - | ptr | Using Pointers (Slides 1-18), | ||||||

13ptr1.pps | - | ptr | Introduction of Pointers | ||||||

13vpfunc.pps | - | ptr | Pointers, Variables and Functions. | ||||||

tgen.pdf | - | T-G4 | Pointer Tutorial | ||||||

Week 8 (Pointers & Program Flow) May 9 | |||||||||

Review
| |||||||||

5ptr.swf | - | ptr | Using Pointers (Slides 1-18), | ||||||

13vpfunc.pps | - | ptr | Pointers, Variables and Functions. | ||||||

Application of Pointers
| |||||||||

5ptr.swf | - | Fall | Fall: Using Pointers to Get Data | ||||||

tgen.pdf | - | T-F6 | |||||||

mroot.swf | - | Root | Root Finding: Pointers to Get Data | ||||||

troot.pdf | - | T-R4 | |||||||

mopt.swf | - | Opt | Optics: Pointers to Get Data | ||||||

topt.pdf | - | T-O5 | |||||||

Theory of Program Flow (Review Term 1 and Introduce...)
| |||||||||

6flow.swf | 1 | - | Program Flow | ||||||

Week 9 (Program Flow) May 16 | |||||||||

Review up to pointer
| |||||||||

key.swf | 0.5 | - | Key Concepts | ||||||

http://www.sdba.info | - | - | vpfunc.c | ||||||

Motivate and Theory
| |||||||||

6flow.swf | 1 | - | Program Flow | ||||||

mopt.swf | 0.5 | - | Optics Program Fails. | ||||||

Conditional control in ANSI-C(IF)
| |||||||||

6flow.swf | 1 | - | Program Flow | ||||||

topt.pdf | - | T-05 | Sections 5.1 to 5.3 | ||||||

mopt.swf | 0.5 | - | Corrected Program | ||||||

ASIDE splitting the program (jEdit)
| |||||||||

Repetition in ANSI-C (WHILE)
| |||||||||

6flow.swf | 1 | - | Program Flow | ||||||

topt.pdf | - | T-05 | Sections 5.4 to 5.5 | ||||||

mopt.swf | 0.5 | - | Corrected Program | ||||||

mgrav1.swf | - | - | Falling object: Simplifying input | ||||||

mgrav2.swf | |||||||||

mgrav.pdf | - | ||||||||

Homework
| |||||||||

mroot.swf | - | Root | Root Finding: Conditional Control + Repetition | ||||||

troot.pdf | - | T-R4 | |||||||

Week 10 (Arrays, SDBA chapter 3.1) May 23 | |||||||||

Review - 1 hour (flow control application)
| |||||||||

key.swf | - | - | Key Ideas. | ||||||

mgrav2.swf | - | - | Modify ptr program by jEdit, run and on entered data, then VP walkthrough | ||||||

mroot1.swf | - | - | Review the algorithms UML for finding roots. | ||||||

mroot2.swf | - | - | jEdit : modify root program using jEdit to self find root then VP walkthrough | ||||||

Theory (Arrays) - 2.5 hours
| |||||||||

7array.swf | - | - | SDBA viewgraphs Chapter 3.1 | ||||||

Application & Homework (0.5 hrs)
| |||||||||

mgrav.pdf | - | - | modify mg-loop.c to use arrays | ||||||

Week 11 (Records, SDBA chapter 3.2) May 30 | |||||||||

Review - 1 hour (arrays)
| |||||||||

key.swf | - | - | Key Ideas | ||||||

7array.swf | - | - | Review Arrays and SDBA summary on PPT | ||||||

mgrav2.swf | - | - | Modify loop program by jEdit, run and on entered data, then VP walkthrough | ||||||

Application - 2 hour (arrays)
| |||||||||

mopt.pdf | 1 | - | modify mo-loop.c to use arrays (student work (30), then jEdit, then VP walkthrough) | ||||||

mroot.pdf | 1 | - | modify mr-loop.c to use arrays (student work (30), then jEdit, then VP walkthrough) | ||||||

Theory of Records (1 hour)
| |||||||||

8record.swf | 1 | - | Theory of Records | ||||||

Week 12 - (Records SDBA chapter 3.2) June 6 | |||||||||

Review: Theory of Records
| |||||||||

Application:
| |||||||||

Review the Course
| |||||||||

Final Exam - June 13 | |||||||||

©2006,2007,2008,2009 AiZhu email: AiZhu @ xiaotu dot com
*- "With a Servant's Heart" -*

Last updated: CUT: Tue Apr 21 02:52:01 2015

Last updated: CUT: Tue Apr 21 02:52:01 2015