Answer:
100110
Explanation:
To convert the decimal number 38 to binary, we can use the following steps:
1. Divide 38 by 2, and write down the quotient and remainder.
38 divided by 2 is 19 with a remainder of 0. Write down "0" as the first (rightmost) digit in the binary number.
2. Divide the quotient (19) by 2, and write down the quotient and remainder.
19 divided by 2 is 9 with a remainder of 1. Write down "1" as the second digit in the binary number, to the left of the first digit.
3. Divide the quotient (9) by 2, and write down the quotient and remainder.
9 divided by 2 is 4 with a remainder of 1. Write down "1" as the third digit in the binary number, to the left of the second digit.
4. Divide the quotient (4) by 2, and write down the quotient and remainder.
4 divided by 2 is 2 with a remainder of 0. Write down "0" as the fourth digit in the binary number, to the left of the third digit.
5. Divide the quotient (2) by 2, and write down the quotient and remainder.
2 divided by 2 is 1 with a remainder of 0. Write down "0" as the fifth digit in the binary number, to the left of the fourth digit.
6. Divide the quotient (1) by 2, and write down the quotient and remainder.
1 divided by 2 is 0 with a remainder of 1. Write down "1" as the sixth (leftmost) digit in the binary number.
So the binary equivalent of decimal number 38 is 100110.
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Answer:
100110
Explanation:
To convert the decimal number 38 to binary, we can use the following steps:
1. Divide 38 by 2, and write down the quotient and remainder.
38 divided by 2 is 19 with a remainder of 0. Write down "0" as the first (rightmost) digit in the binary number.
2. Divide the quotient (19) by 2, and write down the quotient and remainder.
19 divided by 2 is 9 with a remainder of 1. Write down "1" as the second digit in the binary number, to the left of the first digit.
3. Divide the quotient (9) by 2, and write down the quotient and remainder.
9 divided by 2 is 4 with a remainder of 1. Write down "1" as the third digit in the binary number, to the left of the second digit.
4. Divide the quotient (4) by 2, and write down the quotient and remainder.
4 divided by 2 is 2 with a remainder of 0. Write down "0" as the fourth digit in the binary number, to the left of the third digit.
5. Divide the quotient (2) by 2, and write down the quotient and remainder.
2 divided by 2 is 1 with a remainder of 0. Write down "0" as the fifth digit in the binary number, to the left of the fourth digit.
6. Divide the quotient (1) by 2, and write down the quotient and remainder.
1 divided by 2 is 0 with a remainder of 1. Write down "1" as the sixth (leftmost) digit in the binary number.
So the binary equivalent of decimal number 38 is 100110.