CS 1102 Homework 3

How to Design Programs: An Introduction to Programming and Computing

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 1102 (A07) Homework 3: Complex Data Definitions Due: September 13 (Thursday) at 11:59pm via turnin (assignment name hwk3 ). Assignment Goals To make sure you can write Scheme programs over complex, mutually-recursive data definitions. To make sure you can use map and filter. To make sure you can write programs with functions as arguments. The Assignment For an operating systems class, you've been asked to implement a simple filesystem. The HTDP text provides three models for filesystems . Use Model 3, the one at the bottom of the page, for these exercises . If you want to test your filesystems programs on a real filesystem (your own, for example), use the dir.ss teachpack described in HTDP, exercise 16.3.1 . In these exercises, a "filesystem" is a directory (the root directory). Functions over "filesystems" should therefore follow the template for dir (where dir is as defined in the HtDP model). You should use map and filter whenever appropriate in your solution. This means that if a function matches the structure of map or filter, you should write it using map/filter. You do not
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

CS 1102 Homework 3 - CS 1102 (A07) Homework 3: Complex Data...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online