How To Design Programs - 2nd Ed - Code Solutions

My solutions to the scheme text "How to Design Programs 2nd ed". (Or htdp2e) I aim to complete as many as these as I can - please feel free to comment on my solutions/answers!

Tuesday, 12 February 2013

Exercise 196: Develop a-function=.

›
Exercise  196: Develop  a-function= . The function determines whether two functions from numbers to numbers produce the same results for ...
Tuesday, 5 February 2013

Exercise 195: Argue why the following sentences are now legal definitions

›
Exercise  195: Argue why the following sentences are now legal definitions: ( define   ( f   x )   ( x   10 ) ) ( define   ( f   x ...
Tuesday, 29 January 2013

Exercise 194: Identify the values among the following expressions:

›
Exercise  194: Assume the definitions area in DrRacket contains  ( define   ( f   x )   x ) . Identify the values among the following expres...
Tuesday, 22 January 2013

Exercise 193: Take a look at this data definition

›
Exercise  193: Take a look at this data definition: ;   A [ Bucket  ITEM] is ;      ( make-bucket   N   [ List-of   ITEM ] ) ;   inte...
Tuesday, 15 January 2013

Exercise 192: Here are two strange but similar data definitions:

›
Exercise  192: Here are two strange but similar data definitions: ;   A  Nested-string  is one of: ;   –   String ;   –   ( make-la...
Tuesday, 8 January 2013

Exercise 191: Abstract the following two functions into a single function:

›
Exercise  191: Abstract the following two functions into a single function: ;   Nelon  ->  Number ;   to determine the smallest ...
›
Home
View web version
Powered by Blogger.