|
Algebra is a topic that comes later in a child's life because it is a hard concept to grasp. Then you try to tie in the mechanics of a computer that I've seen adults struggle to comprehend. No wonder you are feeling a little under water right now.
A computer program ties a process with values that are unknown until supplied. Basically, algebra coded in a computer. This is a tough sale for any newbie.
A=2
AB=10
What is B?
You have to explain AB is shorthand for A*B, he has to understand multiplication and division, he has to understand substitution, he has to understand the wonder of being able to figure out the value of B without ever being directly told what it is and the processes he followed to find out what B is without ever being directly told what it was. Then, that you could do the same thing with computers.
You start too young you may turn him off to math for good.
|
|
|
|
|
Perhaps you are expecting him to run before he can walk? Teach him the basics of algebra and then a + b = 5 should be intuitive. I know we live in an age where logic supposedly triumphs, but teaching things to young people so that they become intuitive makes life a lot easier down the line. When I started writing applications at 13/14 I didn't have any problems at all with such statements because I already had a basic understanding of algebra, hence defining and manipulating variables was already second nature. After all, the use of such variables in computer science was based on mathematics, so why not teach things in the order they happened?
|
|
|
|
|
Try this - write down the math problem in this fashion:
1. 2 + __ = 5 - What is the answer? (3)
Then:
2. __ + 3 = 5 - What is the answer? (2)
Then:
3. 2 + b = 5 - What is the answer? (b = 3)
Then:
4. a + 3 = 5 - What is the answer? (a = 2)
Then:
5. if a = 2, then a + 3 = 5, and if b = 3, then 2 + b = 5
Then:
6. if a = 2, and b = 3, and if a + b = c, then c = ? What does "c" equal?
If he doesn't get it by this point, then he just isn't ready for simple algebra, and should go back to playing with clay (nothing wrong with this, btw - he just may not be mentally ready). Keep the problem handy, and try it again in a year.
Good luck.
|
|
|
|
|
Your 'test program' makes the mistake to immediately define all inputs, and your son immediately optimized away the need for variables (good job! ) By providing the inputs, you immediately nixed the reason for writing the program, and your son understood that (clever guy! )
Maybe you've started it all wrong: you basicaly asked your son to play the role of the computer/debugger. Instead he played the role of an interpreter, that's why he doesn't understand the hassle of 'a' and 'b'.
It would be better to first confront him with an actual problem that introduces the idea to use an abstract container (a variable). E. g. evaluate football results from a list of matches. Sometimes you need to do repetitive calculations, and that is where variables come in handy...
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
|
|
|
|
|
|
So? Just buy 2 yachts, then you'll have a spare helicopter pad if you should need it...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Yes, but I always liked the Gazelle and in how many of them can you fly at once?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
What a f***ing waste of everything.
|
|
|
|
|
Rage wrote: What a f***ing waste of everything.
Exactly.
|
|
|
|
|
At least some of the future owners money helps to employ the people who built it
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Best not sail it anywhere near Somalia...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It's probably faster then the pirate's boats
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Probably a tad bigger as well.
|
|
|
|
|
Not necessarily - they use fast motorboats and an aluminum ladder.
They've taken some big ships in the past too - right up to an including oil tankers.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
My idea was that this yacht will probably be faster than an oil tanker But even if not, there will probably be grim looking armed guards on board and integrated defense systems like tazers, smoke generators and, of course, lasers!
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Very unlikely.
Commercial shipping (and that basically means non-military vessels) are banned worldwide from having weapons on board (governments don't want Kawasaki sailing into harbour and capturing New York )
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
okay.. then just tazers on the hull and smoke generators
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
You can't possibly be that naïve. I'm sure this ship will include a 'security staff' (former SEAL's and such) with appropriate *cough* non-lethal *cough* "restraint devices" fully-approved by all the governments in question.
More likely the current user will be asked one sunny morning: "Sir. We have the option of live skeet shooting this morning, should you choose to do so." "Excellent!"
Software Zen: delete this;
|
|
|
|
|
This has room for two helicopters and has a mini-submarine.
Did you trade it for the mini-sub?
New version: WinHeist Version 2.1.1 new web site.
I know the voices in my head are not real but damn they come up with some good ideas!
|
|
|
|
|
A mini-sub with freakin' laser beams.
|
|
|
|
|
Perfect for laundering money.
I'd rather be phishing!
|
|
|
|
|
I assume it comes with its own copy of the Internet?
Marc
|
|
|
|
|
I'd take it back those pads will never take my CH-47 Chinook, it's false advertising
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
2 pads are plenty.
1 for you to escape from (while holding the hot babe hostage)
and
1 for Bond to give chase from (to save and bed the hot babe)
Contrary to popular belief, nobody owes you anything.
|
|
|
|
|
Mike Mullikin wrote: to save and bed the hot babe
Queue scene: Blofeld waving fist in the air - "Damn you Booond!"
|
|
|
|