This week, you will use the website CodingBat to learn Java syntax and structure.
As you work with partners today, be sure that you:
Go to CodingBat and click on “create account” in the top right. Use one of your Hendrix emails as your account id, and choose a password.
Once you are logged in, click on “prefs” in the top right. In the box at the bottom labelled “Share To”, fill in the Hendrix email address of your lab instructor (ferrer@hendrix.edu), then click “Share”. This will allow your instructor to see your progress.
ferrer@hendrix.edu
Fill all of your names in the Memo section.
Click on Warmup-1 in the Java section of CodingBat. Click on sleep_in. Read the description of the desired function behavior, and fill in a suitable function definition.
Once you have filled in a definition for the function, click “Go”. CodingBat will automatically run your function on a number of test inputs and check whether it has the required behavior. If your function passes all the tests, you will get a big green check mark, and you can move on to the next problem. Otherwise, the failing tests will be highlighted in red; fix your function and try again.
Work with your partners to complete the problems described below in the grading section.
The goal of this lab is for you to get repeated practice writing small programs in Java. You must write the solutions with your partners and work together. You may ask the instructors, teaching assistants, and other students for advice, but remember that
Share your account with your lab instructor as described in Step 2 above, so your instructor will be able to see your progress.
Write a one-paragraph reflection on your comfort level programming in Java after completing this lab, and discuss your experience of the process of repeatedly writing small programs and making mistakes.
Your Progress Graph is the checklist for this lab. Meet with one of your professors to review your progress graph and your reflection paragraph.