Which of the following is the representation of decimal number (- 147) in 2’s compliment notation on a 12-bit machine ?
111101101101
The question asks for the representation of the decimal number -147 using 2's complement notation on a 12-bit machine. The 2's complement is a standard method for representing signed integers in computing, allowing arithmetic operations like subtraction to be performed using addition circuitry.
To find the 2's complement representation of a negative number like -147, we follow these steps:
First, we convert the absolute value, 147, into its binary form:
Reading the remainders from bottom to top, the binary representation of 147 is 10010011.
The machine uses 12 bits. We pad the binary number 10010011 with leading zeros to make it 12 bits long:
000010010011
Next, we find the 1's complement by inverting each bit:
Original 12-bit binary: 000010010011
1's Complement: 111101101100
Finally, we add 1 to the 1's complement:
111101101100 (1's Complement)
+ 1
--------------------
111101101101 (2's Complement)
The 2's complement representation of the decimal number -147 on a 12-bit machine is 111101101101.
Comparing this result with the given options:
111101101100 (Incorrect - This is the 1's complement)110001001101 (Incorrect)111101101101 (Correct)000001101101 (Incorrect - This represents a positive number)Therefore, the correct representation is 111101101101.
How many NOR gates are used to get AND gate form them?
The Boolean function AB + AC is equivalent to ______.
The total number of binary function that can be defined using n boolean variable is _________.
(p → q v r, q → s, r → s} is logically equivalent to
The Boolean function a + (a̅ b) is equivalent to