Quiz App
Decks
Folders
Edit Question
Back
Prompt
Question type
multiple_choice
short_answer
Accepted answer
Preview
; TrafficLight is one of: ; - "red" ; - "yellow" ; - "green" ; interp. the current state of a traffic light #; (define (fn-for-traffic-light tl) (cond [(string=? tl "red") (...)] [(string=? tl "yellow") (...)] [(string=? tl "green") (...)]))
Optional reference answer for graders — supports Markdown. Free-text answers are never auto-graded.