lylarock lylarock
  • 07-09-2021
  • Computers and Technology
contestada

A computer program uses 4 bits to represent integers when the program adds the decimal numbers 5 and 11 the result is 0 why?

Respuesta :

tonb
tonb tonb
  • 07-09-2021

Answer:

Because the answer would be 16 which is 10000 in binary, and the 1 drops off because there are only 4 bits for the answer.

Explanation:

All calculations will be modulo 2^bits.

So 4 bit storage: calculations modulo 2^4=16

16 modulo 16 is 0.

17 modulo 16 is 1. etc., it wraps around after 15.

Answer Link

Otras preguntas

Heights of certain plants at a nursery are normally distributed with a mean of 85.2cm and a standard deviation of 7.4 cm. If their s-scores are greater than 2.5
Which is the best title for the image above? A- Japanese imperialism B- The partition of China C- China to control the world D-The Berlin conference
Perform the following steps to convert 8 years to days
Raw materials used of silicone rubber
The Small channels of spongy bone that are filled with marrow are most accurately named ______. A. periosteum B. endosteum C. Osteon D. Trebeculae
practacal English developing ideas penn foster who can help me
A company has been forced to reduce its number of employees. Today the company has 35% fewer employees than it did a year ago. 208 employees, how many employee
how do i write this digits in words 6458492379
Just number seven plzzzzzzzzzzzz
Who was the dictator of Germany during World War II? A. Franz Josef B. Adolf Hitler C. Benito Mussolini D. Otto von Bismark I will give Brainliest answer