Metalisp
RML
Earlier Work
Lisp
General Knowledge
100

The highest level environment

What is global?

100

The two RML procedures that are perfectly interchangeable

What are goto and branch?

100

Which of the following packages did we not make:


1. lisp-number

2. rational

3. quaternion

4. complex

What is quaternion?

100

A function that reverses a list

What is reverse?

100

The file we used in the metalisp project to store environment-related functions

What is environment-library.scm?

200

The metalisp value for true

What is 'true-object?

200

The RML keyword we are not required to implement

What is perform?

200

The runtime for the exponentiation function (exp b n) that computes b^n

What is O(log n)?

200

The ____-loop for interacting with lisp in the terminal

What is repl?

200

The lisp procedure (built-ins) below that we never universally used explicitly for a handout:

1. eval

2. apply

3. load

4. cons

What is eval?

300
The length of the list returned by make-procedure

What is 4?

300

The empty label at the start of every RML program, at least when we first discussed it in class. 

What is controller?

300

Go to problem 42 from our Block 1 work. We implemented a procedure for this problem. This procedure is synonymous with a built-in lisp function.

What is fold-right?

300

The function that changes in-place the first value of a cons pair

What is set-car!?

300

The last required metalisp procedure we implemented: 


1. cond

2. cons

3. define

4. lambda

What is cons?

400

The return value of cond in metalisp if there is no final else clause

What is 'unspecified-return-value?

400

The two data structures in data-structures.scm

What are table and stack?

400

A powerful 4-letter function

What is EMFR?

400

A function that finds the first occurrence of something in a list, or returns #f

What is memq?

400

The internal name of the function that is returned by make-stack.

What is dispatch?

500

The function called by add-primative

What is define-var!?

500

The RML procedure which takes in at least two arguments. 

What is assign?

500

The name of the class superhero

Who is flatman?

500

The number of car/cdr style functions (like car, cadr, cddr) built into lisp.

What is 30?

500

(This is a speedrun question, open binder/computer/notes)

The name of the function for problem 44 in block 1 (calculating the number of ways to make $x with coins of values $l1, $l2, ..., $ln) .

What is count-change

M
e
n
u