¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

13. Graph Topoligical Sorting

Mena Sargios 15 preguntas

Hacer el test

Preguntas del test (15)

  1. 1a topological sort can be done on a cyclic graph.
    1. AVerdadero
    2. BFalso
  2. 2Select the correct definition.
    Topological sorting:
    1. AA) Given a cyclic digraph find a linear ordering of vertices such
      that for all edges (v, w) in E, v procedes w in the ordering.
    2. BB) Given an acyclic undirected graph find a linear ordering of nodes
      such that for all vertices (v, w) in E, v proceeds w in the ordering
    3. CC) Given an acyclic digraph find a quadratic ordering of nodes such
      that for all edges (v, w) in E, v proceeds w in the ordering.
    4. DD) Given an acyclic digraph find a linear ordering of nodes such
      that for all edges (v, w) in E, v proceeds w in the ordering.
  3. 3What is Topological Sorting?
    1. AIt is finding an ordering of an acyclic graph such that all edges proceed in order.
    2. Bnone of the above
  4. 4What is not part of algorithm for topological graph?
    1. AA. make a copy of the diagram
    2. BB.make a list l
    3. CC.make a q list
    4. DD.none of the above
  5. 5Any linear ordering of all of the vertices in which all the arrows go to the right is a valid solution.
    The statemen is an example of:
    1. AA.Big o notation
    2. BB.Ascending
    3. CC.Topological
    4. DD.Descending
  6. 6In the topological algorithm once you select a vertex V with an out outdegree of 0, where do you place the V in the list?
    1. AA) to the front of the list
    2. BB) the end of the list
    3. CC) the middle of the list
  7. 7The algorithm for topological sorting includes
    1. Aa. making a copy of the graph
    2. Bb. initializing a list
    3. Cc. selecting a vertex with an out degree of 0
    4. Dd. all of the above.
  8. 8What is any linear ordering of all of the verticies of a graph in which all
    the arrows go to the right is a valid solution?
    1. AA) Topological Sorting
    2. BB) Top-Down Sorting
    3. CC) Quick Sorting
    4. DD) None of the above
  9. 9Any linear Ordering of all vertices where all the arrows point to the left is a valid solution
    1. AVerdadero
    2. BFalso
  10. 10In order to perform a topilogical sort, the graph must be:
    1. AA. Cyclic
    2. BB. Acyclic
    3. CC. A tree
    4. DD. None of the above

Información

Descripción
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Idioma
English
Visitas
54
Etiquetas
mtsucsci3110
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?