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.

Monday, November 28, 2011

Reading assignment - chapter 9

Read chapter 9, Strings and Text I/O.

Due Date
Tuesday, December 6th, 7:00pm

Wednesday, November 23, 2011

Connectivity

As of dinner time last night, Internet access was restored to the Lincroft campus. The IT staff continues to monitor the situation any signs of instability or trouble and Brookdale email seems to be working just fine now.

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.

Monday, November 21, 2011

Reading assignment - chapter 8

Read chapter 8, Objects and Classes.

Due Date
Tuesday, November 22nd, 7:00pm

Sunday, November 20, 2011

Exam #2 results

For those who came to class and took the second exam, the tests are graded and the class average was 93.5% and one student had a perfect score. These scores are significantly improved over the first exam - well done!

Since only half the class has taken the exam, I am not going to post solutions yet.

Grade distribution follows:

Monday, November 14, 2011

WebAdvisor - final interval

Today is the end of the final WebAdvisor monitoring interval. Students with attendance issues, poor homework performance, and/or missing assignments should take this warning very seriously.

Sunday, November 13, 2011

Exam #2 this week

Quick reminder that you that you have an exam Tuesday night. Please be on time. You will be taking the written portion of the exam closed book. For the programming part of the test, you may use your textbook as a reference but you may not bring pre-completed code with you. Practice today and tomorrow for the test by working on the exercises at the ends of the chapters and in the exam prep blog posts.

Your exam will likely contain

Tuesday, November 8, 2011

Exam #2 programming problems

I strongly suggest that each student develop a Java solution to the following problems in preparation for the coding portion of the first exam. While I do not promise that the practical part of the exam will be *exactly* the same as any one of these problems, the actual test question will at least be very similar to several of these practice problems. More than likely, there will be five program options on the test and you'll need to complete four of the five.

Exam #2 preparation

Your second exam, on chapters 5 through 7 of the textbook, is scheduled in class for one week from today. The format will be similar to the previous test.

Topics covered include:

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.

Saturday, November 5, 2011

Register for classes

Priority registration is underway! In order to give yourself the best chance of getting all of the classes you need as well as the days and class meeting times you prefer, you should register early.

Tuition payments are not due until January 5th.

Friday, November 4, 2011

Jason and the for loop

You should've written it in Java, Jason

No doubt the teacher noticed that his for loop printed all of the output on a single line. Yeah, that's why she looks so unimpressed.

Wednesday, November 2, 2011

Why did the programmer die in the shower?

Sorting

Sorting algorithms can be implemented in almost any programming language but have you ever considered that they could be implemented in folk dance?

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.