User talk:Dmclean

Requests
If you have something that you would like me to work on - please add it here. Dmclean 16:30, 31 January 2007 (UTC)
 * Hi, I was wondering if you had anyspare time, if you could take a look at all of the Java examples and such on Java_Objects_and_Classes. Nearly none of the example work when compiled and I wouldn't know where to start if I were to try to fix them. Thanks -- Koolaidman  Talk Contribs 01:26, 16 February 2007 (UTC)

IRC
Thanks for visiting the IRC channel. I had forgotten that I put the welcome template (above) on your page!

IM
I am having travel geting an AOL IM account established. For some reason it will not process my setup information at its security check. Can we proceed with a lesson plan on Junit here on wikimedia forum rather than instant messaging? Not as good at maintaining momentum and inspiration but perhaps worthwhile to reduce some persperation and lack of motivation on my part. 71.161.8.137 03:08, 14 February 2007 (UTC)

Proof Reading
dmclean - If you have some specific pages you would like proof read leave a link on my talk page and I will proof them. Mirwin 19:53, 27 February 2007 (UTC)
 * Donald, I looked over Intro to Programming. It looked pretty good to me.  I think we need some actual beginning students interested in learning the material to comment before you guys will be able to improve it much.  Mirwin 04:25, 6 March 2007 (UTC)

Request for help
Hi i wanted to know if you could help me with this lab i have to do... here is the info... Details Implement a combination lock class.

A combination lock has a dial with 26 positions labeled A..Z. The dial needs to be set three times. If it is set to the correct combination, the lock can be opened. When the lock is closed again, the combination can be entered again. If a user sets the dial more than three times, the last three settings determine whether the lock can be opened.

Support the following interface

/* Constructs a lock with a given combination. The state is initially closed (false) and the positions is (are?) an empty string (""). @param combination is a string with three uppercase letters A..Z public CombinationLock( String combination )

/* Set the dial to a position. See chart above for an example. @param position is a string consisting of a single uppercase letter A..Z public void setPosition(String aPosition)

/* Try unlocking the lock. If the lock is closed and the length of the positions is >= 3, test to see if the combination is equal to the last three positions. If they are equal, open the lock otherwise leave it unchanged. */ public void unlock

/* Check whether the lock is unlocked. @return true if the lock is currently open. */ public boolean isOpen

/* Close the lock and start over by setting the state and the positions to the empty string "" */ public void startOver

You will need the following instance fields.

private boolean myState;      // myState is true if the lock is open and // false otherwise private String myCombination; // A three character string // representing the combination private String myPositions;   // A string that represents the positions // set on the dial. This string can // be any length.

The CombinationLockTest  Class Instantiate a lock with the combination "ABC". Try opening the lock by using the setPosition method 3 times with the following sequence "A","B", "D". Try to unlock the lock using the unlock method. Make sure the lock did not open by printing the result of the isOpen method. If the lock is open starOver (Conditional statement) Try opening the lock by using the setPosition method 2 times with "A", "B". Try to unlock the lock using the unlock method. Make sure the lock did not open by printing the result of the isOpen method. If the lock is open startOver (Conditional statement) Try opening the lock by using the setPosition method 1 time with "C". Use unlock. Make sure the lock is open by printing the result of the isOpen method. If the lock is open startOver (Conditional statement). Make sure the lock did not open by printing the result of the isOpen method. Try opening the lock by using the setPosition method 4 times with the following "A", "A", "B", "C". Try to unlock the lock using the unlock method. Make sure the lock is open by printing the result of the isOpen method.

Web application
Hello Dmclean. I am not a computer programmer. I often think about software solutions to problems in my own field (business, finance), but do not know how to write an application. Where would you recommend to start from (wikiveristy pages, web sites, books, etc) if a) I don't want to become a full-time computer programmer, b) want to focus on web applications. I am not seeking a change in career but would like to add web programming knowledge and skills. Thank you!

Hass