Computer Science, asked by swagatikamohanty64, 17 days ago

true Or false
1) while drawing a square, the turtle turns three times
2) The REPEAT command is used to draw a circle
3) The end command erases a procedure.
4) Repeat 3[FD 30 LT 120 ] draws a triangle
5) The colon (:) is used before variable name in the procedure title.
6) A procedure can have a maximum of three commands in it.
7) A procedure can be recalled as many times as we wish to.

Answers

Answered by srirajnambiar
1

Answer:

The correct answer is : explained below

Explanation:

1) False: While drawing a square, the turtle turns 4 times, once for each side of the square.

2) False: The REPEAT command is used to repeat a set of commands a specific number of times. It is not used specifically to draw a circle.

3) False: The end command is used to indicate the end of a procedure. It does not erase the procedure.

4) True: The command "Repeat 3[FD 30 LT 120]" would draw a triangle. It would repeat the commands "Forward 30" and "Left turn 120" three times, resulting in the turtle drawing three sides of a triangle.

5) True: The colon (:) is used to define a procedure in Logo programming. It is placed before the procedure name to indicate that it is a procedure.

6) False: A procedure can have as many commands as necessary to achieve its intended purpose. There is no specific maximum number of commands allowed.

7) True: A procedure can be recalled or executed as many times as needed, making it a powerful tool for repetitive tasks in programming.

To learn more about commands, visit:

https://brainly.in/question/40701338

To learn more about commands, visit:

https://brainly.in/question/27920154

#SPJ3

Similar questions