EECS 1520 Lecture 4: Week-04.1
mahika.c06 and 40040 others unlocked
54
EECS 1520 Full Course Notes
Verified Note
54 documents
Document Summary
Use the definition of a number in a positional number system with base 2. 543210 position = corresponding power of 2. Binary number is developed right to left. 43 2 produces a quotient of 21, with a remainder of 1. 21 2 produces a quotient of 10, with a remainder of 1. 10 2 produces a quotient of 5, with a remainder of 0. 5 2 produces a quotient of 2, with a remainder of 1. 2 2 produces a quotient of 1, with a remainder of 0. 1 2 produces a quotient of 0, with a remainder of 1. Generalization: conversions between decimal and base b base b to decimal. Use the definition of a number in a positional number system with base b. Evaluate the definition formula using decimal arithmetic. Base b number is developed right to left. Group bits into threes, right to left. Convert each such group to an octal digit.