Khác biệt giữa các bản “Thành viên:Nhiêu Lộc/Sandbox”

Bước tới điều hướng Bước tới tìm kiếm
_________________________________________________________________________ <br>
 
===continued…===
11. Convert the following hex number to binary: 42 <p>
First, convert the hex number to decimal. We know "42" in hex means we have four units of 16 and two units of 1. Since 64 + 2 = 66, we have our decimal. <p>
Now we've got to convert that decimal into binary. Here's our chart showing how to convert the decimal 66 into binary: <p>
{| border="1"
| || 128 || 64 || 32 || 16 || 8 || 4 || 2 || 1
|- || || || || || || || ||
| 66 || 0 || 1 || 0 || 0 || 0 || 0 || 1 || 0
|}
The correct answer: 01000010 <p>
_________________________________________________________________________ <br>
12. Convert the following hex number to binary: 12 <p>
First, convert the hex number to decimal. The hex number "12" indicates one unit of sixteen and two units of one; in decimal, this is 18. <p>
Now to convert that decimal into binary. Use the same chart we used in Question 11: <p>
{| border="1"
| || 128 || 64 || 32 || 16 || 8 || 4 || 2 || 1
|- || || || || || || || ||
| 18 || 0 || 0 || 0 || 1 || 0 || 0 || 1 || 0
|}
The correct answer: 00010010 <p>
_________________________________________________________________________ <br>
13. Convert the following hex number to binary: a9 <p>
First, convert the hex number to decimal. Since "a" equals 10 in hex, we have 10 units of 16 and nine units of 1. 160 + 9 = 169 <p>
Now convert the decimal 169 to binary: <p>
{| border="1"
| || 128 || 64 || 32 || 16 || 8 || 4 || 2 || 1
|- || || || || || || || ||
| 169 || 1 || 0 || 1 || 0 || 1 || 0 || 0 || 1
|}
 
The correct answer: 10101001 <p>
_________________________________________________________________________ <br>
14. Convert the following hex number to binary: 3c <p>
First, convert the hex number to decimal. We have three units of 16 and 12 units of 1 (c =
12), giving us a total of 60 (48 + 12). <p>
Convert the decimal 60 into binary: <p>
{| border="1"
| || 128 || 64 || 32 || 16 || 8 || 4 || 2 || 1
|- || || || || || || || ||
| 60 || 0 || 0 || 1 || 1 || 1 || 1 || 0 || 0
|}
The correct answer: 00111100 <p>
_________________________________________________________________________ <br>
15. Convert the following hex number to binary: 74 <p>
First, convert the hex number to decimal. We have seven units of 16 and four units of 1, resulting in the decimal 116 (112 + 4). <p>
Convert the decimal 116 into binary: <p>
{| border="1"
| || 128 || 64 || 32 || 16 || 8 || 4 || 2 || 1
|- || || || || || || || ||
| 116 || 0 || 1 || 1 || 1 || 0 || 1 || 0 || 0
|}
The correct answer: 01110100 <p>
_________________________________________________________________________ <br>
===continued…===

Trình đơn chuyển hướng