# Register now to access 7 million high quality study materials (What's Course Hero?) Course Hero is the premier provider of high quality online educational resources. With millions of study documents, online tutors, digital flashcards and free courseware, Course Hero is helping students learn more efficiently and effectively. Whether you're interested in exploring new subjects or mastering key topics for your next exam, Course Hero has the tools you need to achieve your goals.

7 Pages

### CS-257-Lecture-2008-02-01

Course: CS 257, Fall 2009
School: New Mexico
Rating:

Word Count: 254

#### Document Preview

Nonimperative CS-257L Programming: Scheme! Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 321 2/4/2008 (define f (lambda (n) (cond ((= n 1) 1) ((= n 2) 1) (else (+ (f (- n 1)) (f (- n 2)))) ) ) ) Homework - Sunday Night at Midnight Due Sunday Night at Midnight (2/3/2008) Read &quot;The Little Schemer&quot; Chapter 2. Verify the...

Register Now

#### Unformatted Document Excerpt

Coursehero >> New Mexico >> New Mexico >> CS 257

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Nonimperative CS-257L Programming: Scheme! Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 321 2/4/2008 (define f (lambda (n) (cond ((= n 1) 1) ((= n 2) 1) (else (+ (f (- n 1)) (f (- n 2)))) ) ) ) Homework - Sunday Night at Midnight Due Sunday Night at Midnight (2/3/2008) Read "The Little Schemer" Chapter 2. Verify the Examples in MzScheme or DrScheme. Create 3 original questions/answers in the style of the text. Use only syntax introduced in chapter 1 & 2. Submit into WebCT. Use plain text. Grading: C: Follow the rules. B: One is Creative, Insightful, Thought Provoking. A: Two or Three are C/I/TP. 2/4/2008 2 Next Slide Quiz Closed Computers, Closed Neighbors, Closed Cell Phones Open Notes, and books 2/4/2008 3 Quiz What is: (define x b '(a c)) (define y '(d e f)) (cons (car y) (cons (car (cdr x)) ()) ) 2/4/2008 4 What does this do? (define f (lambda (n) (cond ((= n 0) 0) ((= n 1) 1) (else (+ (f (- n 1)) (f (- n 2)))) ) ) Fibonacci numbers: ) What is: (f 4) (f 5) (f 6) 2/4/2008 0 if n = 0; F (n) = 1 if n = 1; F ( n - 1) + F ( n - 2) if n > 1. 5 Fibonacci Numbers by If and Case ;(if <test> <consequent> <alternate>) (define g (lambda (n) (if (= n 0) 0 (if (= n 1) 1 (+ (f (- n 1)) (f (- n 2))) ) ) ) ) ;...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

