For example, the decimal number 12 ( = $1 \times 10^1 + 2 \times 10^0$ ) is expressed as 14( = $1 \times 8^1 + 4 \times 8^0$) in the octal number system.
The decimal number 108 in the octal number system is
The question asks to convert the decimal number 108 (base-10) into its octal equivalent (base-8). The octal system uses digits 0 through 7.
To convert a decimal number to octal, we repeatedly divide the decimal number by the target base (which is 8 for octal) and keep track of the remainders. The octal number is formed by the remainders read in reverse order (from bottom to top).
Divide the decimal number 108 by 8:
$108 \div 8 = 13 \text{ remainder } 4$
Divide the quotient (13) by 8:
$13 \div 8 = 1 \text{ remainder } 5$
Divide the quotient (1) by 8:
$1 \div 8 = 0 \text{ remainder } 1$
Reading the remainders from bottom to top (1, 5, 4), we get the octal representation of the decimal number 108.
Therefore, decimal 108 is equivalent to octal 154.
Check: $154_8 = (1 \times 8^2) + (5 \times 8^1) + (4 \times 8^0) = (1 \times 64) + (5 \times 8) + (4 \times 1) = 64 + 40 + 4 = 108_{10}$.
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
What is the decimal value for HEX 2A