Teaching my grandson software

derez

Expert
Licensed User
Longtime User
I hope God shall forgive me but my grandon (7 years young) wants to write games and to know how to do it, and I have decided to teach him.
He is now at the end of 1st class of elementry school, knows the English letters and very little math.
I havee started by building a tool to enable coding by icons instead of lines of code, of course the program that I wrote does the translation:

monkey.png


The program has a field to put the scenario on, a list of commands and a board in which commands and parameters can be selected. When run, the monkey walks and does what the commands tell it to do.
With this tool I was able to teach parameters (for example the first row says "walk 7 steps"), loops, variables (here only one, A) , subs (only one ) and if then else phrases (is bannana ?).

The next step is to write real code in English. I use the Turtle tool with some aids (show X and Y position on the screen when mouse is clicked etc.) and with a translation tool in which the common commands of the Turtle are listed in Hebrew and when any of them is selected, the required line in English can be pasted to the code in the IDE. If a parameter is included the user can change on the IDE since it is a number, not words.

My grandson is now able to write simple code like drawing the flag here, using the principles that were aquired before.:

Flag.png
 

DonManfred

Expert
Licensed User
Longtime User
We all know. Coding can be a positive thing (making good/better Software) and also a bad thing (DDOS-Attacks, Hacking systems, ect).
The first ones deserves Heaven, the last ones Hell.

Guess you teach him the first one. You should be save then ?
 

Sandman

Expert
Licensed User
Longtime User
not if you do it for the security of your country. both will take you to haven in that case ;)
Ah, the Haven Restaurant. I had a look at their menu and found several dishes that seemed delicious.

 

Magma

Expert
Licensed User
Longtime User
He is too young.. to decide if will be sw engineer... when i was 6-7, i was programming... too... but wanted to be football player, actor, spaceman... and sometimes superman :)

But I am sure with your help will be a "honorable" and"great" man, general !

...and for sure... he is lucky for his grandpa
 

toby

Well-Known Member
Licensed User
Longtime User
The B4X turtle project is very good for kids to get started and motivated. That's how my son started learning how to code.

Here is a good Tutorial. It's a b4j and should work as b4a with minor changes, if any. I didn't try it myself.
 

amaxco

Member
Licensed User
Longtime User
I hope God shall forgive me but my grandon (7 years young) wants to write games and to know how to do it, and I have decided to teach him.
He is now at the end of 1st class of elementry school, knows the English letters and very little math.
I havee started by building a tool to enable coding by icons instead of lines of code, of course the program that I wrote does the translation:

View attachment 143242

The program has a field to put the scenario on, a list of commands and a board in which commands and parameters can be selected. When run, the monkey walks and does what the commands tell it to do.
With this tool I was able to teach parameters (for example the first row says "walk 7 steps"), loops, variables (here only one, A) , subs (only one ) and if then else phrases (is bannana ?).

The next step is to write real code in English. I use the Turtle tool with some aids (show X and Y position on the screen when mouse is clicked etc.) and with a translation tool in which the common commands of the Turtle are listed in Hebrew and when any of them is selected, the required line in English can be pasted to the code in the IDE. If a parameter is included the user can change on the IDE since it is a number, not words.

My grandson is now able to write simple code like drawing the flag here, using the principles that were aquired before.:

View attachment 143243
Very impressive!
 
Top