can  I have some help interpreting what this question asks you to do?I believe that you can compare two binary digits to produce the desired output as asked, using an XOR gate. But what does it mean when the inputs are in octal? wouldn't that be the same; but just with a longer sequence in binary?Thanks in advanceYou have written a java program to compare the characters in a new and old, 8 digit, binary notation password (using only 1's and 0's) to ensure the user has changed at least 1 character. To provide the functionality your method compares each digit in the new password to the corresponding digit in the old password. Draw a circuit diagram that shows the gates required to compare 2 binary digits. If they are not the same your circuit should output a 1 or if they are the same output a 0. Explain how your diagram would change if the inputs to your java method were in octal or base 8.
How to compare characters in binary and octal using gates?
logic;arithmetic