Showing posts with label deliverables. Show all posts
Showing posts with label deliverables. Show all posts

Monday, December 5, 2011

Lab 11 - FileIO

As one of the requirements to earn a B- or higher,
you must complete exercise 8.22 (6th ed, p300) / 8.19 (7th ed, p299) /
9.19 (8th ed, p339).

The class name must be FileIO and it may execute either as a GUI application or as a command line application.

Tuesday, November 29, 2011

Homework 12 - PwdValidator.java

You are to complete exercise 9.3, p336.

The class name must be PwdValidator and it must execute as a GUI application. You must use regular expressions and the matches method from the String class to complete this assignment.

Tuesday, November 22, 2011

Homework 11 - Cube.java, CubeTest.java

You are to create a class Cube.

Cube contains:

Homework 10 - FlatStanley.java

You are to create a console application called FlatStanley which represents virtual rectangles.

FlatStanleycontains:

Lab 12 - Account.java, TestAccount.java

As one of the requirements to earn an A- or higher in this class, you must complete exercise 7.3 (6th ed, p256; 7th ed, p260) / 8.7 (8th ed, p297).

The primary class name must be Account, the driver class must be TestAccount, and it must execute as a command line application.

Lab 9 - Gregor.java

You are to complete exercise 7.5
(6th ed, p257; 7th ed, p261) /
8.5 (8th ed, p296).

The class name must be Gregor and your program must use methods from the GregorianCalendar class. You may write it as a command line or as a GUI application.

Tuesday, November 8, 2011

Lab 10 - WeeklyHours

As one of the requirements to earn a B- or higher,
you must complete exercise 6.23 (6th ed, p207; 7th ed, p224) /
7.4 (8th ed, p252).

The class name must be WeeklyHours and it must execute as a command line application. This assignment requires that you use multi-dimensional arrays, specifically, you'll need an 8 x 7 array to hold the following data:

Homework 9 - AveragingArrays.java

You are to complete exercise 6.8, p228.

The class name must be AveragingArrays. You must write it as a command line application.

Lab 8 - ReverseArray.java

You are to complete exercise 6.13
(6th ed, p205) / 6.12 (7th ed, p223) / 6.12 (8th ed, p229).

The class name must be ReverseArray and it must execute as a command line application.

Tuesday, November 1, 2011

Lab 7 - CountingDigits.java

You are to complete exercise 6.7
(6th ed, p205; 7th ed, p222; 8th ed, p228).

The class name must be CountingDigits. You must write it as a command line application.

Wednesday, October 26, 2011

Lab 4 - RateComparison.java - revisited

Screenshots from last night's implementation of RateComparison.java using methods. Note that this was a bit of quick and dirty work on the fly. A more complete and comprehensive treatment would have do while loops to control error handling on the user input etc.

Tuesday, October 25, 2011

Homework 8 - GSCookieOrders.java

Girl Scouts sell their signature cookies once a year. Each scout receives an order form and badgers everyone they know sells cookies. When order forms are collected by the Cookie Coordinator, she adds up all the individual box counts and places the troop order with the local council. The council only sells full cases of cookies so the Cookie Coordinator must round up the order if the troop has not sold an exact order of cases.

Lab 6 - TimeConversion.java

You are to complete exercise 5.25
(6th ed, p167; 7th ed, p176; 8th ed, p193).

The class name must be TimeConversion. You may write it as a command line or as a GUI application.

Lab 5 - FutureValue.java

You are to complete exercise 5.7
(6th ed, p163; 7th ed, p172; 8th ed, p189).

The class name must be FutureValue and it must execute as a command line application.

Tuesday, October 11, 2011

Homework 7 - SimplePrintMatrix.java

You are to write a program which is a modification on exercise 5.17, p 192. You will be writing a method to print a square matrix of randomly generated 1s and 0s, per the instructions in exercise 5.17. In addition, you will need to request and to accept the size of the matrix from the user.

The class name must be SimplePrintMatrix and it must be written as a console application.

Lab 4 - RateComparison.java

You are to complete exercise 4.21
(6th ed, p125; 7th ed, p135; 8th ed, p149).

The class name must be RateComparison and it must execute as a command line application.

Tuesday, October 4, 2011

Homework 6 - SmallestNSquared.java

You are to complete exercise 4.12, p 148.

You'll be finding the smallest integer such that its square is strictly greater than 1994. You must provide proof that your calculation is correct. The class name must be SmallestNSquared and it must be written as a console application.

Homework 5 - FootedBmiGUI.java

You are to complete exercise 3.6, p 107, modifying the program in listing 3.5 on pages 84 and 85.

The class name must be FootedBmiGUI and it must be written as a GUI application. Instead of using pure numbers in your code, you must declare appropriately named constants. Follow the example in Building a tidy string to format your output nicely.

Tuesday, September 27, 2011

Lab 3 - DaysInMonth.java

You are to complete exercise 3.11
(6th ed, p94; 7th ed, p100; 8th ed, p108).

The class name must be DaysInMonth and it must be written as a GUI application.

Homework 4 - QuadraticEquation.java

You are to complete exercise 3.1, p 106

The class name must be QuadraticEquation and it must be written as a console application. You must use the Math.sqrt method, not the Math.pow method.