SLIDE 1
Episode 3: Symbols and Boolean Values (You have 1 new chat request) - - PowerPoint PPT Presentation
Episode 3: Symbols and Boolean Values (You have 1 new chat request) - - PowerPoint PPT Presentation
Episode 3: Symbols and Boolean Values (You have 1 new chat request) (You have 1 new chat request) Sophia: Really? (You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. (You have 1 new chat request) Sophia: Really? Michael: Hi 2
SLIDE 2
SLIDE 3
(You have 1 new chat request) Sophia: Really?
SLIDE 4
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2.
SLIDE 5
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values.
SLIDE 6
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith?
SLIDE 7
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of.
SLIDE 8
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of")
SLIDE 9
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false
SLIDE 10
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of)
SLIDE 11
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false
SLIDE 12
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false Sophia: The only boolean values are true or false.
SLIDE 13
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false Sophia: The only boolean values are true or false. Michael: Ok. “Sort of” meant (or true false).
SLIDE 14
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false Sophia: The only boolean values are true or false. Michael: Ok. “Sort of” meant (or true false). Sophia: (or true false)
SLIDE 15
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false Sophia: The only boolean values are true or false. Michael: Ok. “Sort of” meant (or true false). Sophia: (or true false) => true
SLIDE 16
(You have 1 new chat request) Sophia: Really? Michael: Hi 2 u 2. Sophia: Let’s see how you are at producing boolean values. Sophia: Are you dating Judith? Michael: Sort of. Sophia: (boolean? "Sort of") => false Sophia: (boolean? ’sort-of) => false Sophia: The only boolean values are true or false. Michael: Ok. “Sort of” meant (or true false). Sophia: (or true false) => true Sophia: Again: really?
SLIDE 17
SLIDE 18
Michael: How about (and (or (true false)) (not (or true false)))
SLIDE 19
Michael: How about (and (or (true false)) (not (or true false))) Sophia: Well, that is false
SLIDE 20
Michael: How about (and (or (true false)) (not (or true false))) Sophia: Well, that is false Sophia: You are confused.
SLIDE 21
Michael: How about (and (or (true false)) (not (or true false))) Sophia: Well, that is false Sophia: You are confused. Sophia: I’ll talk l8r.
SLIDE 22
Michael: How about (and (or (true false)) (not (or true false))) Sophia: Well, that is false Sophia: You are confused. Sophia: I’ll talk l8r. Michael: Really?
SLIDE 23
Michael: How about (and (or (true false)) (not (or true false))) Sophia: Well, that is false Sophia: You are confused. Sophia: I’ll talk l8r. Michael: Really? Sophia: true
SLIDE 24
SLIDE 25
(You have 1 new chat request)
SLIDE 26
(You have 1 new chat request) Sophia: Hi
SLIDE 27
(You have 1 new chat request) Sophia: Hi Eve: Hi. How you doing?
SLIDE 28
(You have 1 new chat request) Sophia: Hi Eve: Hi. How you doing? Eve: Heard about the texting with Michael last week.
SLIDE 29
(You have 1 new chat request) Sophia: Hi Eve: Hi. How you doing? Eve: Heard about the texting with Michael last week. Eve: And then the smackdown from Judith. sry.
SLIDE 30
(You have 1 new chat request) Sophia: Hi Eve: Hi. How you doing? Eve: Heard about the texting with Michael last week. Eve: And then the smackdown from Judith. sry. Sophia: (define (how-am-I-doing season last-chat) (cond [(or (symbol=? season ’summer) (symbol=? season ’spring)) ’good] [(and (symbol=? season ’fall) (not (string=? last-chat "Michael"))) ’okay] [(symbol=? season ’winter) ’cold] [else ’not-great]))
SLIDE 31
SLIDE 32
Sophia: Did I mention that Michael doesn’t understand boolean values?
SLIDE 33
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false
SLIDE 34
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing.
SLIDE 35
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing. Sophia: :)
SLIDE 36
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing. Sophia: :) Sophia: ’my-thanks
SLIDE 37
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing. Sophia: :) Sophia: ’my-thanks Eve: ?
SLIDE 38
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing. Sophia: :) Sophia: ’my-thanks Eve: ? Sophia: Just a symbol of my thanks.
SLIDE 39
Sophia: Did I mention that Michael doesn’t understand boolean values? Eve: false Eve: That is man thing. Sophia: :) Sophia: ’my-thanks Eve: ? Sophia: Just a symbol of my thanks. Sophia: ty for cheering me up.
SLIDE 40