16.216: ECE Application Programming

Instructor: Dr. Michael Geiger

Summer 2012

 

Course Schedule

This schedule contains a tentative schedule of topics we will cover throughout the term; this schedule is subject to change. As the semester progresses, I will update the schedule to show the actual dates on which we cover material, as well as provide links to the lecture slides and programming assignments. Note that most lectures are associated with some section(s) of the textbook, which I suggest you read prior to class.
 

Please note that the exam dates are fixed—the first exam will be held on Tuesday, 7/24 in class, the second exam will be held on Thursday, August 2 in class, and the third exam will be held Thursday, 8/16 in class.

 

Lecture Date Lecture Topics Handouts Reading Assignments

1

T, 7/10

 Course introduction/overview

 Basic C program structure

 Data in C: Number systems, data types, constants, variables

 Syllabus

 Lec. 1 questions

 2.1-2.4, 2.6-2.8, 7.1-7.3

 Program 1

 (due 7/13)

2

Th, 7/12

 Variables (cont.)

 Input and output: printf() and scanf()

 PE1 (Flowcharts, debugging basics)

 Lec. 2 questions

 2.5, 3.1-3.2

 Program 2

 (due 7/17)

3 T, 7/17

 Operators

 Output formatting

 Lec. 3 questions

 4.1-4.5, 20.1, 3.1

 Program 3

 (due 7/20)

4 Th, 7/19

 Conditional statements: if, switch

 Exam 1 Preview

 PE2 (Conditionals, formatting)

 Lec. 4 questions

 5.1-5.3

 Program 4

 (due 7/26)

  T, 7/24

 EXAM 1 (Solution)

   No new reading  
5 Th, 7/26

 Loops: while, do-while, for, break/continue

 Lec. 5 questions

 6.1-6.4

 Program 5

 (due 8/3)

6 F, 7/27

 PE3 (Loops)

 Functions: arguments, return statements

 Lec. 6 questions

 9.1-9.4

 

7 T, 7/31

 Pointers; pointer arguments

 PE4 (Functions and pointers)

 Lec. 7 questions

 11.1-11.5

 Program 6

 (due 8/7)

  Th, 8/2

 EXAM 2 (Solution)

 Saturday, 8/4: Last day to withdraw

 

 No new reading

 
8 T, 8/7

 One-dimensional arrays

 Arrays, pointers, and functions

 Two-dimensional arrays

 Lec. 8 questions

 8.1-8.2

 Program 7

 (due 8/10)

9 Th, 8/9

 Character arrays and strings

 PE5 (Arrays, strings)

 Lec. 9 questions

 13.1-13.6

 Program 8

 (due 8/17, at noon)

 Starter file

10 F, 8/10

 File I/O

 Unformatted I/O

 Lec. 10 questions

 22.1-22.3

 
11 T, 8/14

 Structures

 Exam 3 Preview

 Lec. 11 questions

 16.1-16.3

 
  Th, 8/16

 EXAM 3 (Solution)