The binary equivalent of decimal number 17 is
10001
To find the binary equivalent of a decimal number, we use the method of repeated division by 2. In this process, we repeatedly divide the decimal number by 2 and record the remainder at each step. The process continues until the quotient becomes 0. The binary representation is then obtained by reading the remainders from bottom to top.
| Division Operation | Quotient | Remainder |
| 17 ÷ 2 | 8 | 1 |
| 8 ÷ 2 | 4 | 0 |
| 4 ÷ 2 | 2 | 0 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
The remainders obtained from the division steps are 1, 0, 0, 0, and 1.
To get the final binary number, we read these remainders starting from the last one (bottom) up to the first one (top):
10001
Thus, the decimal number 17 is represented as 10001 in binary.
Assertion (A) : In logic circuit, positive logic is represented by logic "0" voltage level is lower than logic "1" voltage level.
Reason (R) : Excess 3 code is known as self complementary code.
The steps for subtracting two positive numbers (M−N) using (r−1)'s complement are:
(A) Add the minuend M to the (r−1)'s complement of the substrahend N.
(B) If an end carry occurs, add 1 to the least significant bit.
(C) If end carry does not occur, take the (r−1)'s complement of the number obtained in step A and place negative sign in front
(D) Take (r−1)'s complement of the number obtained in step B on step C.
Choose the correct answer from the options given below:
The decimal equivalent of (11011101) is
Two’s complement representation of -74 in 8 bit format is