CITS1001 Questions for the Week 9 Lab Class (and the study break)

This lab session comprises short programming exercises and questions to help you become familiar with Java loops and more Library classes.

You will need to sign up for accounts in PracticeIT and CodingBat to access these questions. Once you create an account, you can come back to the server another time and your code, and you checkmarks, etc. will be saved. You can do everything on the server without an account, but your work will be forgotten when your session ends after 2 hours without activity. Visit these web sites to set up your accounts.

There is no cssubmit submission for this lab. Instead, please share to your CodingBat account with my teachers account: Use the Teacher Share section in your preferences to enter the CodingBat account email address of your teacher ([email protected]). Also in your preferences, you can enter your name. This helps the teacher read the done statistics more easily than just seeing email addresses. Complete the selected problems from the list below. Notice that CodingBat has several help videos available.

To use Practice-It, first create an account, then choose problems from the list below. Type a solution and submit it to the server. The system will test it and tell you whether your solution is correct. You can view our list of problems without logging in, but to submit a solution for a problem or to track your progress, you must create an account and log in. You are encouraged to browse both sites for extra problems, but note that the ones selected below have been chosen to best match the material we have covered so far in cits1001.

    PracticeIT Coding and Self-Test Questions

  1. BJP3 Self-Check 2.18: Count2
  2. BJP3 Self-Check 2.20: completeLoop
  3. BJP3 Self-Check 2.31: Count with Errors
  4. BJP3 Exercise 5.1: showTwos
  5. BJP3 Exercise 5.3: toBinary
  6. BJP3 Self-Check 5.20: whileLoopMystery3
  7. BJP3 Self-Check 10.8: maxLength
  8. BJP3 Exercise 10.3: removeEvenLength
  9. removeDuplicates

    CodingBat Logic Exercises

  10. doubleChar
  11. countHi
  12. bobThere
  13. countYZ
  14. mirrorEnds