What type of data definition would you use for something with a certain amount of
strings and a boolean?
Give this one a try later!
Itemization
, What are the template rules used for an itemization Data Definition where TrafficLight
is either false, red, yellow or green?
Give this one a try later!
;;Template rules used:
;; -one of: 4 cases
;; -atomic distinct: false
;; -atomic distinct: "red"
;; -atomic distinct: "yellow"
;; -atomic distinct: "green"
What type of Data definition would you use for a certain amount of letter grades?
Give this one a try later!
Enumeration
What is the template for an atomic non-distinct data definition for StreetName?
Give this one a try later!
(define (fn-for-street-name sn)
(... sn))
What are the examples for an Enumeration Data Definition?
Give this one a try later!
strings and a boolean?
Give this one a try later!
Itemization
, What are the template rules used for an itemization Data Definition where TrafficLight
is either false, red, yellow or green?
Give this one a try later!
;;Template rules used:
;; -one of: 4 cases
;; -atomic distinct: false
;; -atomic distinct: "red"
;; -atomic distinct: "yellow"
;; -atomic distinct: "green"
What type of Data definition would you use for a certain amount of letter grades?
Give this one a try later!
Enumeration
What is the template for an atomic non-distinct data definition for StreetName?
Give this one a try later!
(define (fn-for-street-name sn)
(... sn))
What are the examples for an Enumeration Data Definition?
Give this one a try later!