In Racket, which of the following contains (or is by itself) a call of a selector for the defined movie struct? (Select all that apply) A)  (make-movie "Beauty and the Beast" "Gary Trousdale" 92 true) B)  (movie-dvd? LION) C)  (check-expect (movie-length TOY) 81) D)  (movie? 81) (define-struct movie (title director length dvd?)) ; a Textbook is a (make-book String String Natural Boolean) ; interp: a movie where ; title is the movie’s title ; director is the name of the movies’s director ; length is the length of the movie in minutes ; dvd? is whether the movie is available in dvd format (if true) (define TOY (make-movie “Toy Story" "John Lasseter" 81 true)) (define LION (make-movie "The Lion King" "Rob Minkoff" 89 false))

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question

In Racket, which of the following contains (or is by itself) a call of a selector for the defined movie struct? (Select all that apply)
A)  (make-movie "Beauty and the Beast" "Gary Trousdale" 92 true)
B)  (movie-dvd? LION)
C)  (check-expect (movie-length TOY) 81)
D)  (movie? 81)

(define-struct movie (title director length dvd?))
; a Textbook is a (make-book String String Natural Boolean)
; interp: a movie where
; title is the movie’s title
; director is the name of the movies’s director
; length is the length of the movie in minutes
; dvd? is whether the movie is available in dvd format (if true)

(define TOY (make-movie “Toy Story" "John Lasseter" 81 true))
(define LION (make-movie "The Lion King" "Rob Minkoff" 89 false))

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning