Archive for the ‘ITSE2317’ Category

Chapter 6 Homework

Monday, April 3rd, 2006

Page 497, Problem #1

Page 497, Problem #3

Page 498, Problem #7

Semester Project

Wednesday, March 8th, 2006

Write a game to play poker with 2-4 players.

You can check out some basic rules for Texas Hold’ em.

Chapter 5: Assignments

Monday, February 27th, 2006

Page 413, Problem #6

Page 413, Problem #7

ITSE 2317 Source Code

Tuesday, February 21st, 2006

I’ve created an area for you to download the in class examples.

http://crmacd.biz/classes_code/itse2317/ 

Chapter 5.1: Assignment

Monday, February 13th, 2006

Page 412, Problem #1

Test 1: Review Code

Monday, February 6th, 2006

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:
return false;
}
}
return (sValue.length() == iLength);
}

Chapter 4.4: Assignment

Monday, January 30th, 2006

Page 312, Problem #8

Chapter 4.3 - Code Examples

Wednesday, January 25th, 2006

Today we reviewed over creating optimized code by utilizing code reuse where ever possible.

There were questions over the programming assignment. Page 311, Problem #5.

Chapter 4.2: Assignment

Monday, January 23rd, 2006

Page 311 Problem #5

Eclipse

Sunday, January 22nd, 2006

Download from http://www.eclipse.org/.

Install the application.

Run the application.

Select the workspace you would like to work in.

File -> New… -> Project…

Java Project

Next

Enter a project name.

Next

Finish

Right Click on the Project folder

New… -> Class

Enter the name of the class (java class)

Check the ‘public static void main(String [] arg)’ option if this is the main class.

Code away.


Bad Behavior has blocked 25 access attempts in the last 7 days.