The binary representation of +3997 is 1111 1001 1101.
In one's complement this is simply adding a sign bit and inverting all the bits:
1 0000 0110 0010
The two's complement is the one's complement plus 1:
1 0000 0110 0011
That's 13 bits. Normally the sign bit would be at an 8, 16 or 32,... bit boundary.
For -436 it's 10 0100 1100 and 10 bits
Answer: Virus Hoax
Explanation:
A computer virus hoax is a message that warns someone of a false virus threat. It is a a chain email that encourages who ever has received the message to pass it to other people as a form of warning.
Answer:
The correct answer to the following question will be "JAWS".
Explanation:
- JAWS is a strong accessibility tool, which uses synthesized speech to look for information on your monitor and provides several helpful commands to make it much easier using applications, edit documentation and read pages of the web.
- It's a Microsoft Windows screen reader tool that helps visually and blind impaired people to decode the screen either via a message-to-speech interpretation or with a castable sign language display.
- JAWS is manufactured by Freedom Scientific Blind and Group of Low Vision.
Therefore, JAWS is the right answer.
From the code you posted, there is no function call to vendingMachine()
Try at the top of your code:
print ("hello")
vendingMachine()
def vendingMachine():
...
Answer:
1. B 2. D
Explanation:
If computers share processing power, it is just a larger computer.