CSC 161 Grinnell College Fall, 2013
 
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, September 23 Examples
Module 2: Arrays, Functions, Testing, Values, and Addresses
  Examples:    
Tuesday, September 24 Functions with simple parameters lab exercise    
Wednesday, September 25
Friday, September 27 Hour Test 1 Covers through steps 1-4, 6 of the lab on Functions with simple parameters    
Monday, September 30 Arrays ` lab exercise    
Tuesday, October 1 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 2 Supplemental Problem 2   Supplemental Problem 2 (done individually) Wednesday, October 2  
Wednesday, October 2 Project darts.c (program with random number generator) Uninterpretable Dance Due: Tuesday, October 8  

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