This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: have the same value in decimal? Please show your workout. a) (12011) 3 b) (3312) 4 c) (2022) 5 d) (2 A 7) 11 e) (19 A ) 12 f) ( AB 9) 16 Exercise 6-6 Convert the following numbers from binary to decimal: a) (1001001 . 011) 2 b) (101111 . 0111) 2 c) (0 . 1110100) 2 Exercise 6-7 Converting a decimal integer to its binary equivalent can be performed by repeatedly dividing the decimal number by 2. Division by 2 will either give a remainder of 1 (dividing an odd number) or no remainder (dividing an even number). Collecting the remainders (starting by the last one) from the repeated divisions gives the binary answer. Express this algorithm using a pseudo-code. 2...
View Full Document
- Spring '09
- Binary numeral system, Decimal, Elementary arithmetic, Numeral system