MICROPROCESSOR APPLICATIONS
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In LOGO what shape would these commands draw:FD100, RT 90, FD 50, RT 90, FD 100, RT 90, FD 50, RT 90?
|
Rectangle
|
|
Square
|
|
Parallelog
|
|
circle
|
Explanation:
Detailed explanation-1: -Answer: Rectangle is the shape formed using the given commands.
Detailed explanation-2: -Ans. The RT and LT Command in Logo language are used to turn the Turtle. The RT command is used to turn the Turtle to its right. The LT Command is used to Turn the Turtle to its Left.
Detailed explanation-3: -RT 90: Turn right by 90 degrees. Together, these two commands would cause the computer program to move forward in a straight line for 100 units and then turn right by 90 degrees, effectively making a right-angle turn.
Detailed explanation-4: -RT 90 rotates the turtle right by 90°. FD 200 moves the turtle by 200 steps. By doing this, we can draw the vertical line in letter T. So, letter T is displayed.
There is 1 question to complete.