{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Notes - 012308

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

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

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

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

View Full Document
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 Computer memory & why hexidecimal is better than Octal 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 Ratio – nal. Expressed as a ratio (or fraction) of two ints. Definition: A number that can be expressed as the ratio of two ints is a rational number. ______ Ex’s: Int numbers, 1/8 = .125 , 5/7 = .714285 Terminating fraction (i.e. 1/8) or repeating fraction (i.e. 5/7)
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern