Mena Sargios
Test por , creado hace más de 1 año

Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU

36
1
0
Mena Sargios
Creado por Mena Sargios hace más de 7 años
Cerrar

14. Graph Shrtest Path

Pregunta 1 de 13

1

What is the purpose of Dijkstra's algorithm (what problem does it solve)?

Selecciona una de las siguientes respuestas posibles:

  • Dijkstra's finds the shortest path from an initial vertex to all of the other vertices.

  • none of the above

Explicación

Pregunta 2 de 13

1

A common algorithm for finding the shortest path on a graph is ___.

Selecciona una de las siguientes respuestas posibles:

  • A) Huffman's

  • B) Euler's

  • C) Djikstra's

  • D) Hamiltonian's

Explicación

Pregunta 3 de 13

1

What is used to find the shortest path in a graph?

Selecciona una de las siguientes respuestas posibles:

  • Dijkstra's Algorithm

  • none of the above

Explicación

Pregunta 4 de 13

1

How would you go about find the shortage path?

Selecciona una de las siguientes respuestas posibles:

  • A.use the path that is not being used

  • B.you add up the path weights between the two points and which ever is smallest

  • C.find the longest path between to points

  • D.none of the above

Explicación

Pregunta 5 de 13

1

Dijkstra's algorithm finds what kind of path between all vertices?

Selecciona una de las siguientes respuestas posibles:

  • A. Longest Path

  • B. Shortest Path.

  • C. Tallest Path

  • D. None of the above

Explicación

Pregunta 6 de 13

1

Which algorithim finds the shortest path between vertex 0 and all other verticies?

Selecciona una de las siguientes respuestas posibles:

  • A) Primm's Algotrithim

  • B) Yoo's Algorithim

  • C) Fermi Algorithim

  • D) Dijkstra's Algorithim

Explicación

Pregunta 7 de 13

1

What is used to find the shortest path of one node to all other nodes?

Selecciona una de las siguientes respuestas posibles:

  • Djikstra's Algorithm

  • none

Explicación

Pregunta 8 de 13

1

What aglorithm is used to find the shorest path between two nodes in a graph?

Selecciona una de las siguientes respuestas posibles:

  • A. Depth First Search

  • B. Bubble Sort

  • C. Dijkstra's Algorithm

  • D. Prim's Algorithm

Explicación

Pregunta 9 de 13

1

Dijkstra's algorithm finds the shortest path between a vertex and:

Selecciona una de las siguientes respuestas posibles:

  • A. only one other node

  • B. two other nodes

  • C. all other nodes

  • D. n/a: Dijkstra's algorithm finds the smallest spanning tree.

Explicación

Pregunta 10 de 13

1

What does Dijkstra's algorithm do?

Selecciona una de las siguientes respuestas posibles:

  • A. it finds the longest path between vertex 0 and all other vertices

  • B. it finds the shortest path between vertex v and all other vertices

  • C. it finds the longest path between vertex v and all other vertices

  • D. it finds the shortest path between vertex 0 and all other vertices

Explicación

Pregunta 11 de 13

1

When trying to find the shortest path and you have negative edges in the graph. You can still use Dijkstra’s algorithm?

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 12 de 13

1

Is the definition of Dijkstra's algorithm true or false?

Find the shortest path between vertex 0 and all other vertices

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 13 de 13

1

What are the two data structures that Dijkstra's Algorithm uses?

Selecciona una de las siguientes respuestas posibles:

  • A) Two arrays

  • B) Two sets

  • C) A tree and a set

  • D) A set and an array

Explicación