Monthly Archives: February 2006

Chapter 5: Assignments

Page 413, Problem #6 Page 413, Problem #7

Posted in Assignments, Homework, ITSE2317 | Comments Off

ITSE 2317 Source Code

I’ve created an area for you to download the in class examples. http://crmacd.biz/classes_code/itse2317/¬†

Posted in Code Examples, ITSE2317 | Comments Off

Chapter 5.1: Assignment

Page 412, Problem #1

Posted in Assignments, Homework, ITSE2317 | Comments Off

Test 1: Review Code

public boolean isValidPhone(String sAreaCode, String sPrefix, String sSuffix) { return this.isValidPhonePart(sAreaCode,3) && this.isValidPhonePart(sSuffix,4); } public boolean isValidPhonePart(String sValue, int iLength) { for(int iCounter = 0; iCounter < sValue.length(); iCounter++) { switch(sValue.charAt(iCounter)) { case ’0′: case ’1′: case ’2′: break; default: … Continue reading

Posted in Code Examples, ITSE2317 | Comments Off