Computer Science, asked by ShreeSai4586, 5 hours ago

Instructions primitive and commands are the same things

Answers

Answered by blessybenny789
0

Answer:

Its very simple

Explanation:

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 swapnaammu2020
1

Answer:

no they are not same

Explanation:

To instruct is to teach or guide.

To command is to issue an order (or orders).

A command can be issued to follow instructions.

Although the meaning is different, people can also be instructed to obey commands.

When it's considered the same, the difference might be in the appropriateness of the act.

Similar questions