Monday, February 26, 2007

binary and decimal conversion

110010101 in binary to decimal form...


Conversion

Powers of 2: 9 8 7 6 5 4 3 2 1
What they = 512 256 128 64 32 16 8 4 1
1 1 0 0 1 0 1 0 1

512 + 256 + 0 + 0 + 32 + 0 + 8 + 0 + 1= 809 in decimal


Now decimal # 529 to binary

Powers of 2: 9 8 7 6 5 4 3 2 1
What they = 512 256 128 64 32 16 8 4 1
512 go in: 1 now its 17 1 now its 1 1 so all the blanks fill in 0's 1 0 0 0 0 1 0 0 1
100001001 is 529 in binary code.




positional and non-positional number system


A positional number system is the decimal number system it maters where each number is located
A non-positional number system is roman numerals or tallies.


I saved this as a Draft at first I hope this doesn't affect anything.

Friday, February 16, 2007

internet adapts to us. Example when you search something on google it already has a list of possible things that you have searched in the past searches that may simplify and help you find what you're looking for. Iit is interesting that we have stated to give computers AI just alittle but we did.

lab 5 unix

1. cd - changes directiory for locating files (clicking a folder in explorer)

2. pwd - tells you what directory you are currently in (look at the addreess in explorer)

3. mkdir - makes a new directory (File:New:Folder)

4. ls - lists everything in the current directory (Clicking a folder to view contents