Tuesday, May 13, 2008

Assignment #2 continued...

Q: #5
For the ternary inputs we need five basic binary operators. NOT, AND, OR, IMPL and Equivalence. In the binary inputs we can get equivalence with the help of four operators. But we can’t get in case of ternary.
Also check http://www.fw.uri.br/~arpasi/artigos/ternary.pdf

Q: #7
D = death
P = poison
B = Blood chemistry
S = poison in stomach
M = Puncture marks on the body
D IFF B OR S
P IMP D AND M
NOT (B XOR S) AND M

B) Orders of magnitude
1) A commodore computer had memory 64 K B . how many times more in 1GB.
1 KB = 1024 bytes = 2^10 bytes
1GB = 2 ^30 bytes
Today’s computer of 1GB is 16384 more powerful than 64K commodore computer.
2) A doubled sided floppy disc memory is 800KB and storage of DVD is 4.7 GB
4.7 * 2^ 30 / 800* 2^10 = 6160
Approximately 6160 floppy disks can be stored in 4.7 GB DVD

3)The clock rate of first microcomputer processor was approximately 108kHZ but todays pentium iv is running with a speed of 2.5GHz.These are almost 12833 mip more faster than the first generation microcomputer.
http://www.trillian.randomstuff.org

No comments: