CS 216 UNIX C Programming

Assignments


Week 1

  • We will begin by reviewing material from the first term.
  • Program Assignment: Chapter 9, Number 3.
    1. Make the program interactive, asking the user for the three values.
    2. Limit the user's numeric choices to positive numbers less than ten.


Week 2

  • Program Assignment: Chapter 10, Number 1.
    • Objective: do not write code for this assignment.
      Instead, explain in two paragraphs, how to carry it out.
      You may use code examples.
  • Program Assignment: Chapter 11, Number 5.


Week 3

  • Program Assignment: Chapter 12, Numbers 1 and 2.
  • Objective: write pseudocode and code for program assignment.
  • Quiz next week on material through what we covered in Chapter 12.


Week 4

  • Program Assignment: Exercise 4 from Chapter 13
  • Objective: write pseudocode and code for program assignment.
    1. Use two functions
    2. Ask the user for the number of times to call the second function
    3. Use a variable in the second function to remember and report how many times it was called.
    4. Do not use global variables.


Week 5

  • Program Assignment: Exercise 1 from Chapter 14
  • Objective: write pseudocode and code for program assignment.
  • Quiz soon on Chapters 13 and 14.


Week 6

  • Complete Program Assignment: Exercise 3 from Chapter 14
  • Objective: write pseudocode and code for program assignment.
  • Quiz next week on Chapters 13 and 14.
  • Read Chapters 15 and 16 for discussion in class next week.


Week 7

  • Quiz on Chapters 13 and 14
  • Discussion of Chapters 15 and 16
  • Consider Chapter 16: the examples and the assignments at the end of the chapter.
    Pick an assignment from the end onf Chapter 16 and be prepared to work on it in class to do in groups.
  • Read Chapter 17 for next class.

Week 8

  • No class.

Week 9

  • Work on Chapter 16 assignment in groups.
  • Discussion of Chapter 17
  • Finish assignments.
  • Quiz through Chapter 16 next week.