CS 331 Spring 2013  >  Assignment 6

CS 331 Spring 2013
Assignment 6

Assignment 6 is due at 5 p.m. Tuesday, May 7. It is worth 20 points.

Procedures

E-mail answers to the exercises below to ggchappell@alaska.edu, using the subjectPA6”.

Exercises (20 pts total)

Exercise A — Basic Scheme

Purpose

In this exercise, you will write some simple Scheme functions involving lists.

Instructions

Write Scheme code meeting the requirements outlined below. Place all of this in the file ex6a.scm.

The file should define the following.

Other Requirements & Notes

Exercise B — Basic Forth

Purpose

In this exercise, you will write code for a simple Forth word.

Instructions

Write ANSI Forth code meeting the requirements outlined below. Place all of this in the file ex6b.fs.

The file should define the following.

Other Requirements & Notes


CS 331 Spring 2013: Assignment 6 / Updated: 1 May 2013 / Glenn G. Chappell / ggchappell@alaska.edu