Octal Number System
Z = {0,1,2,3,4,5,6,7};
Base = 8
π Each position to the left of a digit increases by a power of 8.
π Each position to the right of a digit decreases by a power of 8.
@Computer_science_course
Z = {0,1,2,3,4,5,6,7};
Base = 8
π Each position to the left of a digit increases by a power of 8.
π Each position to the right of a digit decreases by a power of 8.
@Computer_science_course
Hexadecimal Number System
Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16
π Each position to the left of a digit increases by a power of 16.
π Each position to the right of a digit decreases by a power of 16.
@Computer_science_course
Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16
π Each position to the left of a digit increases by a power of 16.
π Each position to the right of a digit decreases by a power of 16.
@Computer_science_course
Media is too big
VIEW IN TELEGRAM
Lecture 0 | Full Computer Science
@Computer_science_course
@Computer_science_course
Converting binary fractions to rational numbers (decimal fractions)
π To convert binary fractions to their decimal equivalents, all we have to do is multiply each bit with its power of 2 position.
π Note: To convert octal and hexadecimal fractions to their decimal equivalents we follow the same steps
we used above except we change the multiplier(Base) to 8 and 16 respectively.
Converting rational numbers to Baes B fractions
πTo convert rational numbers to their Base B fraction equivalent we will follow the following steps.
Step 1: Multiply the number after decimal point by B
Step 2: Take number before the decimal point from the result.
Step 3: repeat steps 1 and 2 until there is no decimal point to multiply
@Computer_science_course
π To convert binary fractions to their decimal equivalents, all we have to do is multiply each bit with its power of 2 position.
π Note: To convert octal and hexadecimal fractions to their decimal equivalents we follow the same steps
we used above except we change the multiplier(Base) to 8 and 16 respectively.
Converting rational numbers to Baes B fractions
πTo convert rational numbers to their Base B fraction equivalent we will follow the following steps.
Step 1: Multiply the number after decimal point by B
Step 2: Take number before the decimal point from the result.
Step 3: repeat steps 1 and 2 until there is no decimal point to multiply
@Computer_science_course