CSC 161 Grinnell College Spring, 2015
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. Values and Addresses
  4. Testing

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
Monday, February 9 Examples
Module 010: Arrays, Functions, Testing, Values, and Addresses
Tuesday, February 10 Quiz on C Basics Covers through Module 001    
Tuesday, February 10 Functions
  • with and without value parameters
  • return values and void functions
lab exercise    
Wednesday, February 11 More functions and parameters
  • Review value parameters
  • Clarify lab on passing values as parameters
  • Begin work with passing pointers as parameters
Friday, February 13 Functions: passing values and pointers as parameters lab exercise    
Monday, February 16 Arrays ` lab exercise    
Tuesday, February 17 Supplemental Problem 2   Supplemental Problem 2 (done individually) Tuesday, February 17  
Tuesday, February 17 More parameters
  • More passing values and pointers as parameters
  • Function pointers
lab exercise    
Wednesday, February 18 Project darts.c (program with random number generator) Uninterpretable Dance Due: Monday, February 23  

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.