Computer Science, asked by rehanansari67211, 1 month ago

write the function of the logo primitives for followings FD ,BK ,HT, CS ,RT , LT​

Answers

Answered by manyasharma81
4

Answer:

The simple Logo Drawing Commands move the Turtle forward and backward and also turn it right or left. The commands and their abbreviations are given below −

fd – forward

bk – backward

rt – right

lt – left

cs – clearscreen

Answered by ravilaccs
1

Answer:

  • fd – forward
  • bk – backward
  • rt – right
  • lt – left
  • cs – clear screen

Explanation:

  • It's really simple and entertaining to learn the programming language logo. It has sufficient depth to perform nearly every task that can be performed in another computer programming language.
  • The Turtle may be moved forward, backward, and turned right or left using the straightforward commands for the logo drawing. The instructions are shown below along with their abbreviations: fd for forward, bk for backward, rt for right, and lt for left.

clearscreen (cs)

  • With the exception of the cs command, each of these commands requires an argument, which is a value. While the inputs for rt and lt are angles that might be any integer, those for fd and bk are units. A 360-degree rotation is a full turn, hence a 375-degree turn is equivalent to 1/15 of a turn.
  • Go forward 60 steps right by saying "forward 60" or "fd 60." Right turn 90 degrees left, often known as 90 or rt 90. 90 or lt 90 denotes a 90-degree left turn.
  • Back 60 or bk 60 denotes a 60-step retracement
  • Clearscreen, abbreviated as cs, meaning remove all graphics. This places the turtle in the middle.
  • There is a coordinate system in the graphics window. The center's two coordinates, which are typically referred to as x and y, have the values 0, 0.
  • They are 250, 250 in the northeast corner and 250, -250 in the southeast corner.
  • They are -250 in the southwest corner, -250, etc.
  • The turtle wraps around if it attempts to move off to one side of the screen. The left wraps around the right.

Learn more information about the logo primitives

  • https://brainly.in/question/8710897?referrer=searchResults
  • https://brainly.in/question/10891432?referrer=searchResults
Similar questions