include_template( 'topper.html' ); ?> CS 3304 semester(); ?> Homework Assignment 6 include_template( 'page-start.html' ); ?>
Note: The following instructions are repeated from the Homework Dates/Guidelines page:
Your solutions for each homework assignment must be prepared with a word processor (e.g., LaTeX or Word), and are due at the beginning of class on the due date specified unless otherwise noted on the assignment itself.
Note that all homework problems taken from the text are in the Problem Sets. Do not turn in solutions to Review Questions by mistake!
Complete each of the following problems:
list-head.
list_head that
     takes a list and a number k, and that binds its third
     parameter to the sublist consisting of the first k elements
     of the first list.
     
list_head([a,b,c,d], X, [a,b]).  Describe what
     result your predicate produces and explain its behavior in
     this case.
     
include_template( 'page-end.html' ); ?>