D. Answer the following questions. What is MSWLOGO? Give its full form. 2. Which MSWLOGO command will fill color in an enclosed shape? 3. Write steps to convert lowercase to uppercase. 4. Define count. S. Write down the difference between PU and PD commands. 6. Write steps to draw a triangle using REPEAT command. 7. What are the uses of colors in MSWLOGO? 8. Differentiate between SETSCREENCOLOR and SETPEN- COLOR primitive.
Answers
Answered by
0
Answer:
Explanation:
1. The full form of MSWlogo is Master of Social Work.
2. SETFLOODCOLOR [0 0 0] — SETFC, for short — lets you fill a closed shape with a color. You must go inside the shape to use this command.
3. To use a keyboard shortcut to change between lowercase, UPPERCASE, and Capitalize Each Word, select the text and press SHIFT + F3 until the case you want is applied.
4. n general, count refers to the number of objects or items. For example, you could view the statistics of a document and get the total word count.
5. The PU command lifts the turtle's pen so that, it does not draw a line while moving. The PD command puts down the turtle's pen so that it starts drawing again while moving. The PD command is only issued after the PU command has already been used.
6. I think you get a Triangle. A Triangle has 3 sides so FD 50 RT 120 commands are given 3 times. We can draw the same triangle using REPEAT command.
...
Polygon Triangle
No. of Sides 3
Command REPEAT 3 [FD 50 RT 120]
Angle(RT) = 360/No.of Sides 360/3 = 120
7. Logo - Color
Color & Pen command Purpose of the command
setpencolor [ r g b] setpc [r g b] Sets the color for turtle's pen r g b are numbers in range [0, 255]
setfloodcolor [r g b] setfc [r g b] Sets the color for an endorsed area
setscreencolor [r g b] setsc [r g b] Sets the color for the background
8. The first few lessons taught us how to write programs that draw pictures. So far, all of our programs draw the black and white pictures. In this lesson, we are going to add colors to our pictures.
Similar questions