Notes - 012308 - Converting bases Octal to Decimal:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Converting bases Octal to Decimal: Increasing powersof base while working from right -> left 755 base8 = ? base10 Uses digits 0-7. Valid : 7 5 5 = 7*64 + 5*8 + 5*1 = 493 base10 : 64 8 1 8^ : 2 1 0 Octal to Binary: 8 = 2^3 = groups of 3. Convert digits to bit, bit to digits. 755base8 = ? base2 = 111 101 101 base2 7 base 8 = 111 base2 5 base 8 = 101 base2 UNIX / Linux File Premissions Chmod 644 file changemode (permissions on linux) / | \ 644 = octal number r w _ r _ _ r _ _ First bit is readable Second bit is writable Third bit is runnable Hexadecimal Base 16 0-9, A-F Each position is valued with increasing powers of 16
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A = 10, B = 11, C = 12, D = 13, E = 14, F = 15 Hex conversion 32CB 16 = 3*(16 3 ) + 2 * (16 2 ) + 12 * 16 1 )+ 11 *(16 0 ) = 13003 10 1 byte = 8 bits. = 2 nybbles ½ bite = 1 nybble (_ _) (_ _ _) (_ _ _) OCTAL (_ _ _ _) (_ _ _ _) Hex 2 digits in Hex as opposed to 3 in octal or 8 in bits. Rational and Irrational numbers
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/02/2008 for the course C SC 245 taught by Professor Mccann during the Spring '08 term at University of Arizona- Tucson.

Page1 / 4

Notes - 012308 - Converting bases Octal to Decimal:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online