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

CSC 161 Module 0: Getting Started with Linux, C, and the Scribbler 2

Summary and Main Topics

This module introduces CSC161 students to the basics of Linux, C programming, and the Scribbler robots, including:

  1. basic Linuxl
  2. introduction to using the terminal window;
  3. elements of a C program, including variables and primitive types;
  4. editing, compiling, linking, and running a program; and
  5. basic Scribbler actions (beeping and motion).

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
for
Extra
Credit
Friday, August 31 Problem-solving Process
Module 0: Linux Introduction
  Examples    
Monday, September 3 Linux Basics lab exercise    
Tuesday, September 4 Files in Linux lab exercise    
Wednesday, September 5 File Permissions in Linux lab exercise
Discussion: overivew of C
   
Friday, September 7 Introduction to C
  • Elements of a program
  • Variables and arithmetic expressions
  • Variable names
  • Data types and sizes
  • Constants
lab exercise    
Monday, September 10 Using the Scribbler 2 Robot lab exercise    
Tuesday, September 11 Project   Program a Song Due: Friday, September 14  

Project: Program a Song

Working in pairs, students should develop a program that includes a song/melody at least 30 seconds long. Students should also write a description of their program, compile the program, and run it. Songs which have been used in examples or labs may not be used.

Grading

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