Reference Sheet
We’ve prepared a Java/Python comparison sheet which might help with the exercises in this primer.
Practice-It
Practice-It is a free tool from University of Washington which you can use to solve Java problems in the browser. To complete these exercises, simply make an account and start typing.
Reading and Writing a Java Class
- https://practiceit.cs.washington.edu/problem/view/3571?categoryid=301
- https://practiceit.cs.washington.edu/problem/view/bjp5/chapter1/e7-Mantra
- https://practiceit.cs.washington.edu/problem/view/3581?categoryid=301
For Loops
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter2/e4-starSquare
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter2/e5-starTriangle
Conditionals
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter4/e20-numUnique
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter4/e21-perfectNumbers
Scanners
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter4/s13-colors
- https://practiceit.cs.washington.edu/problem/view/bjp3/chapter3/s25-SumNumbers
While Loops and Booleans
- https://practiceit.cs.washington.edu/problem/view/cs1/sections/section5/rollSix
- https://practiceit.cs.washington.edu/problem/view/3812?categoryid=302