O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Graph and Tree Traversal

Tristan Murphy Computing BTEC Inglês 10 flashcards

Graph and Tree Traversal

Flashcards do conjunto (10)

  1. 1What is an algorithm in computing?A data type made up of nodes and edges.
  2. 2What is an adjacency matrix?A table where the rows are the start node and the columns are the end node.
    For example, if there is a 1 in (1,2), this shows that you can traverse from node one to two, but if there is a 0 in (1,1), this shows you cannot travel from node 1 to node 1.
  3. 3Example of adjacency matrix and graph:Example of adjacency matrix and graph:
  4. 4What is an adjacency list?A list with each item beginning with the start node, and containing all the end nodes that can be directly traversed to.
  5. 5Example of adjacency list:Example of adjacency list:
  6. 6What is a tree?A tree is an abstract data structure that is very similar to a graph in that it has nodes and edges. It is called a tree because it is visualised as a hierarchical structure (like a family tree) with branches. It can have a root node, with all other nodes branching away from the tree.
  7. 7Tree ExampleTree Example
  8. 8Graph ExampleGraph Example
  9. 9What is the difference between a graph and tree?A tree is undirected and contains no loops. It is made of parent nodes and child nodes. There can be a maximum of 2 child nodes to each parent node.
    A graph is directed, and any node can connect to any node.
  10. 10—

Informações

Descrição
BTEC Computing FlashCards sobre Graph and Tree Traversal, criado por Tristan Murphy em 20-02-2018.
Criado por
Tristan Murphy
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?