Conversions Between Number Systems
Conversions Between Number Systems
Conversions Between Number Systems
These questions are essential for understanding how computers interpret and manipulate data
at a low level.
Here are some commonly accessed number systems questions with answers:
Divide 25 by 2 repeatedly:
25 \div 2 = 12 \, \text{remainder} \, 1
12 \div 2 = 6 \, \text{remainder} \, 0
6 \div 2 = 3 \, \text{remainder} \, 0
3 \div 2 = 1 \, \text{remainder} \, 1
1 \div 2 = 0 \, \text{remainder} \, 1
\begin{aligned}
& \quad 1011_2 \\
+ & \quad 1101_2 \\
\hline
& 11000_2 \\
\end{aligned}
\begin{aligned}
& \quad 1101_2 \\
+ & \quad 0101_2 \\
\hline
& 10010_2 \quad \text{(ignore overflow bit)} \\
\end{aligned}
2. Number System Properties and Ranges
1. Write in binary: .
3. Add 1: .
So, in 2’s complement (8-bit) is .
\begin{aligned}
1011_2 \\
| 1101_2 \\
\hline
1111_2 \\
\end{aligned}
(in BCD).
2. For subsequent bits, XOR the previous binary bit with the current one: