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

CSC 161 Module 7: Integrated Robotics

Summary and Main Topics

The purpose of this module is to smoothly integrate and review material that has been presented through the semester, with a particular emphasis on C programming concepts and full usage of the Scribbler robot.

  1. Command-Line Arguments
  2. Files
  3. Logging Commands

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
Tuesday, November 29 Module 7: Introduction
Wednesday, November 30 Command-Line Arguments lab exercise    
Friday, December 2 Files lab exercise    
Monday, December 5 Files Continued lab exercise    
Tuesday, December 6 Module 7 Project Day 1   project    
Wednesday, December 7 Do ONE of supplemental problem 4 or supplemental problem 5 Wednesday, December 7 BOTH problems may be done for extra credit; Second (extra credit) Due Friday, December 9 at 5:00 pm
Wednesday, December 7 Module 7 Project Day 2   project Friday, December 9  
Friday, December 9 Show and Tell;
End-of-Course Evaluations
  Project Demonstrations    
All extra Credit     Friday, December 9 at 5:00 pm  

Project: Robot Logging Suite

Write a "robot logger". This is a program which can log actions to a file, and also read actions from a file and perform them. You should use command-line input flags to specify whether the robot is in "read" mode (reading actions from a file) or "write" mode (logging actions onto a file). This program should support at least 10 different actions (following the module 3 project command requirements). You can use either standard i/o or command-line input to control the robot in "write" mode. You are encouraged to use either your module 3 project or your command-robot.c program as the basis for the command input.


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

This document is available on the World Wide Web as

created 19 July 2011 by Erik Opavsky
revised 16 August 2011 by Erik Opavsky
edited 5 December 2011 by Henry M. Walker
Valid HTML 4.01! Valid CSS!
For more information, please contact Henry M. Walker at