Foram encontradas 183 questões
Resolva questões gratuitamente!
Junte-se a mais de 4 milhões de concurseiros!
“In 1968, Knuth published the first of three volumes with the general title The Art of Computer Programming. The first volume ushered in the modern study of computer algorithms with a focus on the analysis of running time, and the full series remains an engaging and worthwhile reference for many of the topics presented here.”
De acordo com o texto, o primeiro volume da série de livros publicada por Knuth
“Analyzing an algorithm has come to mean predicting the resources that the algorithm requires. Occasionally, resources such as memory, communication bandwidth, or computer hardware are of primary concern, but most often it is computational time that we want to measure.”
Sobre o texto, é correto afirmar que
“If computers were infinitely fast, any correct method for solving a problem would do.”
A ideia que ela transmite é de que

Se, após a execução desse script, for executado o comando:

será exibido no terminal o resultado:
A forma correta de representação é