Buscar

What is the purpose of the following code snippet? Validating the maximum size of an uploaded file. Validating the format of an uploaded file. Val...

What is the purpose of the following code snippet?

Validating the maximum size of an uploaded file.
Validating the format of an uploaded file.
Validating the minimum and maximum length of a user's name, login, and password.
Validating the strength of a user's password.
Standardizing the return of business layer methods.
a) Only 1 and 2 are correct.
b) Only 3 and 4 are correct.
c) Only 5 is correct.
d) Only 1, 3, and 5 are correct.
e) All statements are correct.

Essa pergunta também está no material:

Aula_23 11 18
12 pág.

Recursos Humanos Centro Universitário Celso LisboaCentro Universitário Celso Lisboa

💡 1 Resposta

User badge image

Ed Verified user icon

O objetivo do trecho de código é validar o tamanho máximo de um arquivo enviado, validar o formato do arquivo enviado, validar o comprimento mínimo e máximo do nome do usuário, login e senha, validar a força da senha do usuário e padronizar o retorno dos métodos da camada de negócios. A alternativa correta é a letra d) Apenas 1, 3 e 5 estão corretas.

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