1 / 5

GBK Programming 1

GBK Programming 1. Jordan Johnson. Today’s plan. Greeting Warm-up: Review Hand Tracing Lab Assignment Work Clean-up. Hand Tracing. On paper or in a text editor window, trace by hand the evaluation of the following:

dalit
Download Presentation

GBK Programming 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GBK Programming 1 Jordan Johnson

  2. Today’s plan Greeting Warm-up: Review Hand Tracing Lab Assignment Work Clean-up

  3. Hand Tracing • On paper or in a text editor window, trace by hand the evaluation of the following: • (* (image-width (circle 5 “solid” “blue”)) (image-height (circle 5 “solid” “blue”))) • (= (expt 2 4) x) where x is defined with: (define x 16)

  4. Hand TracingSolutions • Solutions: • (* (image-width (circle 5 “solid” “blue”)) (image-height (circle 5 “solid” “blue”)))= (* (image-width )(image-height (circle 5 “solid” “blue”)))= (* 10 (image-height (circle 5 “solid” “blue”)))= (* 10 (image-height ))= (* 10 10)= 100 • (= (expt 2 4) x)= (= 16 x)= (= 16 16)= true

  5. Clean-up • Before you leave, please . . . • Log out. • Push in your chair. • Make sure you’ve got everything. • Make sure all trash ends up in the trash can.

More Related