Tic act 2
a) What is the section where you can design the World of Karel?R=World
b) What is the section where you can type the code of the program?
R= Program
c) What elements can you add when designing the World of Karel?R=Walls and beepers
d) What problems did you find when designing the world of karel?
R=the limit of street I needed to move
e) What problems did you find at themoment of typing the code of the program?
R= I sometime forgot to type the symbol “;”
f) Why is it necessary to follow the syntax rules of a programming language?R=because if you don’t follow them at the moment of compiling there will be errors
g) What is the statement that indicates Karel to finish its trajectory?
R=Turnoff();
h) What does Karel perform at the moment to find a move statement in the code of the program?
R= moves 1 block to the direction it is facing
i) Why isit necessary to “compile” the program when finishing typing its code?
R= so we can find any mistakes we have done
j) What happens in case that you forget to“compile” the program and you want to run it?
R= a message saying you haven’t compile will appear
k) Why is it necessary to “initialize” the program before running?
R=because this way the program will refresh and can start again
l) Write the program code that permits Karel to turn 270°
R= turnleft(); turnleft();turnleft();
m) Do you consider that it was difficult to design the world and the program of Karel?
R= Not really, I really enjoyed making Karel’s world
Regístrate para leer el documento completo.