Cadernos de Questões

Provas Favoritas

Filtros Salvos

Foram encontradas 50 questões.
#3333505
Texto da Questão:

                                            

Considerando o código Pascal apresentado, que foi desenvolvido utilizando-se o ambiente Delphi, assinale a opção que apresenta trecho de código que, ao ser inserido adequadamente nas linhas 27, 31 e 40, mantém a correção sintática e semântica original.

  • L.27 function ListaHash.hash (texto) : integer; L.31 for i:= 1 to Length (texto) L.40 while a [x].chave <> ' '
  • L.27 function ListaHash.hash (string) : integer; L.31 for (i:= 1; I < Length (texto) ; i++) L.40 while (a[x] .chave != ' ')
  • L.27 function ListaHash.hash (texto:string) : integer; L.31 for i:= 1 to Length (texto) do L.40 while a [x].chave <> ' ' do
  • L.27 procedure ListaHash.hash (texto:string); L.31 for i:= 1 to Length (texto) do L.40 while a [x].chave <> ' ' do
  • L.27 procedure ListaHash.hash (texto:string): integer; L.31 for i:= 1 to Length (texto) do L.40 while a [x].chave <> ' ' do
Fale com IAgo
IAgo - Assistente IAProva
IA
Olá! Sou o IAgo, seu assistente aqui no IAProvatec 😊
Veja como posso te ajudar:
Agora