CSC 161 Grinnell College Fall, 2012
Imperative Problem Solving and Data Structures

CSC 161 Module to Introduce Arrays, Functions, Testing, and Addresses


This module introduces CSC 161 students to fundamental elements of programming in C, including

  1. Arrays
  2. Functions and Parameters
  3. Testing
  4. Values and Addresses

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
Monday, September 24 Examples
Module 2: Arrays, Functions, Testing, Values, and Addresses
Tuesday, September 25 Functions with simple parameters
  • Reading from Text:
    • King: Sections 9.1-9.2, 9.4, pages 183-192, 201-202
    • K&R: 1.7, 4.1-4.3
lab exercise    
Wednesday, September 26 Arrays ` lab exercise    
Friday, September 28 Hour Test 1 Covers through lab on Functions with simple parameters    
Monday, October 1 Functions with general parameters lab exercise    
Tuesday, October 2 The & Operator, Addresses, and Testing
  • Reading from Text
    • King: Sections 11.1-11.2, pages 241-245
    • K&R: 5.1, 5.2
  • reading
lab exercise    
Wednesday, October 3 Supplemental Problem 2   Supplemental Problem 2 (done individually) Wednesday, October 3  
Wednesday, October 3 Project   Uninterpretable Dance Due: Tuesday, October 9  

Project: Uninterpretable Dance

Working in pairs, students should develop a program which makes the robot perform a randomized dance. That is, the program should have these features.


This project will be worth 25 points, based on the following rubric: