Wednesday, 10 January 2018

Coding

This term in ICT we will learn all about coding. Code is the language that makes all the games, software and programs we use. In fact, all living things have a code inside their cells called DNA (which are the instructions on how to build it).


To help give you an introduction to coding we can use a basic code called Logo. Click here for the website. The code we write for this gives instructions to a 'turtle' to move and turn and draw a line as it goes.

The code FD 100 will make draw a line. FD 200 will draw a longer line. We can make a left turn (LT) or a right turn (RT) by degrees. For example, RT 90 will turn right 90 degrees. RT 180 will turn around. CS will clear the screen. PU is pen up and PD is pen down. Can you see the pattern?

--

See if you can find out what shape the following code is for. If you're not sure, you could copy and paste it into the program and see what happens.
--
FD 150 LT 90 FD 100 LT 90 FD 150 LT 90 FD 100

4 comments:

  1. I realy liked coding it was realy fun.

    ReplyDelete
  2. I love to do coding because they have left right front down

    ReplyDelete
  3. I like to draw and coloring to

    ReplyDelete
  4. I like coding because it is fun

    ReplyDelete