Computer Science, asked by mirmehrunnissa, 1 day ago

procedures may need inputs to return results such inputs are called​

Answers

Answered by ojaswiverma97
7

Answer:

Logo is one of the most powerful programming languages around. In order to take advantage of that power, you must understand Logo's central ideas: procedures and evaluation. It is with these ideas that our exploration of Logo programming begins.

Procedures and Instructions

In response to Logo's question-mark prompt, type this instruction:

print 17

Logo will respond to this instruction by printing the number 17 and then printing another question mark, to indicate that it's ready for another instruction:

? print 17

17

(Remember, the underlined things are the ones you should type; what's not underlined is what the computer prints.)

This instruction doesn't do much, but it's important to understand how it's put together. The word print is the name of a procedure, which is a piece of a computer program that has a particular specialized task. The procedure named print, for example, has the task of printing things on your screen.

If you have previously used some other programming language, you may be accustomed to the idea of different statement types making up the repertoire of the language. For example, BASIC has a print statement, a let statement, an input statement, etc. Pascal has an assignment statement, an if statement, a while statement, etc. Each kind of statement has its own syntax, that is, its own special punctuation and organization. Logo is very different. It does not have different kinds of instructions; everything in Logo is done by the use of procedures. If Logo is your first programming language, you don't have to worry about this. But for people with previous experience in another language, it's a common source of misunderstanding.

Answered by nandani20307
1

Hey Mate!

Your answer is Parameter!.

hope it will help you

Similar questions