Gazzie. An obsessed music freak. 18 years of age.^_^. Long brown/black hair. Easily entertained. Skinny. Loud. Acclaimed Prince Gaz by Arwen! Member of the Unfortunate Family Tree and Secret Keeper of it as well. Lives in America, unfortunately. Owner of an iPod Touch. Is glomped everday! Born into this [world] on 12/19/1989 as it seems it be, Sagittarius. Member of [Slytherin].
   

<< August 2009 >>
Sun Mon Tue Wed Thu Fri Sat
 01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31


If you want to be updated on this weblog Enter your email here:



rss feed



 
Monday, August 24, 2009
Computer Science Notes v.2
2^n  n is number of bits

5bits is 2^5=32

Hexadecimal means base 16

10 - A
11 - B
12 - C
13 - D
14 - E
15 - F

Convert a binary number to hexadecimal
1. Group your bits into groups of four
2. Covert each group to a Hexadecimal  value

             16^1= 16  16^0= 1    16x10 = 160 1x10= 10......160+10=170
10101010 = AA

8421     8421
1010     1010
   A           A


1000 1011 0111
8       11=B     7

Converting hexadecimal to binary

7E9
0111 1110 1001

135 convert to binary   135-128=7

128    64   32 16  8  4  2  1
 1          0    0   0   0  1  1  1

Convert 345 to decimal 345-256=...

256  128  64  32  16  8  4  2  1
1        0     1    0     1   1  0  0  1

convert 101011001

0001 0101 1001
1        5         9 = 159

1+1= 0 carry the 1 so it looks like 10
9+1=10

  111111
  1010111
+1001011
-------------
 10100010


1 1       1
1110011
+  11001
-----------
0101000

10001100 is the flippin answer... >_<

Great subtracting while fighting to stay awake... arghhhh caffeine gave up on me...

  12
0202
1010111
- 111011
------------
 0011100

**teacher and vest kid are discussing calculus....wtc....hahaha I wanna burst out into laughter...oh.how I want to...LOL! sooooo boring here and the a/c broke because of rain over the weekend.

**another discussion with vest kid and teacher...talking about encrypting email because of the Patriot Act. Vest kid says hey get a hotmail...lol

COBOL & BUG =made by this old lady from about 50 years ago

**teacher made a startrek reference...what am I getting into?


Posted at 09:36 am by lemony

 

Leave a Comment:

Name


Homepage (optional)


Comments




Previous Entry Home Next Entry