Science and TechnologySEE 2081
Convert/Calculate as per the instruction: i) (1503) 8 = (?) 16 ii) (101000101) 2 = (?) 8 iii) (1010 + 1101) 2 (110) 2 iv) (100111) 2 + (110) 2
4Answer
i) Convert to
Step 1: Convert to decimal (base 10).
Step 2: Convert to hexadecimal (base 16). Divide by 16 and find remainders: Reading remainders from bottom to top: .
ii) Convert to
Step 1: Group binary digits into sets of three from the right (pad with leading zeros if needed).
Step 2: Convert each group to octal:
Final result: .
iii)
Step 1: Perform addition : \begin{array}{c@{}c@{}c@{}c@{}c} & 1 & 0 & 1 & 0 \\ + & 1 & 1 & 0 & 1 \\ \hline 1 & 0 & 1 & 1 & 1 \\ \end{array} Result: .
Step 2: Subtract from : \begin{array}{c@{}c@{}c@{}c@{}c} & 1 & 0 & 1 & 1 & 1 \\ - & & 1 & 1 & 0 \\ \hline & 1 & 0 & 0 & 0 & 1 \\ \end{array} Final result: .
iv)
Step 1: Align binary numbers and add: \begin{array}{c@{}c@{}c@{}c@{}c@{}c} & 1 & 0 & 0 & 1 & 1 & 1 \\ + & & & 1 & 1 & 0 \\ \hline & 1 & 0 & 1 & 1 & 0 & 1 \\ \end{array} Final result: .
Discussion
Loading…