Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
CITS1001: Object Oriented Programming and Software Engineering

CITS1001 2^5 (that is 32) Questions for the Week 3 Lab Class

This lab session comprises short programming exercises and questions tohelp you become familiar with Java declarations, assignment statements and expressions.

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 (rachel.cardell-oliver@uwa.edu.au). 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 welcome to browse both sites for extra problems, but note that the ones selected below have been chosen to best match the materialwe have covered so far in cits1001. Most of the CodingBat questions require knowledge of expressions (Tue lecture week 3).

    PracticeIT Coding and Self-Test Questions

  1. (Hint: Use the BlueJ terminal window to test expressions if you are not sure about anything)
  2. (Hint: you may wish to make use of the Java constant Math.PI)

    CodingBat Logic Exercises

  3. (Hint: needs if statements - see CodingBat hints)
  4. (Challenge: try doing this with a single return statement)