[SOLVED] schemeHomework #3

$25

File Name: schemeHomework_#3.zip
File Size: 160.14 KB

5/5 - (1 vote)

Homework #3

100 points

Three Scheme files are provided for you: hw3.scm, sales.scm, and salesBig.scm. Complete the functions in hw3.scm. Use the function names exactly as they appear in the file. Read the comments in hw3.scm for a description of what these functions should do. Include a function definition for each function, even if you do not complete it. Your programs will be run on using the following command:

scheme48 -h 8000000 < hw3.scm

In a PDF file titled hw3.pdf, include the output produced by your completed hw3.scm file when loading (1) the file sales.scm and also (2) the file salesBig.scm. Currently, hw3.scm loads the file sales.scm. You will need to modify line 100 in the hw3.scm file

(load sales.scm)

to load a different input file. The submitted hw3.scm file should load sales.scm.

Submit all of your stuff (hw3.scm, sales.scm, salesBig.scm, hw3.pdf) in a zip file.

For each exercise, you will see the points in parenthesis. The first number is the number of points for

  1. (10/10) union
  2. (10/10) quadradic
  3. (10/10) reverseTail
  4. (5/20) compose
  5. (10/5) getOrder
  6. (10/5) getProfit
  7. (12/15) totalProfits
  8. (10/5) getProv
  9. (12/10) getProvinces
  10. (11/10) provincialSales

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] schemeHomework #3
$25