Education in Programming David Gries Dr. rer ... - Cornell University
Education in Programming David Gries Dr. rer ... - Cornell University
Education in Programming David Gries Dr. rer ... - Cornell University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Pedagogy<br />
How to teach programm<strong>in</strong>g, us<strong>in</strong>g Java<br />
an objected-oriented language<br />
1. On first assignments, require mastery. Everyone gets 100/100<br />
• No proper specs on methods? Fix/resubmit<br />
• No suitable class <strong>in</strong>variant? Fix/resubmit<br />
• Test cases not satisfactory? Fix/resubmit<br />
• Bug? F<strong>in</strong>d it, fix/resubmit<br />
Allows beg<strong>in</strong>n<strong>in</strong>g students to make mistakes, usually based on<br />
misunderstand<strong>in</strong>g, without harm<strong>in</strong>g their grade.<br />
Allows students who th<strong>in</strong>k they already know how to program to<br />
overcome bad habits.<br />
2. Give each student at least one 1/2 hour one-on-one session with<br />
<strong>in</strong>structor, TA, or senior-level consultant.<br />
The only way to teach good programm<strong>in</strong>g practices and give the<br />
students an idea of program development.<br />
13<br />
13