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

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

Introduction

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
for
Extra
Credit
Monday, February 20 Examples
Module 2: Arrays, Functions, Testing, Values, and Addresses
  Examples:    
Tuesday, February 21 Functions with simple parameters
  • K&R: 1.7, 4.1-4.3
lab exercise    
Wednesday, February 22 Arrays lab exercise    
Friday, February 24 Functions with general parameters
  • K&R: 1.7, 4.1-4.3
lab exercise    
Monday, February 27 Supplemental Problem 2   Supplemental Problem 2 (done individually) Monday, February 27  
Monday, February 27 The & Operator, Addresses, and Testing lab exercise    
Tuesday, February 28 Project   Uninterpretable Dance Due: Tuesday, March 6  
Wednesday, February 29 Hour Test 1
Friday, March 2 Project   Uninterpretable Dance Due: Tuesday, March 6  

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.

Grading

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