F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class

Total Page:16

File Type:pdf, Size:1020Kb

F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class

F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class:

What is LOGO? In 1950'S, a scientist, Grey Walter, had made a programmable robot which needed to eat. The robot was covered with a tortoise shell-shaped shell, and thus was called turtle.

In 1960’s , Seymour Papert and his colleagues in Massachusetts Institute of Technology produced a similar machinery turtle to allow children to enter mechanical turtle program. Thus, a mathematical game composition and interesting program language "LOGO" appeared.

Due to the popularity of computer, mechanical turtle and LOGO become a problem-solving skills training tool to encourage creativity through computer graphics and animation.

Why use LOGO? 1) Free to download. 2) Easy to learn without programming techniques. 3) Problem-solving skills can be trained and encourage students to be creative. 4) Can produce beautiful and reusable computer paintings.

How to use LOGO? 1) source: free download from http://www.softronix.com/download/mswlogo65.exe

2) MSW LOGO program techniques: Working environment: MSWLogo Screen and Commander

Page 1 F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class:

- Interior angle and Exterior angle

- Understanding of the direction of turtle

3) MSW LOGO commands Action Command Short Version Move forward 100 units Forward 100 FD 100 Move back 50 units Back 50 BK 50 Right turn 45 degree Right 45 RT 45 Left tuen 90 degree Left 90 LT 90 Return to starting position Home Erase the screen and return “home” ClearSceen CS Erase the text ClearText CT

Note: may use capital letters or small letters, but be sure to lease a space between command and numerical datum. e.g.: 1) FD100 is wrong. It should be FD 100 2) Fd 100 and fd 100 both correct reference:http://www.softronix.com/logo.html

Page 2 F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class:

Exercise: (A) Write down the commands used: Action Command 1) Draw a triangle (polygon with 3 equal sides) with each side of 60 units

2) Draw a hexagon (polygon with 6 equal sides) with each side of 50 units

3) Draw a octagon (polygon with 8 equal sides) with each side of 70 units

(B) record the shape of the following actions: Action Shape 1) repeat 3 [FD 60 RT 120] 2) repeat 6 [FD 50 RT 60] 3) repeat 8 [FD 70 RT 45]

(C) Compare the results of (A) and (B): 1) Is they are the same in shape?

2) (A) or (B) is convenient to use?

3) Why?

4) State the differences between (A) and (B).

5) State the commands to draw a square.

6) State the commands to draw a circle.

(D) Correct the following commads:

Page 3 F.1 Computer Literacy LOGO Notes & Exercise(1) Name: Class:

Commands Corrected Commands 1) FD120

2) RD 30

3) CLEANSCREEN

4) FD 20RT 90

5) CT 20 LT 45

6) BK

(E) Complete the following commands Action Command 1) 100 height 40 width

2) 100 height 40 width

3) 100 height 40 width

Page 4

Recommended publications