pooja_khubbar
Newbie level 6
hello friends
can anyone tell me two 4bit numbers....whose multiplication leads to maximum no of 1s in output.
can anyone tell me two 4bit numbers....whose multiplication leads to maximum no of 1s in output.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
actually, it doesn't matter how many bits the result is expected with. The result of 1111 x 0001 would be full of 1s without 0s regardless of the expected bit width of the result in a certain case. THe problem is OP didn't ask the question properly and both of your answer and my answer are correct, depending on numbering system.your answer is correct for a 4-bit result.
It seems to me, that signed or unsigned multiply should be specified first.The result of 1111 x 0001 would be full of 1s without 0s regardless of the expected bit width