Buscar

What is the purpose of the algorithm 'somaQ' in question 5 of the AP1 exam in the course of Computação I at UFF? a) to calculate the sum of the s...

What is the purpose of the algorithm 'somaQ' in question 5 of the AP1 exam in the course of Computação I at UFF?


a) to calculate the sum of the squares of the numbers from 1 to 50
b) to calculate the sum of the numbers from 1 to 50
c) to calculate the difference between the sum of the squares of the numbers from 1 to 50 and the square of the sum of the numbers from 1 to 50
d) to calculate the square of the sum of the numbers from 1 to 50
e) cannot be determined

Essa pergunta também está no material:

AP 1   Computação I   2016 2   Gabarito
2 pág.

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 'somaQ' na questão 5 da AP1 do curso de Computação I na UFF é calcular a soma dos quadrados dos números de 1 a 50. Portanto, a alternativa correta é a letra A.

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