CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 10: Recursion Rocks Again!

Slides:



Advertisements
Similar presentations
American Lit: Week 9 Week’s Agenda: Finalize body paragraphs today.
Advertisements

Read the following: oo The zoo is too far from school oo The cook can cook good cookies ow The tree by the window grows slowly ow The cow is eating.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 4: Review Conditional & Word Stuff.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 17: HOF and Tick-Tack-Toe.
Group Music Integration Units Final Planning. Group Music Integration Units C.M. – Individual Behavioral Plan RD & MD (key of D) Guitar (A & D) p. 156.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 18: HOF.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 26: Printing and Stuff.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 14: Number Spelling Mini-project.
Lecture 38 CSE 331 Dec 7, The last few days Today: Solutions to HW 9 (end of lecture) Wednesday: Graded HW 9 (?), Sample final, Blog post on the.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 12: Homework stuff and Accumulating Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 19: HOF Problems.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 6: Mini-Project Prep.
COMS W1004 Introduction to Computer Science June 25, 2008.
BA271 Week 9 Lecture Using forms in Access. Status Report … Review where we are … –Midterm – Graded! –Final websites – Graded! –Access #1 – Graded! –Access.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 13: Bugs and Two Stage Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 20: Tree Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 1: Introduction & Administration.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 11: Accumulating Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 8: Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 9: Recursion Rocks!
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 2: Review – Writing Procedures.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 16: Let and Lambda.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 25: Trees and Generalized Lists.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 27: Review – most children and truth about cons.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 7: Review.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 15: Procedures as Arguments.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 5: Difference Between Dates Case Study.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 24: Review for lists, map and member.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 3: Conditional Expressions.
Convergent Newsroom Project Requirements. What is it? Convergent Newsroom is a place for journalist to manage, collect and share their work, coordinate.
1 Sight Words and Word Walls. 2 Sight words Sight words are words ___________ word list is one commonly used list of sight words Words appear on the list.
STUDY CLUBS & STUDY TABLES What are they and what are the differences?
Date: 11/21/13 Thursday - Day 1 UNIT 3 “The Dynamic Earth” Go over Unit 3 Exam File Labs HOMEWORK: UNIT 4 SQs HW p. 3 due tomorrow!
Color of Shirt # of Shirts blue yellow green red white Our Shirt Colors = 2 shirts Our Shirt Colors Shirt Colors Number of Shirts Name _______________________.
PRELIMINARY CONFERENCE PROGRAMME ( ) Conference programme overview Opening and plenary lectures plenary lectures and closing Day 1 Mon Sept 8.
ANNOUNCEMENTS. “I pledge allegiance…..” Students, please rise for the flag salute:
11/12/12 Veteran's Day NO SCHOOL. 11/13/2012 Standards: 2 Objectives: a. Be able to figure relative lattice energies b. Be able to put + & - ions together.
Chaparral High School Firebird Word Mon., March 24, 2014.
Friday, November 8, 2013 You need pencil, Scissors, Glue and notebook!
Monday. RedOrangeYellowGreenBlue/Purple Today’s Agenda: 1.Trade and Grade Lesson 25 Questions 2.Review Food Log assignment 3.Notes: using diet to guard.
Fundations: I gave the weekend for my students to continue practicing Unit 5 words. I felt like the extra practice would be beneficial and wanted an extra.
Monday, May 12, 2014 – Eng. 10 STARTER Check Grammar Packet / Ch. 3 Vocab. Activity HOMEWORK Study Ch. 3 vocab. words – Quiz on Wed., 5/14 Complete GRAMMAR.
BIT 115: Introduction To Programming Instructor: Mike Panitz
Week 14 - Wednesday.  What did we talk about last time?  Regular expressions  Introduction to finite state automata.
小学四年级英语 Unit 2 Did Dad cook lunch? 授课人:刘志文. Yesterday Grandma cooked fish.
ITIS 2110 Class #1.  Today’s Notes  Miscellaneous  Labs  Assignment  First Day  IT Infrastructure.
A-ZA-Z Your chance to drop in for a chat. It’s your time - You set the agenda Mondays from to 1.25 pm in the Whiting Room.
1 Daily Announcements CS 202, Spring 2007 Aaron Bloomfield.
CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with.
1 Microsoft Project 2003 Introduction. 2 Overview Microsoft Project is a specialized database that stores and presents thousands of pieces of data. Examples.
Science 8th Warm up. Wednesday Sept. 9, 2015 Entry Task:- Get out your notebooks and pencils Learning Target:-Properly prepare journals Success Criteria:
FRACTION BASICS DAY 2 A MILLION BUZZARDS ARE WATCHING YOU TO SEE IF THEY CAN EAT YOU IF YOU PASS OUT DURING MATH CLASS.
Warm Up: Take 5 minutes to review your Central America map in preparation for the map quiz. Then, prepare to put all materials away except your writing.
Welcome to Oakland Catholic High School! Spirituality, Scholarship, Service.
AP Language and Composition 11/21/13 Agenda Bell ringer: JUST WRITE! Focus word: INCREDULOUS (skeptical, questioning) Weekly Overview and Today’s Objectives:
Week 16 BIO Finals. No First Five Learning Target: Everything!! Today’s Activities: ● Review on your own...Tomorrow Questions! Notecard: ● Front side.
DO THIS NOW! Click the AUDIO SETUP WIZARD button & follow the directions. Click the TALK button to turn on your microphone. Click the TALK button again.
Warm-up Use the information below to find the population distribution after 20 years for the given population of giraffes. Age (in years)
Learning Target: Describe the relationships that exist between the Earth, Moon, and Sun and how they affect tides Today’s Question: Open to.
Romeo & Juliet William Shakespeare Literary Analysis Essay Notes.
Rube Goldberg Project/Bottle Rocket Project Friday, May 13, 2016.
The Writing Process By Sally Olivas.
Features For more information, visit us at: smart-bracelet-h3 Thank You.
© One Stop Teacher Shop If the pink gorilla eats watermelon every night, how much watermelons does he eat?
نجاح وفشل المنشآت الصغيرة
Feature Engineering Studio
No written homework this week due to testing
Lesson – How do I determine the LSRL
Flashback A typical high school student consumes 67.5 pounds of sugar per year. As part of a new nutrition plan, each member of a track team plans.
Presentation transcript:

CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 10: Recursion Rocks Again!

Today UCWise was down last night (you can post discussion comments until today at noon for Hwk) Upcoming Homework Thurs: Bowling (Hwk11) due Monday Fri: Compress/occurs-in? (Hwk12) due Tuesday Mon: Mini-project 2 due Wednesday Where to eat lunch Anonymous Feedback – thank you! Identify the bug Roman Numeral Case Study

Lunch TODAY – vote… Where to eat? South Side Smart Alec’s (Burgers) Café Durant (Mexican) Le Cheval (Vietnamese/French) North Side La Vals & La BurritaPicnic at Northgate

Anonymous Feedback The discussion interface hard to keep track of. Is it possible to make the posts collapsible? Not this summer – but I will suggest it as a new feature we should have more work that allows us to interact with each other as a class, maybe be able to talk to each other…a class chat would be interesting

(define (copies n wd) (if (= n 0) '() (se (copies n wd) wd))) When we make a recursive call it needs to make the problem smaller. It should be (- n 1) Find the Bug!

(define (copies n wd) (if (= n 0) '() (se wd wd (copies (- n 2) wd)))) Our base case doesn’t stop it if we start with n=1

Roman Numeral Case Study (define (decimal-value roman-numeral) (sum-of-all (prefix-values-removed (digit-values roman-numeral)))) ‘XIV ‘(10 1 5) ‘(10 4) 14