Monday, August 31, 2009

SyncDocs

I have tried this program called SyncDocs(http://syncdocs.sourceforge.net/). I downloaded the program off of SourceForge.net.The SyncDocs program is used to transfer one file or a group of files easily from one computer to another or used to transfer files onto an iPhone or iTouch. All you have to do is drag and drop all files that you want to transfer into a window, and when the other computer on the client side types in what file type they want to download, the files are transferred to the other computer.

I have used the three prime directives given by Philip Johnson to evaluate the program.

The most useful application is being able to transfer files to an iTouch or iPhone or another device with a different since the OS on these devices are different. So as long as they have java support, a person would be able to transfer the files from one device to the other.

This program was relatively easy to install. All you have to do is unzip and double click. If you ran into any problems, solutions were given on their webiste. They also have demos of how the application works for people who are visual learners. This makes the process of learning the program easy.

I have no idea how to develop this program yet. I don't know how to find the information to develop this program.

FizzBuzz Challenge!

This is my FizzBuzz program that I wrote. It took me about 10 minutes from opening java to write verify and implement the code. It was a little funny working on this program because I forgot about the system.out part before putting println. This annoyed me, since i wasted a couple of minutes wondering why it didn't work, but realized that mistake. But other than that small hickup, everything else went smoothly.

//This program Is the fizzbuzz program that prints the numbers
//from 1-100 And prints "fizz" In place of the number If the number Is a factor of 3 And
//prints "buzz" In place of the number If the number Is a factor of 5 And prints
//"fizzbuzz" In place of the number If the number Is a factor of both 3 And 5.
Public class FizzBuzz {
Public Static void main(String[] args){
//main Loop To go through all the numbers from 1-100
For(int i=1;i<=100;i++){
If(i%15 == 0){
//If a factor of both 3 And 5 Print fizzbuzz
System.out.println
("FizzBuzz");
}Else If(i%3 == 0){
//If a factor of 3 Print fizz
System.out.println
("Fizz");
}Else If(i%5 == 0){
//If a factor of 5 Print buzz
System.out.println
("Buzz");
}Else{
//If Not a factor of 3 Or 5, Print number
System.out.println
(i);
}
}
}
}