Click here to Skip to main content
15,904,497 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Teaching programming... Pin
Codeman the Barbarian25-Sep-15 3:48
Codeman the Barbarian25-Sep-15 3:48 
GeneralRe: Teaching programming... Pin
User 1013254625-Sep-15 4:18
User 1013254625-Sep-15 4:18 
GeneralRe: Teaching programming... Pin
Codeman the Barbarian25-Sep-15 4:52
Codeman the Barbarian25-Sep-15 4:52 
GeneralRe: Teaching programming... Pin
User 1013254625-Sep-15 4:56
User 1013254625-Sep-15 4:56 
GeneralRe: Teaching programming... Pin
RJOberg25-Sep-15 2:53
professionalRJOberg25-Sep-15 2:53 
GeneralRe: Teaching programming... Pin
charlieg25-Sep-15 3:25
charlieg25-Sep-15 3:25 
GeneralRe: Teaching programming... Pin
Hooga Booga25-Sep-15 3:02
Hooga Booga25-Sep-15 3:02 
GeneralRe: Teaching programming... Pin
patbob25-Sep-15 5:48
patbob25-Sep-15 5:48 
charlieg wrote:
Ideas for first project?

Whatever gets him fired up enough to stick with climbing the programming learning curve long enough to start to do interesting things. I usually suggest games based on my experience, but whatever works.

When I used to teach Java to HS students, the very first in-class lab was to compile a provided program. The program we provided was "wumpus". It was a very simple text game -- we told the user to enter a number between 1 and 10 to indicate which room they want to look for the wumpus in, we read that number, then compared it to a hardcoded answer. If they picked the right number, we printed out that they found the wumpus, if they didn't, we printed out that they didn't find the wumpus. End of program. We gave them 30 minutes to do the lab, and by the end of it we had them hooked -- we usually had all 20 students asking us how to extend it, each in their own unique way.

We used that program to introduce variables, boolean expressions and if statements, loops, user input, etc. Each lesson had an in-class lab, and most of the students immediately returned to that original wumpus game code to add some new feature, often based on what they'd just learned.

So yeah, whatever fires him up enough to hook him. I'd suggest you start simple like our wumpus game did -- maybe give him a program that asks whether the robot should move forward straight, forward left, or forward right, then moves it. Then start helping him extend it to do more interesting things with the robot.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: Teaching programming... Pin
Ken Utting25-Sep-15 8:26
Ken Utting25-Sep-15 8:26 
GeneralRe: Teaching programming... Pin
Dan Sutton28-Sep-15 6:23
Dan Sutton28-Sep-15 6:23 
GeneralQuandary of the day Pin
Mike Hankey24-Sep-15 10:58
mveMike Hankey24-Sep-15 10:58 
GeneralRe: Quandary of the day Pin
R. Giskard Reventlov24-Sep-15 11:03
R. Giskard Reventlov24-Sep-15 11:03 
GeneralRe: Quandary of the day Pin
Mike Hankey24-Sep-15 11:06
mveMike Hankey24-Sep-15 11:06 
JokeRe: Quandary of the day Pin
Cornelius Henning24-Sep-15 11:32
professionalCornelius Henning24-Sep-15 11:32 
GeneralRe: Quandary of the day Pin
Mike Hankey24-Sep-15 13:25
mveMike Hankey24-Sep-15 13:25 
GeneralRe: Quandary of the day Pin
Cornelius Henning24-Sep-15 14:19
professionalCornelius Henning24-Sep-15 14:19 
GeneralRe: Quandary of the day Pin
charlieg24-Sep-15 14:30
charlieg24-Sep-15 14:30 
GeneralRe: Quandary of the day Pin
Mike Hankey24-Sep-15 14:34
mveMike Hankey24-Sep-15 14:34 
GeneralRe: Quandary of the day Pin
Member 1103480625-Sep-15 2:29
Member 1103480625-Sep-15 2:29 
GeneralRe: Quandary of the day Pin
CPallini24-Sep-15 22:46
mveCPallini24-Sep-15 22:46 
Generalwww datatypes Pin
codejet24-Sep-15 8:22
codejet24-Sep-15 8:22 
GeneralRe: www datatypes PinPopular
Dave Kreskowiak24-Sep-15 8:40
mveDave Kreskowiak24-Sep-15 8:40 
GeneralRe: www datatypes Pin
peterchen24-Sep-15 21:09
peterchen24-Sep-15 21:09 
GeneralRe: www datatypes Pin
Marco Bertschi25-Sep-15 1:11
protectorMarco Bertschi25-Sep-15 1:11 
GeneralRe: www datatypes Pin
peterchen27-Sep-15 21:30
peterchen27-Sep-15 21:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.