## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

### Chapter 15

 1: Convert the following decimal values to binary:31359119 A1: 00000011000011010011101101110111 2: Convert the following binary values to decimal, octal, and hexadecimal:00010101010101010100110010011101 A2: 21, 025, 0x1585, 0125, 0x5576, 0114, 0x4C157, 0235, 0x9D 3: Evaluate the following expressions; assume each value is 8 bits:~33 & 63 | 61 | 63 ^ 67 >> 17 << 2 A3: 2522775328 4: Evaluate the following expressions; assume each value is 8 bits:~0!02 & 42 && 42 | 42 || 45 << 3 A4: 2551 (not false is true)01 (true and true is true)61 (true or true is true)40 5: Because the ASCII code uses only the final 7 bits, sometimes it is desirable to mask off the other bits. What's the appropriate mask in binary? In decimal? In octal? In hexadecimal? ...

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required