Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New programming course
#42
I'm gonna skip the boring part and cut straight to example exercises.

The first lesson is basically a showcase of what can be done in Logo with the use of interactive presentations. Minigames such as pentomino, classic pairs or symmetrical drawing. I think Cbot is even better in this stuff. I mean seriously - it's a video game after all. The student could battle a few pre-programmed bots in races, football (tireball actually) or other activities.

After that comes the fun part. In reverse translated Logo:
forward number - moves the turtle forward by number steps
backward number - obvious
left number
right number
clear - clears the canvas and resets the turtle (we got a restart button for that)
setColor color - sets color
setThickness number - guess what... it sets thickness

Example exercises:
1. Draw the folowing shape: 
Code:
   _
 _| |
|___|

2. Draw a green square. Since turtle's moves repeat you can use the repeat command.
- Example solution 1:
fwd 60 rt 90
fwd 60 rt 90
fwd 60 rt 90
fwd 60 rt 90
- Example solution 2:
repeat [fwd 60 rt 90]

3. Draw two squares just like on the drawing (common corners):
Code:
   __
__|__|
|__|

4. Draw the folowing shapes:
[Image: ZIU4cVo.jpg]


Teaching the turtle new words....
Basically there's function building to teach yer turtle the square command.
It's noted that a new function is not blank but starts with thatis square and ends with done and that the instructions should be written between those.

1. Using the square function write a function to draw three squares on top of each other and name it tower
- two example solutions noted here, with and without repeat

2. Write a function for drawing four squares forming a big square and name it 4squ

Next is a function with parameter:
thatis square :side
 repeat [fwd :side rt 90]
done
And a function to draw colorfull squares:
thatis square_rnd :side
 setColor rnd
 repeat [fwd :side rt 90]
done
Where rnd returns a random value.

1With the use of  square_rnd draw the folowing:
[Image: pbRKvXZ.jpg]
For the last shape you'll need to use up and down commands to rise or drop turtle's marker.

