Buscar

What is the purpose of the algorithm presented in question 2? The algorithm assigns the values of the first row of matrix A to the first row of ma...

What is the purpose of the algorithm presented in question 2?

The algorithm assigns the values of the first row of matrix A to the first row of matrix C and the values of the second row of matrix B to the second row of matrix C.
a) To assign the values of the first row of matrix A to the first row of matrix B and the values of the second row of matrix B to the second row of matrix A.
b) To assign the values of the first row of matrix A to the first row of matrix C and the values of the second row of matrix B to the second row of matrix C.
c) To assign the values of the first row of matrix B to the first row of matrix A and the values of the second row of matrix A to the second row of matrix B.
d) To assign the values of the first row of matrix B to the first row of matrix C and the values of the second row of matrix A to the second row of matrix C.
e) To assign the values of the first row of matrix C to the first row of matrix A and the values of the second row of matrix C to the second row of matrix B.

Essa pergunta também está no material:

AP2 - Computação I - 2018-1 - gabarito V1

Computação I Centro Federal de Educação Tecnológica Celso Suckow da FonsecaCentro Federal de Educação Tecnológica Celso Suckow da Fonseca

💡 1 Resposta

User badge image

Ed Verified user icon

O objetivo do algoritmo apresentado na questão 2 é atribuir os valores da primeira linha da matriz A à primeira linha da matriz C e os valores da segunda linha da matriz B à segunda linha da matriz C. A alternativa correta é a letra b).

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