Buscar

Considering the sum between the following numbers (4 bits) in two's complement: 0111b+0111b. Indicate the correct answer about the result of the su...

Considering the sum between the following numbers (4 bits) in two's complement: 0111b+0111b. Indicate the correct answer about the result of the sum and the occurrence of overflow:

The operands have the same signal.
The result has a different signal from the operands.
The result value is greater than the allowed range.
The result value is smaller than the allowed range.
a. 1110b. There is no overflow.
b. 0000b. There is no overflow.
c. 1110b. There is no overflow.
d. 1111b. There is overflow.
e. 1110b. There is overflow.

Essa pergunta também está no material:

A1_Avaliacao_do_Modulo_1_-_Historico_e_Conceitos_Basicos_de_Computacao_conforme_o_Plano_de_Ensino__Revisao_da_tentativa
4 pág.

Introdução à Computação Universidade Federal de Mato Grosso do SulUniversidade Federal de Mato Grosso do Sul

💡 1 Resposta

User badge image

Ed Verified user icon

A soma dos números em complemento de dois é: 0111b + 0111b = 1110b. A resposta correta é a alternativa c: 1110b. Não há ocorrência de overflow, pois o resultado está dentro do intervalo permitido para números de 4 bits em complemento de dois.

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais