Assignments for Programming by Doing

  Basics and Printing - 8 assignments, 38 points
1Basics and PrintingCompiler Check3 points
2Basics and PrintingCompiling Practice  - code provided3 points
3Basics and PrintingAn Important Message  - code provided5 points
4Basics and PrintingA Good First Program  - code providedby Zed Shaw4 points
5Basics and PrintingComments and Slashes  - code providedby Zed Shaw3 points
6Basics and PrintingA Letter to Yourself7 points
7Basics and PrintingYour Initials6 points
8Basics and PrintingNumbers and Math  - code providedby Zed Shaw7 points
  Variables - 5 assignments, 48 points
9VariablesVariables and Names  - code providedby Zed Shaw7 points
10VariablesMore Variables and Printing  - code providedby Zed Shaw7 points
11VariablesUsing Variables9 points
12VariablesStill Using Variables10 points
13VariablesYour Schedule15 points
  Keyboard Input - 7 assignments, 106 points
14Keyboard InputAsking Questions  - code providedby Zed Shaw10 points
15Keyboard InputThe Forgetful Machine12 points
16Keyboard InputName, Age, and Salary15 points
17Keyboard InputMore User Input of Data16 points
18Keyboard InputAge in Five Years18 points
19Keyboard InputA Dumb Calculator20 points
20Keyboard InputBMI Calculator15-28 points
  If Statements - 17 assignments, 505 points
21If StatementsWhat If  - code providedby Zed Shaw15 points
22If StatementsHow Old Are You?25 points
23If StatementsElse And If  - code providedby Zed Shaw20 points
24If StatementsWeekday Name  - code provided15 points
25If StatementsHow Old Are You, Specifically?20 points
26If StatementsSpace Boxing30 points
27If StatementsA Little Quiz40 points
28If StatementsModulus Animation  - code provided20 points
  GUIs - 3 assignments, 55 points
29GUIsUsing Swing for Input  - code provided25 points
30GUIsA Boring Window  - code provided10 points
31GUIsA Frame with a Panel with Writing on It  - code provided20 points
32If StatementsTwenty Questions... well, actually just Two35 points
33If StatementsChoose Your Own Short Adventure!60 points
34If StatementsAge Messages 325 points
35If StatementsTwo More Questions35 points
36If StatementsBMI Categories35-45 points
37If StatementsGender Game50 points
38If StatementscompareTo() Challenge35 points
39If StatementsAlphabetical Order30 points
40If StatementsThe Worst Number-Guessing Game Ever15 points
  Random Numbers - 8 assignments, 160 points
41Random NumbersRandomness  - code provided15 points
42Random NumbersMagic 8-Ball™  - code provided10 points
43Random NumbersA Number-Guessing Game20 points
44Random NumbersFortune Cookie15-25 points
45Random NumbersDice25 points
46Random NumbersOne Shot Hi-Lo35 points
47Random NumbersThree-Card Monte20 points
  While Loops - 12 assignments, 500 points
48While LoopsEnter Your PIN  - code provided15 points
49While LoopsKeep Guessing50 points
50While LoopsDice Doubles45 points
51While LoopsCounting with a While Loop  - code provided30 points
52While LoopsPIN Lockout  - code provided10 points
53While LoopsNumber-Guessing with a Counter40 points
54While LoopsHi-Lo with Limited Tries55 points
55While LoopsAdding Values in a Loop30 points
  Do-While Loops - 5 assignments, 130 points
56Do-While LoopsDo-While Swimming  - code provided15 points
57Do-While LoopsFlip Again?  - code provided20 points
58Do-While LoopsShorter Double Dice40 points
59Do-While LoopsAgain with the Number-Guessing35 points
60While LoopsSafe Square Root55 points
61While LoopsRight Triangle Checker65 points
62While LoopsCollatz Sequence30-60 points
63While LoopsShort Adventure 2: With a Loop75 points
  For Loops - 14 assignments, 335 points
64For LoopsCounting with a For Loop  - code provided10 points
65For LoopsTen Times15 points
66For LoopsCounting Machine20 points
67For LoopsCounting Machine Revisited25 points
68For LoopsCounting by Halves20 points
69For LoopsXs and Ys15 points
70For LoopsNoticing Even Numbers30 points
71For LoopsFizz Buzz40 points
72For LoopsLetter at a Time  - code provided20 points
73For LoopsFor Loop Challenge40 points
74For LoopsAdding Values with a For Loop30 points
75Random NumbersBaby Blackjack20 points
  Projects - 5 assignments, 860 points
76ProjectsProject: Blackjack80-200 points
  Graphics - 31 assignments, 1441 points
77GraphicsGraphics Demo 1: Basics  - code provided20 points
78GraphicsGraphics Demo 2: Arcs and Custom Colors  - code provided20 points
79GraphicsGraphics Demo 3: Fonts and Lines  - code provided15 points
80GraphicsA Circle20 points
81GraphicsA Smiling Face40 points
82GraphicsA Clock Face50-70 points
83GraphicsGraphing Lines  - code provided40 points
84GraphicsGraphing Parabolas  - code provided40 points
85GraphicsGraphics Demo 4: Polygons  - code provided40 points
86GraphicsDrawing a Boring Triangle30 points
87GraphicsDrawing Random Triangles60 points
88GraphicsDrawing Random Right Triangles80-140 points
89GraphicsSierpinski Triangle150 points
90GraphicsBoxy 1  - code provided50 points
91GraphicsBoxy 2  - code provided40 points
92GraphicsBoxy 3  - code provided60 points
93GraphicsSmiling Face Function  - code provided80 points
94GraphicsForest and Trees  - code provided150 points
95GraphicsImage Demo - Showing Images on the Screen  - code provided20 points
96GraphicsMotivational Poster50-80 points
  Functions - 21 assignments, 1255 points
97Functions[New!] Picture Menu  - code provided10 points
98FunctionsFlicker Phrase  - code provided15 points
99Functions[New!] Heron's Formula  - code provided15 points
100FunctionsDistance Formula  - code provided50 points
101FunctionsMonth Name60 points
102FunctionsMonth Offset60 points
103FunctionsWeekday Calculator90 points
104FunctionsArea Calculator110 points
105FunctionsFunction Call Alphabet90 points
106FunctionsFill-In Functions100 points
107FunctionsMore Fill-In Functions100 points
108FunctionsKeychains for Saleby Aaron Gadberry40 points
109FunctionsKeychains for Sale, for real this timeby Aaron Gadberry65 points
110FunctionsKeychains for Sale, real ultimate powerby Aaron Gadberry80 points
111FunctionsCalling Functions from Other Files40 points
112FunctionsEvenness Function60 points
113FunctionsFinding Prime Numbers85 points
114FunctionsDice with Functions50 points
115FunctionsHow Old Are You? with a Function, part 150 points
116FunctionsHow Old Are You? with a Function, part 260 points
117FunctionsA Lowercasing Display Function25 points
118Do-While LoopsBaby Calculator  - code provided20 points
119ProjectsProject: Calculator80-300 points
120For LoopsA Refresher20 points
121For LoopsRefresher Challenge20 points
122For LoopsDisplaying Some Multiples30 points
  Nested Loops - 9 assignments, 580 points
123Nested Loops[New!] Nesting Loops  - code provided20 points
124Nested Loops[New!] Odometer Loops  - code provided25 points
125Nested LoopsBasic Nested Loops50 points
126Nested LoopsMultiplication Table65 points
127Nested LoopsNumber Puzzle I60 points
128Nested LoopsGetting Individual Digits80 points
129Nested LoopsMore Number Puzzles100 points
130Nested LoopsNumber Puzzles III: Armstrong Numbers90 points
131Nested LoopsNumber Puzzles IV: A New Hope90 points
  File Input and Output - 10 assignments, 535 points
132File Input and OutputLetter Revisited40 points
133File Input and OutputHigh Score50 points
134File Input and OutputSimple File Input40 points
135File Input and OutputSumming Three Numbers from a File50 points
136File Input and OutputSumming Three Numbers from Any File65 points
137File Input and OutputDisplaying a File60 points
138File Input and OutputSumming Several Numbers from Any File60 points
139File Input and OutputSimple Web Input  - code provided15 points
140File Input and OutputA Little Puzzle75 points
141File Input and OutputVowel Capitalization80 points
  Arrays - 16 assignments, 1245 points
142ArraysBasic Arrays 020 points
143ArraysBasic Arrays 130 points
144ArraysBasic Arrays 240 points
145ArraysBasic Arrays 325 points
146ArraysCopying Arrays55 points
147ArraysGrades in an Array and a File90 points
148ArraysFinding a Value in an Array80 points
149ArraysHow Many Times?40 points
150ArraysIs It There or Not?85 points
151ArraysWhere Is It?90 points
152ArraysFinding the Largest Value in an Array100 points
153ArraysLocating the Largest Value in an Array110 points
154ArraysGiving an Array a Bunch of Values at Once  - code provided30 points
155ArraysParallel Arrays100 points
156ArraysTic-Tac-Toe  - code provided150 points
157ArraysHangman200 points
  Sorting - 11 assignments, 1000 points
158SortingMadLib Random  - code provided40 points
159SortingMovie Title Generator  - code provided40 points
160SortingPokéSwap  - code provided40 points
161SortingPokéTrader  - code provided30 points
162SortingPokéTrader 2  - code provided20 points
163SortingSorting an Array  - code provided100 points
164SortingExchange Sort  - code provided120 points
165SortingBubble Sort  - code provided130 points
166SortingSelection Sort  - code provided130 points
  Records - 11 assignments, 1070 points
167RecordsWeb Addresses  - code provided30 points
168RecordsWeb Addresses Array  - code provided10 points
169RecordsAddress toString()  - code provided20 points
170RecordsBasic Records80 points
171RecordsA Little Database100 points
172RecordsA Little Database is shorter with a loop100 points
173RecordsGetting Data from a File120 points
174RecordsGetting More Data from a File140 points
175RecordsStoring Data in a File150 points
176RecordsReading What You Wrote160 points
177RecordsSorting an Array of Records160 points
178SortingSorting Strings150 points
179SortingSorting Records on Two Fields200 points
  Objects - 1 assignment, 100 points
180ObjectsA Tic-Tac-Toe Class  - code provided100 points
  ArrayLists - 14 assignments, 1165 points
181ArrayListsBasic ArrayLists 020 points
182ArrayListsBasic ArrayLists 130 points
183ArrayListsBasic ArrayLists 240 points
184ArrayListsBasic ArrayLists 325 points
185ArrayListsCopying ArrayLists55 points
186ArrayListsFinding a Value in an ArrayList80 points
187ArrayListsArrayList - There or Not?85 points
188ArrayListsArrayList - Where Is It?90 points
189ArrayListsGetting the Largest Value in an ArrayList100 points
190ArrayListsLocating the Largest Value in an ArrayList110 points
191ArrayListsSorting an ArrayList120 points
192ArrayListsSorting an ArrayList of Strings150 points
193ArrayListsSorting Sentences100 points
194ArrayListsSorting an ArrayList of Records160 points
195ProjectsProject: Address Book200-400 points
196ProjectsProject: Hearts300-500 points
  Project Euler - 20 assignments, 1715 points
197Project EulerProject Euler 001 - Sum Multiples of 3 or 520 points
198Project EulerProject Euler 002 - Sum Even Fibonacci Numbers40 points
199Project EulerProject Euler 003 - Largest Prime Factor of Big Number60 points
200Project EulerProject Euler 004 - Largest Palindromic Product70 points
201Project EulerProject Euler 005 - Smallest Divisible by 1-2050 points
202Project EulerProject Euler 006 - Sums of Squares Minus Squares of Sums50 points
203Project EulerProject Euler 007 - The 10001st Prime80 points
204Project EulerProject Euler 008 - Largest Product of Consecutive Digits100 points
205Project EulerProject Euler 009 - Pythagorean Triplet75 points
206Project EulerProject Euler 010 - Sum of Primes Under Two Million100 points
207Project EulerProject Euler 011 - Largest Product of 4 Numbers in Grid160 points
208Project EulerProject Euler 012 - First Triangle Number w/501 Divisors160 points
209Project EulerProject Euler 013 - Sum 100 Fifty-Digit Numbers80 points
210Project EulerProject Euler 014 - Longest Collatz Sequence150 points
211Project EulerProject Euler 015 - Routes Through a 20x20 Grid100 points
212Project EulerProject Euler 016 - Sum of the Digits of 2^100050 points
213Project EulerProject Euler 017 - Letters in One to One Thousand110 points
214Project EulerProject Euler 018 - Maximum Sum Path through Triangle160 points
215Project EulerProject Euler 019 - Sundays on the 1st of the Month50 points
216Project EulerProject Euler 020 - Sum of the Digits of 100!50 points
217GraphicsMouse Demo  - code provided20 points
218GraphicsTraffic Light - Drawing Shapes and Clicking Them  - code provided40 points
219GraphicsShapes Demo - Easily Drawing and Transforming Shapes  - code provided1 points
220GraphicsLast Clicked - Drawing Boxes Where You Clicked  - code provided1 points
221GraphicsNo Erasey - Making Stuff Stay on the Screen  - code provided1 points
222GraphicsDrag Location - Getting Drags instead of Clicks  - code provided1 points
223GraphicsDrawing Layers  - code provided1 points
224GraphicsEtch-A-Sketch  - code provided20 points
225GraphicsBouncing Ball  - code provided1 points
226GraphicsPong  - code provided100 points
227GraphicsReversi  - code provided200 points
228ProjectsProject: Paint200-500 points