Tongfamily Website

Tips, Tricks and Traps from the Tong’s

Tongfamily Website header image 4

Gigabytes, terabytes and beyond….to Geopbytes

June 2nd, 2008 · No Comments · Geek

Megabytes, Gigabytes, Terabytes – What Are They?
· 1 Bit = Binary Digit
· 8 Bits = 1 Byte
· 1024 Bytes = 1 Kilobyte
· 1024 Kilobytes = 1 Megabyte
· 1024 Megabytes = 1 Gigabyte
· 1024 Gigabytes = 1 Terabyte
· 1024 Terabytes = 1 Petabyte
· 1024 Petabytes = 1 Exabyte – · 1024 Exabytes = 1 Zettabyte
· 1024 [...]

[Read more →]

Tags: ········

Rewriting the Anagram program

April 12th, 2008 · No Comments · Geek

As Calvin pointed out, its a pain to do the string length and other calculations, so I went back and rewrote the anagram calculation using the prime number trick. That is, assign a prime to each letter from ‘a’ to ‘z’, then you can easily tell if two words are anagrams by multiplying all the [...]

[Read more →]

Tags: ···············

Anagram Games

April 1st, 2008 · No Comments · Calvin

Found lots of anagram exercises on the web from Stanford and Duke in particular, but found one that is a simple game that is pretty easy to understand:

Devdaily. This one is a little complicated, but basically it shows you a scrambled word and you have to figure out how to unscramble and turn it into [...]

[Read more →]

Tags: ···············