Consider: BSL Racket has a function named modulo, that can be described as follows: Assume you have
Question:
Consider: BSL Racket has a function named modulo, that can be described as follows:
Assume you have defined a named constant SCENE-HT
, to be used as the height of sunset scenes in your program.
Assume that you have written a function with the function header:
And, assume that its function body includes within it the compound expression:
Which of the following can you also safely assume?
Group of answer choices:
a) The value of (modulo sun-y-position SCENE-HT)
can never be 0.
b) The value of (modulo sun-y-position SCENE-HT)
might be SCENE-HT
.
c) The value of (modulo sun-y-position SCENE-HT)
is guaranteed to be an integer in the range [0, SCENE-HT)
d) The value of (modulo sun-y-position SCENE-HT)
might be an integer greater than SCENE-HT
Understanding Business Ethics
ISBN: 9781506303239
3rd Edition
Authors: Peter A. Stanwick, Sarah D. Stanwick