Which of the following is the correct binary representation of the decimal numbe
Practice Questions
Q1
Which of the following is the correct binary representation of the decimal number 8?
1000
1110
1010
1100
Questions & Step-by-Step Solutions
Which of the following is the correct binary representation of the decimal number 8?
Step 1: Understand that binary is a base-2 number system, which uses only two digits: 0 and 1.
Step 2: Identify the decimal number we want to convert, which is 8.
Step 3: Find the largest power of 2 that is less than or equal to 8. The powers of 2 are: 1 (2^0), 2 (2^1), 4 (2^2), and 8 (2^3). The largest is 8 (2^3).
Step 4: Write down a 1 for the 2^3 place (which represents 8) and 0s for all smaller powers of 2 (2^2, 2^1, and 2^0).
Step 5: This gives us 1000 in binary, where the first digit (1) represents 8, and the following three digits (000) represent 0.