Question: 5.1 b) Explain why the following procedure does not construct a cube. Modify the code in the procedure and write down a revised procedure that
5.1 b) Explain why the following procedure does not construct a cube. Modify the code in the procedure and write
down a revised procedure that can create an arbitrary cube. Also write a new cube procedure than that which
specified below. It should contain one (or two) errors that your students must identify and correct.
Explain in writing where the error(s) you have inserted are and what your students need to understand in order to correct them
it/these.
http://etl.ppp.uoa.gr/malt2/Manuals/MaLT+Tutorial.pdf
to square :a
repeat 4 [fd :a rt 90]
end
to cube :a :b
repeat 4 [square :a fd :a down :b]
end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
