GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

13. Graph Topoligical Sorting

Mena Sargios 15 Fragen

Quiz starten

Fragen in diesem Quiz (15)

  1. 1a topological sort can be done on a cyclic graph.
    1. ARichtig
    2. BFalsch
  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. ARichtig
    2. BFalsch
  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

Informationen

Beschreibung
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Sprache
English
Aufrufe
54
Schlagwörter
mtsucsci3110
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck