PasteRack.org | ||
Paste # 10678 | ||
2018-04-12 06:00:49 | ||
Fork as a new paste. | ||
Paste viewed 270 times. | ||
Tweet | ||
Embed: | ||
=>
"Exercise 50. If you copy and paste the \r\nabove function definition into the definitions \r\narea of DrRacket and click RUN, DrRacket \r\nhighlights two of the three cond lines. \r\nThis coloring tells you that your test cases do \r\nnot cover the full cond itional. Add enough \r\ntests to make DrRacket happy."
check-expect: undefined;
cannot reference an identifier before its definition
in module: 'm
check-expect: undefined;
cannot reference an identifier before its definition
in module: 'm
check-expect: undefined;
cannot reference an identifier before its definition
in module: 'm
"Exercise 51. Design a big-bang program\r\n that simulates a traffic light for a \r\ngiven duration. The program renders the state of \r\na traffic light as a solid circle of \r\nthe appropriate color, and it changes state \r\non every clock tick."
empty-scene: undefined;
cannot reference an identifier before its definition
in module: 'm
big-bang: undefined;
cannot reference an identifier before its definition
in module: 'm
"This program works good but need stop function."