Your SlideShare is downloading. ×
Htdp05
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Htdp05

215
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
215
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • 상수\n
  • 두개의 기호가 같을 경우 true\n
  • 입출력은 symbol -> symbol\n입력에 문자열등 다른 타입을 넣으면 런타임에러.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 이후 계속\n
  • drop source, drop target, target parent ...\n\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • shape -> node, relationship\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. 5(Symbolic Information)
    • 2. Scheme (symbols) (strings) ((keyboard)characters) (images)
    • 3. (Symbols) .the a chocolate cat! two^3 and%so%on? , .
    • 4. Symbolssymbol=?
    • 5. example
    • 6. "the dog" "isnt" "made of" "two^3" "and so on?"string=?
    • 7. ex 5.1.2
    • 8. ex 5.1.3
    • 9. 6 1struct Point{ int x; int y;}(make-posn 3 4)(posn-x (make-posn 7 0))(posn-y (make-posn 7 0))
    • 10. structure(define a-posn (make-posn 7 0))(posn-x a-posn)(posn-y a-posn)(* (posn-x a-posn) 7)(+ (posn-y a-posn) 13)
    • 11. distance examc = sqrt(a^2 + b^2)sqr, sqrt(define (distance-to-0 a-posn) ...
    • 12. ex 6.2.1
    • 13. ex 6.2.2
    • 14. 6.3(define-struct posn (x y))make-posn : constructorposn-x : selectorposn-y : selector
    • 15. structure(define-struct entry (name zip phone))(make-entry PeterLee 15270 606-7771)(entry-name (make-entry Peter 15270 606))= Peter
    • 16. rock star example(define-struct star (last first instrument sales))make-star, star-last, star-first, star-instrument,star-sales(make-star lena Park ukelele 19004)(star-first E)
    • 17. rock star example(define-struct star (last first instrument sales))make-star, star-last, star-first, star-instrument,star-sales(make-star lena Park ukelele 19004)(star-first E)
    • 18. rock star ex 20,000 ., ,
    • 19. rock star ex 20,000 ., ,
    • 20. 6.4DrRacket . . -> ?
    • 21. 6.5 (Compound) -p81
    • 22. 7numbers, booleans, symbols, structures 2 ?
    • 23. 71 .number?boolean?symbol?struct?
    • 24. Structuresposn?star?airplane?
    • 25. distance-to-0 ex(make-posn 6 6)(make-posn 1 2)1, 2, 3pixel-2 number, posn 2
    • 26. distance-to-0 ex, ,
    • 27. shape example(make-square p s) ; p->posn, s->number(make-circle p s) ; p->posn, s->number
    • 28. shape example,
    • 29. ex 71.2 .
    • 30. 7.2 (Mixed) ,
    • 31. 7.3 .
    • 32. 7.3 .
    • 33. 7.5(error checked-area-of-disk "number expected")
    • 34. errorexecption
    • 35. 8 => Vocabulary + Grammar => (Syntax)(Semantics) .
    • 36. 8.1 Scheme
    • 37. 8.2 Scheme

    ×