Test
Sin título
Preguntas del test (3)
1Which of the following best explains the ability to solve problems algorithmically?
- AAny problem can be solved algorithmically, though some algorithmic solutions may require humans to validate the results.
- BAny problem can be solved algorithmically, though some algorithmic solutions must be executed on multiple devices in parallel.
- CAny problem can be solved algorithmically, though some algorithmic solutions require a very large amount of data storage to execute.
- DThere exist some problems that cannot be solved algorithmically using any computer.
2For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
- AAppending a value to a list of n
elements, which requires no list elements be examined. - BFinding the fastest route that visits every location among n
locations, which requires n!
possible routes be examined. - CPerforming a binary search for a score in a sorted list of n
scores, which requires that fewer than n
scores be examined. - DPerforming a linear search for a name in an unsorted database of n
people, which requires that up to n
entries be examined.
- AAppending a value to a list of n
3Under which of the following conditions is it most beneficial to use a heuristic approach to solve a problem?
- AWhen the problem can be solved in a reasonable time and an approximate solution is acceptable
- BWhen the problem cannot be solved in a reasonable time and an approximate solution is acceptable
- CWhen the problem can be solved in a reasonable time and an exact solution is needed
- DWhen the problem cannot be solved in a reasonable time and an exact solution is needed
Información
- Descripción
- Test sobre Sin título, creado por tyler flores el 28/03/2023.
- Autor
- tyler flores
- Idioma
- English
- Visitas
- 0
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test