C++ Programming

cplusplus.com | Java Documentation | Site Stats
AP schedule | AP LogIn | AP Forms | AP Resources | AP Archive | AP Stuff
Java schedule | Java LogIn | Java Forms | Java Resources | Java Archive | Java Stuff
Adven schedule | Adven LogIn | Adven Forms | Adven Resources | Adven Archive | Adven Stuff
Stat schedule | Stat LogIn | Stat Forms | Stat Resources | Stat Archive | Stat Stuff

Java Schedule 1-11-10

Monday 1-11

Due midnight tonight - (from last week) Need the file to work at home? Download here.

Assignment 1 - counting the number of directories in the public drive.
Assignment 2 - counting the number of hidden files in public.
Assignment 3 - counting the number of files you own in the public drive.
Assignment 4 - counting the number of graphics in the public drive. There are several different types of graphics.

Tuesday

Identifying files and directories - Due midnight Wednesday

Part 1 - Output only the lines containing a file or directory in publicA.txt.

Part 2 - Count and output the lines containing a file or directory in publicA .txt.

Part 3 - Count and ONLY output the file or directory names in publicA.txt

Part 4 - Count and ONLY output the file names.

Wednesday

Name Class - copy the project from public kedigh java named StudentInformation.

private data

String fullName - the name the user enters.
String firstName - contains the first name, no spaces.
String middleName - contains the middle name (no spaces) or and empty string - " " .
String lastName - contains the last name, no spaces.

Constructor - String (Name) consisting of either a two names (first and last) or three names (first, middle, and last). The two names may be entered as "Larry Kedigh" or Kedigh, Larry". The three names may be entered as "Kedigh, Lawrence Michael" or Lawrence Michael Kedigh". A comma will be used when the last name is first. A space will appear between all names.

You will need methods to determine if you have two or three names (hasThreeNames) and if the last name is first (isLastFirst). These should be boolean methods.

The constructor will determine which format the name is in and extract the first, middle, and last names. If the name does not have a middle name, the middle name will be assigned an empty string.

Helper -

getInitials - returns the initials in standard format.
hasThreeNames - if this returns false we will assume a name consisting of a first and last name.
isLastFirst - if this return false we assume the last name is last.

Thursday

Due midnight tonight

submit isLastFirst
submit hasThreeNames
submit the constructor
submit getInitials - L.M.K or L.K.
submit toString - returns the name in the format last, first middle or last, first

Friday

Quiz part 1 - due EOC (small version of the file)
Quiz part 2 - due midnight Monday (small version of the file)

 

 

 

Last Week

Monday 1-4

Setup Primary and Secondary Computers.

Bookmark javadoc for the String Class

 

Tuesday

Reading files - instructions in class.

Implementing the String methods - counting

Resources

input files and project for downloading

Wednesday

Implementing the String methods - counting

Assignment 1 - counting the number of directories in the public drive.
Assignment 2 - counting the number of hidden files in public.
Assignment 3 - counting the number of files you own in the public drive.
Assignment 4 - counting the number of graphics in the public drive. There are several different types of graphics.

Thursday-NO School SNOW

Implementing the String methods - extracting and parsing

Friday-NO School SNOW

 

 

 

Updated: Friday, January 15, 2010 12:33 PM

About | Site Map | Contact | Search | ©2005 brentwoodhigh.com