Computer Science, asked by Aditigillkaur, 2 months ago

6 Answer the following questions
a. What is a procedure in LOGO?
b. How many parts does a LOGO procedure have? Write about each
c.What are the rules to write the title of a LOGO procedure?
d. What is the role of the save command in a LOGO procedure?
e. Why is it necessary to load a LOGO procedure after? restarting a LOGO program?​

Answers

Answered by veerajagarwal
1

Answer:

procedure" (and any subsequent words) was ignored because we limit queries to 32 words.

Answered by saifali51643
3

Answer:

a) Procedures provide a way to encapsulate a collection of commands. Once a procedure has been created, it can be used just the way a built-in command is used. The “meaning” of a procedure is the meaning of its individual commands.

b)A Procedure is a set of LOGO commands given one after another to perform a particular task and referred to by a name. A procedure has 3 parts: It must start with the reserved word “TO”, followed by a one word procedure title.

c) Procedures provide a way to encapsulate a collection of commands. Once a procedure has been created, it can be used just the way a built-in command is used. The “meaning” of a procedure is the meaning of its individual commands.

A procedure without arguments has the word ‘to’ (a reserved word) and the name of the procedure on the first line. (Reserved words in Logo cannot be used as variables and have a well-defined meaning and use.) It has the reserved word ‘end’ on the last line.

A subprogram is a named sequence of steps for another program to execute. Other names for subprograms are procedures and functions. In Logo, you tell the computer how to do something

d)

Similar questions