You are on page 1of 13
eG = SOSNruty ‘A. Answer the pos, yourself, "tion of the, iT allow, ‘Ng People or things with reference to 1. The teach, er is stand) Pe ing in 2 3. 4 B. Make groups of five. Sitting to my left. Ta entrance and find out ae 8 tour of the school. Start from the main + Principal's office ‘ere the following places are located. + Sta Share your observation in on + Washroom ALbery Learn You will learn about: = Working of MSWLogo commands LW | Task y Your Environmental Science teacher has asked you to draw a road map from school to the nearest crossing (imagine that you are standing in front of your school with your back towards it). With the help of the road map, you need to share the following during the Safety First Assembly. e Directions e Safety measures while crossing the road e Zebra crossing g Let us get started. _ a ( ith the specified num eee commanD the turtle backward with the sp ber he BACK command is used to move of steps. ' RIGHT (RT) COMMAND she wurtle toward its HERE with the specifieg e The RIGHT command is used to move number of steps. LEFT (LT) COMMAND The LEFT command is used to move the turle Towser number of units. The turtle turns in anti-clockwis Je toward its left with the specified { tion. Checkpoint ptions. (FD This command i v rtle forward with the | FORWARD (FD) 2 This command s used to move the turtle for ia command © specified number of steps. ™ i turtle backward with BACK (BK) , ons coment is ay move the tur it command ’ the specifie number of steps. 3 RIGHT (RT) @ This command is used to move the turtle toward its right command @ with the specified number of steps. Match the following commands with their correct deseri| LEFT (LT) command | This command is used to move the turtle toward its left Dwith the specified number of units. The turtle turns in anti- 3 ( clockwise direction. : foun ol) g6TH command jg ‘died ton qoble 1: Directic ‘urn t] ON Of turtie he turtle in clockwi Wi ckwise direction, Head wi ith SETH command js the differen, 15 pat Fs ce betwedn 1 mL and SETH comn mand? wh : HT or LEFT RIGHT or LEFT com re the SETH conittind te turns the t turns the tarth ‘urtle to an angle from its previous position le to an angle from its HOME position. wi CAO) PENUP command is ° | ei nove up and will is used to draw invisible li i , hot draw any ible lines. This means MSW Logo turtle roraise the turtle pen, type PU Hneswhile moving forward Ype PU. Press the Enter key or click the Execute button. pENDOWN (PD) COMMAND NDOWN i oS the PEI command is used to bring the MSWLogo turtle back to the drawing node. jpput the pen back, type PD. Press the Enter key or click the Execute button. _— Practise Draw a square inside a square. _ — follow these commands. [Eebvsitege seen — —— se oe Fe tang Sa Toon HP RT45 | FD60 -| PU RT90 | FD 20 FD 60 tras) | RT90 | ud FD 60 PD RT90 FD 60 f | SE | NEI Tire . background color of y, Jas a number Fanging : — he The SETSCREENCOLOR command [s used {0 ¢ na ed Steen. It ts Followed by the color coe, which Ly repre’ from 1 to 1S. Tae > Cake onder 0 Black I 1 Blue | jesamaees == - > . Ti 10 Light Green - Green | = = ti at — = i | mn ight Cyan po 3 4 Cyan 4 in 7 lishtiRed 71 e 4 Red Yc eecce e ; | aa eo F B Violet] {35 Magenta _ a 6 yellow | | y Orange 7 white | [35 Grey ea You can also select SCREENCOLOR option from Set menu. =o §] To change the screen color to Ed asitoe Scren red, type SETSCREENCOLOR 4 (Fig. 1). Fig. 1 Executing the SETSCREENCOLOR command om CREENCOLOR eT : comm; yi? ous = efor re you di raw the shapes. Else, all the shapes will raw the road m, itty ur school to the. P ey crossing. Consider 2 e to move ahead in rection of turtle’s hy i school is on the side of ‘i is tail. wt awthe road and ering type the following anand [EISCREENCOLOR 15 0300 FD 100 FD 100 Fpy990 ‘3 RT90 RT90 RT90 | FD 200 Ee i 0 ee FD 100 FD100 —|- FD 200 398, mae ce LT 90 | Ar90 FD 100 FD 100 re 9 | RT 90 FD 100 | FD 200 RT 90 RT90 | \ pu FDO I | RT 90 SETPENCOLOR (SETPC) COMMAND. ° ‘The SETPENCOLOR command is used to change the color of the turtle pen. This command Is also followed by color code ranging from 1 to 15. To change the pen color to green, follow the steps: Step 1: Type SETPENCOLOR 2 Step 2: Press the Enter key oF cli the Execute button (Fig. 2). L > SSETPENCOLOR 7 FD 100 RT 90 Fp 100 LT 90 FD OLT90 FD 100 LT 90 FDO Fig, 2 Executing SETPENCOLOR command | | | SETPENSIZE COMMAND 0 [Eames > 8x Fae Semup St Zoom He - The SETPENSIZE command is used bc to change the size of the pen. Within oe brackets, specify its width and height. To change the thickness of line drawn by the turtle, type SETPENSIZE [6 6]. i Press the Enter key or click the Execute button (Fig. 3). PEE se reensize i010 ~ The PENERASE command is used to FD 60 20RT 90 6D £0) erase the unwanted lines. It shows up Fig. 3. Executing the SETPENSIZE comm the background color. To erase a line, type PE. Press the Enter key or click the Execute button. HEE The PENPAINT command is used to brin the PENERASE mode. Type PPT and press the Enter key or click the Execute button. g the turtle back to non-erasing mo¢ her, you may draw mi es for other roads is used to hide the turtle. (Fig. 4). Eire The SHOWTURTLE or ST command is used to bring the turtle back. To show the turtle type ST. Press the Enter key or click the Execute button. The HOME command is used to bring the turtle back to its starting position that is the centre of the screen, by drawing a line from its current position. To bring the turtle back to home Dosition, type HOME. Press the inter key or click the Execute utton (Fig. 5). ‘The HIDETURTLE or HT command To hide the turtle, type 117. Press the Enter key or click the Execute button ~~ Fig. 4 Exectti 1g the HT command El commander [SETPENSIZE [10 10) Holt | Trace re ler $0 Pause | Sau | BR Step_| see | Fig. 5 Executing the HOME command ithe Main’ fea ses rie t0 HOME positia® pe the drawing area, asCREEN or Cs, Breas fe the Execute button.» ‘M€ Enter key ‘ak brings the 4 ° jAN command era, (Main Screen but do, stack to HOME posi wat position. gr the drawing area wit oe of the turtle, typ. 3 Senter Key or click the Ex Ses the drawing 5 not bring the ton. It stays at the ‘thout changing ¢ CLEAN, Press ‘ecute button, Mua KS TNT T EARTEXT or CLEANTEX’ ; ae erases the text in the Recall List i does not erase the drawing. ear the text in the Recall List Box, type \RTEXT or CT. Press Enter key or he Execute button. _—_ Seate | Fig. 7 Executing the CT command NEXIY™m . To save the tage of road (Activity 4 _ Step I Select Save Ax option (rom the Bitmar we”? tmap men Fig. & Save As option on the BaP The Save As dialog box appears (Fig. 9) Step 2: Type the filename as Road map. map-bmp. Step 3: Click the Save button. The file is saved as Road maP x p= -ooG —s a pate modfied =~ — A/as2017 £33 PM (B reecorta 4 seozot7 453 PM GB cases 4/16/2017 1230 PM oo 4/30/2017 3:22 PM APAP2O17 £32 PM Fig. 9 Save As dialog box he J * You type the command in the Command Input Box. To run a command, type the command, press Spacebar, Press Enter key or click the Execute button, a j qvaluate 4 ih fill in the blanks with the help of the given words. SETH PENPAINT SHOWTURTLE | HIDETURTIENCLEARGCR 1 ThE i dashonie poalion command is used to turn the turtle in clockwise direction from | 2 ThE vosn .. Command is used to change the size of the pen. 3, The... command is used to hide the MSWLogo turtle. 4, The... _.. command is used to erase all drawings from the screen. 5, The hidden MSWLogo turtle can be brought back by using the ... command. 6. The ... from the PENERASE mode. _. command is used to bring the turtle back to non-erasing moc B. Guess the MSWLogo commands. 1, Itehanges screen color. 3. Ittchanges pen mode from Invisible t 4, Itchanges pen size. 5. Itchanges pen color. 6 Iterases drawings and background. 1, PUand PD 2. HTandsT 3. PEand PPT Match the following. 1. SETSCREENCOLOR 2. FORWARD 3. SETPENSIZE 4. CLEANTEXT 5. SETH 6. HOME Apply Using MSWLogo commands, draw the following figures. — 4 a—_! 2. It changes pen mode to draw Invisible lines. 0 visible, ©. Describe the relationship between the following meange commands. Changes the size of pen @ Brings the turtle to the centre of the scree) raves textin the Recall List Box (“) Changes background color of the screen) Moves the turtle forward (2.) ‘Turns the turtle clockwise LANA nes Ji 1m | A A go can be used to do mathemati erations. thematical op. note: In computer language, +? and 7'1s for division) 98, “+"is for addition, is for subtraction, is for multiplicatior 5 ication pe the following commands i draw the figure in the given space Nios Find out which figure is formed. Then Fpo+0O 11 150-60 FD 25*10 RT 180/2 FDO+0 RT30*3 FD 300-0 Draw a sketch of the way back home from school using Paint. Mark the places on the sketch. Share the importance of places like bank, market, park, hospital, fire station anda few other bu: js you see on your way. Remember all these places are a jpart of your neighbourhood. Gs Paste the road map you created in MSWLogo fain the map and how other places are con n of Paste command in Clipboard S onto a corner of the sketch in Paint. Furth nected from your home. group of Home tab. int: Use Paste from optio

You might also like