### 5.3.2 Module Quiz – Number Systems Answers

**1. What is the decimal equivalent of 0xC9?**

**Explanation:** 0x refers to the item as hexadecimal. Convert each character into its corresponding nibble. Then combine the nibbles together and calculate the resulting decimal equivalent. C has a value of 12. 12 x 16 = 192. 192 + 9 = 201.

**2. Which is a valid hexadecimal number?**

**Explanation:** The hexadecimal numbers are 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f.. The hexadecimal number 0 represents 0 in decimal and is represented as 0000 in binary. The hexadecimal number f represents 15 in decimal.

**3. What is the binary representation of 0xCA?**

- 10111010
- 11010101
**11001010**
- 11011010

**Explanation:** When converted, CA in hex is equivalent to 11011010 in binary. One way to do the conversion is one nibble at a time, C = 1100 and A = 1010. Combine the two nibbles gives 11001010.

**4. How many bits are in an IPv4 address?**

**Explanation:** An IPv4 address is comprised of 4 octets of binary digits, each containing 8 bits, resulting in a 32-bit address.

**5. Which two statements are correct about IPv4 and IPv6 addresses? (Choose two.)**

**IPv6 addresses are represented by hexadecimal numbers.**
- IPv4 addresses are represented by hexadecimal numbers.
- IPv6 addresses are 32 bits in length.
**IPv4 addresses are 32 bits in length.**
- IPv4 addresses are 128 bits in length.
- IPv6 addresses are 64 bits in length.

**Explanation:** IPv4 addresses are represented as dotted decimal numbers and are 32 bits in length. IPv6 addresses are represented by hexadecimal numbers and are 128 bits in length.

**6. Which IPv4 address format was created for ease of use by people and is expressed as 201.192.1.14?**

- binary
**dotted decimal**
- hexadecimal
- ASCII

**Explanation:** For ease of use by people, binary patterns are represented as dotted decimal. Computer systems were created to understand binary addressing.

**7. What is the dotted decimal representation of the IPv4 address 11001011.00000000.01110001.11010011?**

- 192.0.0.199
- 198.51.100.201
**203.0.113.211**
- 209.165.201.223

**Explanation:** Each section (octet) contains eight binary digits. Each digit represents a specific value (128, 64, 32, 16, 8, 4, 2, and 1). Everywhere there is a 1, the specific value is relevant. Add all relevant values in a particular octet to obtain the decimal value. For example binary 11001011 equals 203 in decimal.

**8. What is the decimal equivalent of the binary number 10010101?**

**Explanation:** Binary 10010101 maps to 149 in decimal. 128+16+4+1 = 149

**9. What is the decimal equivalent of the hex number 0x3F?**

**Explanation:**

Hex 0x3F is 63 in decimal.

(3*16)+(15*1) = 63

**10. What is the dotted decimal representation of the IPv4 address which is represented as the binary string 00001010.01100100.00010101.00000001?**

**10.100.21.1**
- 10.10.20.1
- 100.10.11.1
- 100.21.10.1

**Explanation:** Converting the binary string of 00001010.01100100.00010101.00000001 to dotted decimal gives 10.100.21.1

**11. What is the binary representation for the decimal number 173?**

- 10100111
- 10100101
**10101101 **
- 10110101

**Explanation:** decimal 173 = 128 + 0 + 32 + 0 + 8 + 4 + 0 + 1

**12. Given the binary address of 11101100 00010001 00001100 00001010, which address does this represent in dotted decimal format?**

- 234.17.10.9
- 234.16.12.10
- 236.17.12.6
**236.17.12.10**

**Explanation:** The binary number 11101100 00010001 00001100 00001010 translates to 236.17.12.10.

**13. How many binary bits exist within an IPv6 address?**

**Explanation:** IPv4 addressing space is exhausted by the rapid growth of the Internet and the devices connected to the Internet. IPv6 expands the IP addressing space by increasing the address length from 32 bits to 128 bits.

**14. What is the binary equivalent of the decimal number 232?**

**11101000**
- 11000110
- 10011000
- 11110010

**Explanation:** 232 in binary is 11101000. 128+64+32+8 = 232

Than you very much