Computer Science 2208A/B Lecture Notes - Lecture 1: Hexadecimal, Octal
Document Summary
Converting values from one base system to another. Example: 2e816 = 8x160 + ex161 + 2x162. If decimal (eg. 0. 3618), converting it to a fraction may be easier. Add base 10 to answer for assignment. Example: 1410 to binary (binary is base 2) 0. 017578125*16 = 0. 28125 whole number: 0. 0. 28125*16 = 4. 5 whole number: 4. Truncation vs rounding - pay attention to questions. Converting from one base system to another base system (excluding decimal) 2*162 + e*161 + 8*160 //convert to decimal first.