Java程序辅导

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

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
CS 152 Computer Programming Fundamentals
Lab 4: Welcome to Methods
Spring 2017
1 Assignment Description
I have provided you with some starter code in a file named MethodPractice.java. Place this
file in your project in Eclipse and you use it as a starting point. Using this code, complete all
the methods as written in the descriptions provided. There are eight methods which must
be written.
The program will test your methods and assign a completeness score when run out of 30.
Submitting code that compiles, and produces a score of 30/30 is expected.
2 Turning in your assignment
Submit your MethodPractice.java file to the Lab 4 assignment in UNM Learn. Do not
attach .class files or any other files.
3 Grading Rubric (total of 20 points)
[-5 points]: File submitted to Learn was not named MethodPractice.java
[-5 points]: The code compiled with errors or warnings.
[5 points]: The code adheres to the coding standard specified on the course website.
[15 points]: Passes 30 tests (0.5 points per test).
You will not recieve full credit for a method if you merely hard code
the test case output rather than correctly implementing the described
behaviour.
1