CSC 161 Grinnell College Spring, 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
Monday, January 23 Problem-solving Process
Module 0: Linux Introduction
  Examples    
Tuesday, January 24 Linux Basics lab exercise    
Wednesday, January 25 Files in Linux lab exercise    
Friday, January 27 File Permissions in Linux lab exercise    
Monday, January 30 Introduction to C
  • Elements of a program
  • Variables and arithmetic expressions
  • Variable names
  • Data types and sizes
  • Constants
lab exercise    
Tuesday, January 31 Using the Scribbler 2 Robot lab exercise    
Friday, February 3 Project   Program a Song Due: Wednesday, February 8  

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: