Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Assignment 4

SCHEME: DEFINITIONS

A. Evaluate the following scheme expression below and construct the parse tree accordingly:
a. Given that π = 3.1416 and r = 2.3m
i. Define π in scheme programming as constant
ii. Define r in scheme programming in meters
iii. Define circumference scheme programming in meters
iv. Derive an application expression to compute the Area of a Circle in meters
v. Derive an application expression to compute the Area of a Circle in miles
vi. Construct a parse tree for iv and v.

B. Make a research all about PROCEDURES:


a. What is a Procedure in scheme programming
b. Making procedures
c. Substitution model of Evaluation

You might also like