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

Project: Program a Song

Working in pairs, students should develop a program that causes the Scribbler 2 robot to play a song or melody that extends at least 30 seconds. Students should also write a description of their program, compile the program, and run it. Creativity in identifying a song or melody is encoauraged. Songs which have been used in examples or labs may not be used.

Project Submission

Submission of your project should come in two parts: