This blog no longer exists.
You will be redirected to something cool.

Friday, November 30, 2012

The Course Schedule Program

My school lists the course schedule as pictured. The search functionality is deficient in that it offers little customization in the "advanced search." I would like to "pull" the entire schedule and do the following things to help me choose classes: 1.) Have an option to compare it to a list of classes I'm required to take, classes I HAVE...

Sunday, November 4, 2012

Checking for Primes

I'm writing a script that will check whether or not a number is prime and I'm having some issues on how to do this. If I take a number, lets say 100, and I want to check and see if it's prime I could do this: -Divide it by all numbers 2..99 to see whether or not 100 is divisible by them. If not, it passes (it's prime.) -Check whether it's divisible by 2. If so, it fails (composite.) If its not di visible, truncate the result of dividing by 2 and check all numbers 2..the_result of dividing by two. This would significantly reduce the pool of...

Page 1 of 2612345Next