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

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
for
Extra
Credit
Wednesday, September 17 Examples
Module 010: Arrays, Functions, Testing, Values, and Addresses
  Examples:    
Friday, September 19 Hour Test 1 Covers through Module 001    
Monday, September 22 Functions
  • with and without value parameters
  • return values and void functions
lab exercise    
Tuesday, September 23 More functions and parameters
  • Review value parameters
  • Clarify lab on passing values as parameters
  • Begin work with passing pointers as parameters
   
Wednesday, September 24 Functions: passing values and pointers as parameters lab exercise    
Friday, September 26 Arrays ` lab exercise    
Monday, September 29 More parameters
  • More passing values and pointers as parameters
  • Function pointers
Testing
lab exercise    
Tuesday, September 30 Supplemental Problem 2   Supplemental Problem 2 (done individually) Tuesday, September 30  
Friday, October 3 Project darts.c (program with random number generator) Uninterpretable Dance Due: Tuesday, October 7  

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