Buscar

What does the 'cripto' algorithm do? The algorithm receives a word with up to 10 characters. The algorithm replaces the letters 'y' with 'A' and t...

What does the 'cripto' algorithm do?

The algorithm receives a word with up to 10 characters.
The algorithm replaces the letters 'y' with 'A' and the letter 'x' with 'yx'.
The algorithm prints the resulting word.
a) Only statement 1 is true.
b) Only statement 2 is true.
c) Only statement 3 is true.
d) Statements 1, 2 and 3 are true.
e) None of the statements are true.

Essa pergunta também está no material:

29
1 pág.

Ordenacao de Dados Faculdades Unificadas Doctum de GuarapariFaculdades Unificadas Doctum de Guarapari

💡 1 Resposta

User badge image

Ed Verified user icon

O algoritmo 'cripto' recebe uma palavra com até 10 caracteres, substitui as letras 'y' por 'A' e a letra 'x' por 'yx' e, em seguida, imprime a palavra resultante. Portanto, a alternativa correta é a letra d) As afirmações 1, 2 e 3 são verdadeiras.

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