New Mexico - CS - 257
CS-257L Nonimperative Programming: Scheme!Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http:/cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 3211/28/2008Kenneth Burke - #1What is cdr (cdr (s) where s is (a (d e f)? (define s '
New Mexico - CS - 257
CS-257L Nonimperative Programming: Scheme!Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http:/cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 3212/4/2008HomeworkDue Sunday Night at Midnight (2/3/2008)Read The Little Schemer Ch
New Mexico - CS - 257
CS-257L Nonimperative Programming: Scheme!Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http:/cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 3211/28/2008Class Web Site &amp; WebCTClass Web Site (Public Access) http:/cs.unm.edu/~jo
Auburn - RAL - 0011
Exhibit 1: The 2005 Per Person Income Levels of Various High, Middle and Low Income Countries (measured in 2000 PPP U.S. dollars) High-Income Countries United States Norway Ireland Switzerland Hong Kong Canada United Kingdom Netherlands Japan France Germa
Lake County - CI - 336
Bib1 Tony Byungho Lee Feb 3, 2004Campbell, P. F. &amp; Stewart, E. L. (1993). Calculators and computers. In R. J. Jensen (Eds.), Research ideas for the classroom: Early childhood mathematics (pp.251-268). New York: Macmillan Publishing Company. Authors expla
Wheaton College - MATH - 104
Math 104Some Sample Problems for Exam 2Fall 2006These are only a few sample problems to help you prepare for the exam. You should also be certain that you completely understand the assigned homework, in-class work, and your class notes. 1. You should,
Wheaton College - MATH - 217
MATH 2171Homework #4, Due November 1, 2007 Individual Assignment 1. (20 pts) Create examples of proles with three candidates that have the following properties, or explain why no such prole exists. If the prole exists, for each outcome, give the weights
Johns Hopkins - DATA - 4148
Sample Discussion Summary #1 Topic: Development of Supervision The following discussion summary was taken directly from a course entitled, Supervision and Professional Development, in the Administration and Supervision program. The discussion took place o
Penn State - GEOSC - 561
GEOSCI 561: Homework #5 (Stiff equations and Euler's method) Due: Friday, February 20Suppose we have a system of two ordinary differential equations for two functions u(t) and v(t)du/dt = 998 u + 1998 v dv/dt = - 999 u - 1999 vu(0) = 1 v(0) = 01. Find
RIT - DOCS - 0809
rrival Fall A uide G9 Edition 2008200Students for Graduate 08 ugust 26, 20 : Tuesday, A Move In DateFall Move-InMove-In Date Tuesday, August 26, 2008We look forward to welcoming you to RITs Housing Community!Please read through this arrival guide ca
RIT - DOCS - 0809
rrival Fall A uide G9 Edition 2008200ts, ting Studen ing Interpre hmen, Incom coming Fres for In BS Students -Supported ar NTID and First Ye ust 24, 2008 Sunday, Aug : Move In DateFall Move-InMove-In DateSunday, August 24, 2008Welcome to RITs Housin
RIT - DOCS - 0809
rrival Fall A uide G9 Edition 2008200g Students for Returnin r 1, 2008 ates: y Septembe da Move In D , 2008 Mon y August 25 MondaFall Move-InMonday August 25, 2008 through Monday September 1, 2008We look forward to your return to the RIT community!P
Midwestern State University - HORT - 421
FTS-330 Nov. 28, 2007Fruit and Tree Nuts OutlookSusan L. Pollack and Agnes Perez2007/08 U.S. Citrus Crop Forecast To Reach 12.5 Million TonsContents Price Outlook Fruit Outlook Fruit and Tree Nuts Trade Outlook Contacts and Links Tables Grower prices
Hudson VCC - MATH - 022
INSTITUTE OF PHYSICS PUBLISHING Eur. J. Phys. 23 (2002) 2126EUROPEAN JOURNAL OF PHYSICS PII: S0143-0807(02)26048-1Demonstration of the exponential decay law using beer frothA LeikeLudwigMaximilians-Universit t, Sektion Physik, Theresienstr. 37, D-8033
Illinois State - COE - 061
ILLINOIS STATE UNIVERSITYCOLLEGE OF EDUCATIONC &amp; I 233.01 MIDDLE LEVEL EDUCATION &amp; THE YOUNG ADOLESCENTC&amp;I 233.01 Middle Level Education and the Young Adolescent3 semester hoursSpring 2006Instructors: Dr. Doug Hatch 241 DeGarmo (309) 438-5369 ddhatc
SPSU - M - 2260
MATH 2260 Exam 311/15/04Name _x is the probability density of a continuous random variable that 8 can take on any value from 0 to 4. Find P (2&lt;x&lt;4), which is the probability that the random variable will take on a value from 2 to 4. 1. (10 points) If f
UCSB - BREN - 219
ESM 219: Microbial Processes in the Environment M/W 2-3:15 pm BH 1510Instructor: Trish Holden Office: 3508 Bren Hall Phone: x3195 email: holden@bren.ucsb.edu Office hours: TBD Course Outline (approximate) Week Date Description Sources 2 10/1 Course intro
Duke - CPS - 001
Can a machine think? Alan Turing asked this question in the 1950 article titled Computing Machinery and Intelligence His answer was Yes This led to the question &quot;If a computer could think, how could we tell?&quot; Turing's suggestion: if the responses from th
University of Scranton - MA - 351
MATH 351, Homework 3 September 3, 2008Name:Directions: Solutions to the following are due at the start of class on Wednesday, September 10. Remember unsupported answers may receive no credit. 1. Use Gauss-Jordan reduction to solve the following system.
University of Scranton - MA - 351
MATH 351, Homework 2 August 27, 2008Name:Directions: Solutions to the following are due at the start of class on Wednesday, September 3. Remember unsupported answers may receive no credit. 1. Is there a value of r so that (r, 2r, r2 ) is a solution to t
Michigan - SSW - 20042
T H EU N I V E R S I T YO FM I C H I G A NS C H O O LO FS O C I A LW O R KCOURSE TITLE DIVISION NUMBER: COURSE NUMBER: CREDIT HOURS: PREREQUISITES: LOCATION: SEMESTER: FACULTY:Introduction to Macro Practice 762 560 3 None Foundation Macro methods
Hudson VCC - NR - 385
River [Corridor] Management State of Massachusetts Important Resources: Massachusetts Water Policy 2004 The Massachusetts Riverways ProgramDoes the state specifically manage river corridors?Massachusetts does have a small program that manages river corr
Michigan - SSW - 20083
Children and Youth Services and Social Policies SWPS 633 Winter 2008 Sections 02 Monday 12:30-3:30 and Section 03 Tuesday 11:30-2:30 Karen M. Staller, Ph.D., J.D. Office: Room 2702 Office Hours: By appointment (please email to schedule) Office Phone: 763-
Hudson VCC - ENSC - 285
Vermont Stream Geomorphic AssessmentAppendix AMap, Sketch, and Photo Documentation &amp; Data Sheets and Field FormsVermont Agency of Natural Resources April, 2004Stream Geomorphic Assessment Handbooks - A0 April, 2004Vermont Agency of Natural Resources
USF - NR - 27571
Population15,116,435 1.2% 86.5% 4.2%CHILEAN EXPERIENCE: PROMOTING CONSUMPTION OF FRUIT AND VEGETABLES THROUGH MULTIPARTNER COLLABORATIONGrowth rate Urban population IlliteracySonia Olivares, Isabel Zacaras Institute of Nutrition and Food Technology Un
Clarkson - ES - 250
Homework 8 HintsWarning: These notes use values from the textbook version of the problem. The WileyPLUS versions of the problems use different values. Problem 8.3-12 This circuit is at steady state when the switch opens at time t = 0. Determine i(t) for
Illinois Tech - ECE - 449
ECE-449: Class ProjectDue: 2 May 2006The city of Squarington, Massachusetts is planning to replace its emergency service dispatchers with an automated system. In a related project, the city is also re-examining the locations of all police and fire stati
Illinois Tech - ECE - 449
ECE449, Assignment #1Due 7 February1. Consider a simple queue. Using C syntax, design a struct that implements a queue using a linked list, but use the C+ compiler so that you can use the convenient I/O stream objects (such as cout and cin) for any cons
Texas A&M - PUBS - 390
Agricultural &amp; Food Policy Centerat Texas A&amp;M UniversityRepresentative Farms Economic Outlook for the November 2002 FAPRI/AFPC BaselineAFPC Working Paper 02-8 December 2002Department of Agricultural Economics Texas Agricultural Experiment Station Texa
Hudson VCC - ME - 207
Tendon and Ligament Structure and CompositionJames Iatridis, PhD Dept. of Mechanical Engineering UVMComposition Tendons and ligaments are parallel-fibered collagenous tissues Low cellularity (fibroblasts, &lt;20% of volume) Water=70% of wet weight Solid m
Portland - C - 334
Chemistry 334 Organic Chemistry ICourse Ref. No. 10552 MWF 9:00 - 10:05 am Hoffmann HallFall 2007Professor Carl C. Wamser Office: Science Bldg 1, Room 327A Office Hours: every day (Mon-Fri) 10:30 - 11:30 amTextbook (required): Organic Chemistry, 7th e
Iowa State - NR - 40137
Family MattersSeptember/October 2006 A Family Newsletter prepared by Iowa State University Extension Family SpecialistsEat to CompeteSchool is back in session and the fall sports season is in full swing. ISU Extension has a new sports nutrition program
BU - CS - 538
BU CAS CS 538: CryptographyLecture Notes. Fall 2005. http:/www.cs.bu.edu/itkis/538/Gene ItkisBoston University Computer Science Dept.1Dening Digital SignaturesFirst note that encryption provides no guarantee that a message is authentic. For example,
SHSU - MATH - 143
Math 143 Fall 2005 Exam 2 Chapter 7 and Section 8.1Part I - Calculations 1. Find the following integrals: (a) (15 points) (b) (7 points) (c) (6 points) (d) (10 points) (e) (10 points) (f) (10 points) 9 dx 81 - x4 1 dx (x + 1) x2 + 2x et dt 1 + et sec3 x
University of Toronto - CS - 290
* CSC290 2008p1/11e2/13p2/11p3/24a1q1/16a1q1r/16a1q2/20a1q3/5a2q1/24a2q2/15a2q3/8a3redo/20a3wu/15a3q3/15e4/20a1q1a/100fe/55a1 = a1q1a : 33 a1q2 : 33 a1q3 : 33a2 = a2q1 : 33 a2q2 : 33 a2q3 : 33a3 = a3redo : 66 a3q3 : 33pre = p1 : 33 p2
Hudson VCC - MATH - 230
MATH 230 SPRING 2007 TEST #2 TAKE-HOME PORTIONNAME_There are a total of 8 problems. Please be sure that you have the entire test. Show all necessary work. Answers that seem to appear by magic will receive no credit. Your work needs to be done on separat
Hudson VCC - MATH - 230
MATH 230 FINAL EXAM SPRING 2007NAME_There are a total of 10 problems. Please be sure that you have the entire test. Show all necessary work. Answers that seem to appear by magic will receive no credit. Your work needs to be done on separate paper and mu
Hudson VCC - MATH - 230
MATH 230 SPRING 2007 TEST #3NAME_There are a total of 7 problems. Please be sure that you have the entire test. Show all necessary work. Answers that seem to appear by magic will receive no credit. Your work needs to be done on separate paper and must b
Penn State - MHL - 131
CURRICULUM VITAEMARY H. LAI113 South Henderson University Park, PA 16802 (814) 865-8121 MHL131@psu.eduEDUCATION Present The Pennsylvania State University, University Park Doctoral program in Human Development and Family Studies Ph.D. degree expected in
Duke - CPS - 006
What is Computer Science?Computer science is no more about computers than astronomy is about telescopes.Edsger DijkstraCompSci 6 Programming Design and AnalysisRobert Duvall and Jeff Forbes http:/www.cs.duke.edu/courses/cps006/fall04 http:/www.cs.duke
Rollins - ORGANIC - 220
Grading Rubric for Organic Chemistry I CHM 220 - Spring 2006Total ScoreClass Participation Test 1 Test 2 Final Workshop Participation 26-Jan 9-Feb 16-Feb 2-Mar 16-Mar 23-Mar 28-Mar 6-Apr 13-Apr 27-Apr BOB Questions BOB #1 (30-Jan) BOB #2 (27-Feb) BOB #3
Duke - CPS - 220
Todo Homework #1 Due Read Chapter 4 Homework #2 Due September 25 Project selection by October 1 Today Finish simple pipelining Start ILP and Scheduling to expose ILPLecture 5: Pipelining &amp; Instruction Level ParallelismProfessor Alvin R. Lebeck Computer
VCU - PDFS - 20031
VCU Schedule of Classes MCV CampusSpring 2003 November Web UpdateSchool of NursingNursingNURS 101 NURS 202 INTRODUCTION TO NURSING (1) 15854 001 LANGSTON, N F 0900AM TECHNOLOGIES OF NURSING PRACTICE (3) 13524 L01 MALLINSON, K R 0700AM AL-MAJID, S W 10
LSU - C - 003
MONTHLY MEDICAL INSURANCE PREMIUMS FOR ACTIVE EMPLOYEES Effective July 1, 2004 through June 30, 2005 Group Benefits Group Benefits Definity Definity MCO EPO Group Benefits Health Plan Health Plan Best Care / United Health PPO Option 1 Option 2 FARA Networ
University of Illinois, Urbana Champaign - PHYS - 404
Physics 404 Lock-In Amplifier LabPage 1/5Physics Department, UIUCLab 6 Lock-In AmplifierA lock-in amplifier is able to measure a small signal even in the presence of a lot of noise. It does this with the help of some signal processing. If the signal w
ECCD - NET - 3001
mspgccA port of the GNU tools to the Texas Instruments MSP430 microcontrollersSteve UnderwoodmspgccA port of the GNU tools to the Texas Instruments MSP430 microcontrollers by Steve Underwood Copyright 2003 Steve UnderwoodThis document can be freely re
ECCD - NET - 3001
MSP430x22x2, MSP430x22x4 MIXED SIGNAL MICROCONTROLLERSLAS504A JULY 2006 REVISED DECEMBER 2006D Low Supply Voltage Range 1.8 V to 3.6 V D Ultralow-Power ConsumptionD Two Configurable Operational Amplifiers D D(MSP430x22x4 only) Brownout Detector Serial
ECCD - NET - 3001
MSP430x2xx FamilyUser's Guide2007Mixed Signal ProductsSLAU144CIMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its product
ECCD - NET - 3001
P1.1 3v Lithium CR2032 or CR2016 3V3 1 3Vcc1N5819 D104R134 120VccR142 100k M1012RF 2.4GHz74LVT245 74HCT245A1 A2 A3 A4 A5 A6 A7 A8 ENABLE DIRU103B1 B2 B3 B4 B5 B6 B7 B8 18 17 16 15 14 13 12 11C117 P1.2 33n19 DVdd 6 IRQ 7 Vdd 15 Vdd 18 VddL10
ECCD - NET - 3001
NET3001 F07Analog to Digital ConversionDigital vs Analogmost of the activity on microcontrollers is digital programmer sees 0's and 1'sengineers see 0V and 3V (voltage)to refer to groups of these, we use byte/wordmany real world activities take pl
ECCD - NET - 3001
NET3001 F/07TimersMSP430 Timers there are 2 timers on chip each is a 16 bit counter clocked at a certain, constant rate you can read or write the count at any timeTAR(0x170), TBR(0x190)you can count up to 0xFFFF (default) or any other number (st
Rose-Hulman - CSSE - 490
CSSE 490 Requirements Technical Course for the MSE Program RHIT Due 11:59 PM Sun, Aug 12, 2007 (to get it back in class on Aug 15) Alternatively, turn in before class on Wed, Aug 15 Take-home exam 2.A. Instructions Please take 2-3 hours for this exam hon
Hudson VCC - ME - 208
ME 208 Biomechanics II Assignment 3 Due Wednesday 2/27/2008Fit the experimental creep data posted on the web-page for the motion segment to a 4 parameter fluid model (e.g., Burger's model). You can use the .csv files already created and posted, or altern
Utah - ECE - 1050
Name:_ EE 1050Assume the diodes are silicon with a 0.7V forward voltage drop: Assume the LEDs have a 2V forward voltage drop: 1. The input voltage to the circuit below is shown at right (dotted line). Show the output voltage across the resistor. Make it
Illinois Tech - CS - 529
UConn - MATH - 211
Name:Math 211Exam 3May, 3, 1999(1) (20 pts) Using Laplace transform to solve y + y = sin(3t) subject to initial conditions y(0) = 1 and y (0) = 0.(2) (20 pts) Find the general solution of problem (1). Then find the solution corresponding to the given
Grinnell College - CS - 152
CSC152 2004F, Class 39: Weekly Project Discussion (Week 10!)Admin:* Late: Becking, Poythress* Missing: Ahlgren, Billups, Conor * C'mon folks! It's hard to do project planning if you're not here! * Attendance does affect your grade. * Non-attendance
Michigan - STAT - 406
Statistics 406 Homework 3Due Monday, September 29 1. Consider the array F such that F (1) = 0, F (2) = 1, and F (k) = F (k - 1) + F (k - 2), for k = 3, . . . 1000 (as in the original version of last week's problem set). We now know that if you calculate
Michigan State University - LIB - 1977
Great Golf Courses of AmericaBetter Turf Means Better GolfThe Bermudagrasses -Past Present, and Futureby DR. GLENN W. BURTONBermudagraSs is one of the world's most versatile turfgrasses. When properly managed it is able to withstand daily defoliation
Lake County - MCB - 421
Mcbio 316: Exam 1 ANSWERS Fall 2002(5)Name _1. Strain FC40 is unable to grow on lactose as a sole carbon source (Lac-). A LuriaDelbruck fluctuation test was done by plating 108 cells from 10 independent cultures (#1-10) onto minimal lactose plates, and
Illinois State - COE - 061
1Illinois State University Early Childhood Education CORE III C&amp;I 283.01 - ECE Science Teaching Spring, 2006(tentative, very subject to change)Instructor: Dr. Marilyn Morey Office: DeGarmo 215 Phone: 438-3562 (O) 451-9450 (H) Fax: 438-8659 E-mail: mkmo