That's how it goes (more or less) in WSiP's (publisher's) "Lekcje z komputerem".

All I got were lesson scripts. I wanted to get some detailed info directly from WSiP's webpage as I do have the teacher's registration code but sadly I do not have access to any primary school materials. What I wrote there should be enough though. At least for a good start.
My Code Battle League program: MhrodeBattle.txt

Welcome back, Mrocza. You last visited: Sunday, July 7th, 2013, 02:12 pm 
http://imgur.com/L3Y8bQz


Messages In This Thread
New programming course - by krzys_h - 07-16-2015, 11:19 AM
RE: New programming course - by Simbax - 07-16-2015, 04:00 PM
RE: New programming course - by tomaszkax86 - 07-16-2015, 04:31 PM
RE: New programming course - by RaptorParkowsky - 07-17-2015, 11:31 AM
RE: New programming course - by krzys_h - 07-17-2015, 11:52 AM
RE: New programming course - by tomangelo - 07-17-2015, 11:59 AM
RE: New programming course - by RaptorParkowsky - 07-17-2015, 12:11 PM
RE: New programming course - by krzys_h - 07-25-2015, 03:56 PM
RE: New programming course - by tomangelo - 07-25-2015, 04:42 PM
RE: New programming course - by krzys_h - 07-25-2015, 04:53 PM
RE: New programming course - by RaptorParkowsky - 07-25-2015, 04:43 PM
RE: New programming course - by tomangelo - 07-25-2015, 10:49 PM
RE: New programming course - by krzys_h - 07-26-2015, 06:08 PM
RE: New programming course - by tomaszkax86 - 07-26-2015, 06:19 PM
RE: New programming course - by RaptorParkowsky - 08-02-2015, 08:54 PM
RE: New programming course - by krzys_h - 08-02-2015, 09:45 PM
RE: New programming course - by Simbax - 08-02-2015, 09:58 PM
RE: New programming course - by Emxx52 - 08-02-2015, 10:00 PM
RE: New programming course - by RaptorParkowsky - 08-02-2015, 10:13 PM
RE: New programming course - by tomangelo - 08-02-2015, 10:14 PM
RE: New programming course - by Simbax - 08-02-2015, 10:25 PM
RE: New programming course - by RaptorParkowsky - 08-02-2015, 10:36 PM
RE: New programming course - by krzys_h - 08-03-2015, 08:10 AM
RE: New programming course - by RaptorParkowsky - 08-03-2015, 10:45 AM
RE: New programming course - by Simbax - 08-05-2015, 09:24 AM
RE: New programming course - by krzys_h - 08-05-2015, 10:40 PM
RE: New programming course - by DavivaD - 09-21-2015, 09:38 PM
RE: New programming course - by krzys_h - 09-22-2015, 05:50 AM
RE: New programming course - by Mrocza - 09-25-2015, 07:35 PM
RE: New programming course - by Simbax - 09-25-2015, 08:50 PM
RE: New programming course - by Mrocza - 09-26-2015, 07:50 AM
RE: New programming course - by krzys_h - 09-26-2015, 12:51 PM
RE: New programming course - by RaptorParkowsky - 09-26-2015, 02:26 PM
RE: New programming course - by krzys_h - 09-26-2015, 04:05 PM
RE: New programming course - by Mrocza - 09-27-2015, 11:16 AM
RE: New programming course - by krzys_h - 09-27-2015, 05:59 PM
RE: New programming course - by Mrocza - 09-27-2015, 07:16 PM
RE: New programming course - by tomangelo - 09-27-2015, 07:27 PM
RE: New programming course - by krzys_h - 09-27-2015, 07:32 PM
RE: New programming course - by tomaszkax86 - 09-27-2015, 10:17 PM
RE: New programming course - by tomangelo - 09-27-2015, 10:30 PM
RE: New programming course - by Mrocza - 09-28-2015, 03:38 PM
RE: New programming course - by RaptorParkowsky - 09-28-2015, 05:01 PM
RE: New programming course - by Mrocza - 09-28-2015, 05:19 PM
RE: New programming course - by tomangelo - 09-28-2015, 05:46 PM
RE: New programming course - by Simbax - 09-28-2015, 06:56 PM
RE: New programming course - by Mrocza - 09-28-2015, 08:15 PM
RE: New programming course - by krzys_h - 09-28-2015, 08:16 PM
RE: New programming course - by Simbax - 09-28-2015, 08:30 PM
RE: New programming course - by RaptorParkowsky - 09-28-2015, 09:17 PM
RE: New programming course - by krzys_h - 09-30-2015, 05:45 PM
RE: New programming course - by krzys_h - 09-30-2015, 09:42 PM
RE: New programming course - by krzys_h - 10-04-2015, 06:42 PM
RE: New programming course - by DavivaD - 10-04-2015, 07:04 PM
RE: New programming course - by RaptorParkowsky - 10-04-2015, 07:40 PM
RE: New programming course - by krzys_h - 10-04-2015, 07:51 PM
RE: New programming course - by Simbax - 10-04-2015, 09:40 PM
RE: New programming course - by tomaszkax86 - 10-04-2015, 10:42 PM
RE: New programming course - by krzys_h - 10-05-2015, 07:20 PM
RE: New programming course - by kevinvr - 12-18-2015, 03:32 AM
RE: New programming course - by kevinvr - 12-18-2015, 01:57 PM
RE: New programming course - by Simbax - 04-07-2016, 06:36 PM
RE: New programming course - by krzys_h - 04-07-2016, 08:53 PM
RE: New programming course - by radioactivity - 04-07-2016, 09:08 PM
RE: New programming course - by Simbax - 04-07-2016, 09:23 PM
RE: New programming course - by krzys_h - 04-07-2016, 09:38 PM
RE: New programming course - by tomangelo - 04-07-2016, 10:04 PM
RE: New programming course - by Simbax - 04-08-2016, 01:20 PM
RE: New programming course - by radioactivity - 04-08-2016, 03:43 PM
RE: New programming course - by Simbax - 04-08-2016, 05:45 PM
RE: New programming course - by radioactivity - 04-08-2016, 06:20 PM
RE: New programming course - by krzys_h - 04-08-2016, 08:31 PM
RE: New programming course - by Simbax - 04-08-2016, 08:02 PM
RE: New programming course - by Simbax - 04-08-2016, 08:42 PM
RE: New programming course - by radioactivity - 04-08-2016, 08:47 PM
RE: New programming course - by radioactivity - 04-08-2016, 10:55 PM
RE: New programming course - by krzys_h - 04-09-2016, 11:30 AM
RE: New programming course - by Simbax - 04-10-2016, 05:41 PM
RE: New programming course - by krzys_h - 04-10-2016, 05:54 PM
RE: New programming course - by radioactivity - 04-10-2016, 05:52 PM
RE: New programming course - by tomaszkax86 - 04-10-2016, 07:22 PM
RE: New programming course - by radioactivity - 04-11-2016, 08:33 PM
RE: New programming course - by tomangelo - 04-11-2016, 08:55 PM
RE: New programming course - by Mrocza - 04-12-2016, 11:54 AM
RE: New programming course - by Simbax - 04-12-2016, 12:05 PM
RE: New programming course - by Mrocza - 04-12-2016, 12:24 PM
RE: New programming course - by Simbax - 04-12-2016, 01:18 PM
RE: New programming course - by radioactivity - 04-12-2016, 02:05 PM
RE: New programming course - by Simbax - 04-12-2016, 03:38 PM
RE: New programming course - by krzys_h - 04-12-2016, 08:29 PM
RE: New programming course - by tomaszkax86 - 04-12-2016, 08:07 PM
RE: New programming course - by tomangelo - 04-12-2016, 08:07 PM
RE: New programming course - by radioactivity - 04-12-2016, 08:46 PM
RE: New programming course - by tomangelo - 04-12-2016, 09:02 PM
RE: New programming course - by tomaszkax86 - 04-13-2016, 11:50 AM
RE: New programming course - by tomangelo - 04-13-2016, 01:58 PM
RE: New programming course - by tomaszkax86 - 04-13-2016, 02:25 PM
RE: New programming course - by radioactivity - 04-13-2016, 06:45 PM
RE: New programming course - by Simbax - 04-13-2016, 07:16 PM
RE: New programming course - by radioactivity - 04-13-2016, 07:50 PM
RE: New programming course - by krzys_h - 04-13-2016, 08:34 PM
RE: New programming course - by radioactivity - 04-13-2016, 08:47 PM
RE: New programming course - by tomangelo - 04-13-2016, 09:06 PM
RE: New programming course - by CHmSID - 04-13-2016, 10:00 PM
RE: New programming course - by Simbax - 04-13-2016, 10:12 PM
RE: New programming course - by CHmSID - 04-13-2016, 10:35 PM
RE: New programming course - by radioactivity - 04-13-2016, 10:55 PM
RE: New programming course - by Simbax - 04-14-2016, 07:16 AM
RE: New programming course - by Smok - 04-14-2016, 01:52 PM
RE: New programming course - by tomangelo - 04-14-2016, 01:58 PM
RE: New programming course - by DavivaD - 04-14-2016, 05:17 PM
RE: New programming course - by RaptorParkowsky - 04-15-2016, 01:52 PM
RE: New programming course - by krzys_h - 04-15-2016, 02:24 PM
RE: New programming course - by radioactivity - 04-15-2016, 03:52 PM
RE: New programming course - by tomangelo - 04-15-2016, 05:48 PM
RE: New programming course - by Karol - 07-18-2016, 10:32 AM
RE: New programming course - by Simbax - 07-18-2016, 12:26 PM
RE: New programming course - by Karol - 07-18-2016, 07:57 PM
RE: New programming course - by Simbax - 07-18-2016, 09:04 PM
RE: New programming course - by Karol - 07-18-2016, 09:59 PM
RE: New programming course - by humanoid - 09-18-2016, 02:47 PM

Forum Jump:


Users browsing this thread: 31 Guest(s)