Deck 12: Graphs
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/43
العب
ملء الشاشة (f)
Deck 12: Graphs
1
In 1736, Euler represented the Königsberg bridge problem as a graph, marking (as recorded) the birth of graph theory.
True
2
A graph can be shown pictorially.
True
3
An edge incident on a single vertex is called a degree.
False
4
To write programs that process and manipulate graphs, the graphs must be stored in computer memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
5
A graph can be represented in computer memory in only one way.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
6
How a graph is represented in computer memory depends on the specific application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
7
The labeling of the vertices of a graph depends on a specific application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
8
A graph is empty if the number of vertices is 1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
9
Processing a graph requires the ability to traverse the graph.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
10
Traversing a graph is different than traversing a binary tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
11
In the breadth first traversal of a graph, all the nodes at any level, i, are visited after visiting the nodes at level i + 1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
12
The breadth first traversal traverses the graph from each vertex that is not visited.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
13
In breadth first traversal, starting at the first vertex, the graph is traversed as little as possible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
14
If the graph represents a highway structure, the weight can represent the distance between two places or the travel time from one place to another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
15
The shortest path algorithm, also called a greedy algorithm, was developed by Dijkstra.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
16
A weight free tree T is a simple graph such that if u and v are two vertices in T, there is a unique path from u to v.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
17
A tree T is called a spanning tree of graph G if T is a subgraph of G such that V(T) = V(G), that is, all the vertices of G are in T.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
18
A graph G has a spanning tree if and only if G is connected; from this it follows that to determine a spanning tree of a graph, the graph must be connected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
19
The topological sort algorithm can be implemented either using the depth first traversal or the breadth first traversal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
20
In the breadth first topological ordering, we first find a vertex that has a predecessor vertex and place it first in the topological ordering.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
21
The breadth first traversal algorithm is similar to traversing a binary tree level-by-level.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
22
In the breadth first traversal algorithm, the root node is visited last.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
23
____ are used to model electrical circuits, chemical compounds, highway maps, and so on.
A) Trees
B) Pictures
C) Graphs
D) Models
A) Trees
B) Pictures
C) Graphs
D) Models
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
24
The symbol ''____'' means ''Cartesian product.''
A) *
B) ×
C) +
D) %
A) *
B) ×
C) +
D) %
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
25
Let V(G) denote the set of vertices, and E(G) denote the set of edges of a graph G, then if the elements of E are ordered pairs, G is called a directed graph or ____.
A) bigraph
B) d-graph
C) dir-graph
D) digraph
A) bigraph
B) d-graph
C) dir-graph
D) digraph
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
26
When drawing a graph, the vertices are drawn as ____.
A) circles
B) squares
C) triangles
D) lines
A) circles
B) squares
C) triangles
D) lines
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
27
When drawing a graph, a ____ inside the circle represents the vertex.
A) name
B) block
C) vision
D) label
A) name
B) block
C) vision
D) label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
28
In an undirected graph, the edges are drawn using ____.
A) circles
B) lines
C) arrows
D) triangles
A) circles
B) lines
C) arrows
D) triangles
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
29
In a directed graph, the edges are drawn using ____.
A) lines
B) circles
C) arrows
D) triangles
A) lines
B) circles
C) arrows
D) triangles
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
30
A ____ is a path in which all the vertices, except possibly the first and last vertices, are distinct.
A) simple path
B) first path
C) complex path
D) best path
A) simple path
B) first path
C) complex path
D) best path
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
31
A ____ in G is a simple path in which the first and last vertices are the same.
A) circle
B) loop
C) cycle
D) recursion
A) circle
B) loop
C) cycle
D) recursion
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
32
Let G be an undirected graph. G is called ____ if there is a path from any vertex to any other vertex.
A) attached
B) converted
C) completed
D) connected
A) attached
B) converted
C) completed
D) connected
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
33
Let G be an undirected graph. A maximal subset of connected vertices is called a ____ of G.
A) component
B) property
C) solution
D) technique
A) component
B) property
C) solution
D) technique
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
34
Let G be an undirected graph. G is called ____ if any two vertices in G are connected.
A) weakly connected
B) completely connected
C) strongly connected
D) inversely connected
A) weakly connected
B) completely connected
C) strongly connected
D) inversely connected
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
35
The statement ____ declares graphIt to be an iterator.
A) linkedListIterator graphIt<int>;
B) linkedListIterator<int> graphIt;
C) linkedListIterator.int graphIt;
D) linkedListIterator<int> graphIt<int>;
A) linkedListIterator graphIt<int>;
B) linkedListIterator<int> graphIt;
C) linkedListIterator.int graphIt;
D) linkedListIterator<int> graphIt<int>;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
36
The breadth first traversal of a graph is similar to traversing a binary tree ____.
A) node-by-node
B) branch-by-branch
C) root-to-leaf
D) level-by-level
A) node-by-node
B) branch-by-branch
C) root-to-leaf
D) level-by-level
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
37
Let G be a weighted graph, let u and v be two vertices in G, and let P be a path in G from u to v. The weight of the path P is the ____ of all the edges on the path P.
A) sum of the edges
B) product of the weights
C) sum of the weights
D) product of the edges
A) sum of the edges
B) product of the weights
C) sum of the weights
D) product of the edges
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
38
Let G be a weighted graph, a minimum (minimal) spanning tree of G is a spanning tree with the ____.
A) maximum weight
B) minimum weight
C) maximum height
D) minimum height
A) maximum weight
B) minimum weight
C) maximum height
D) minimum height
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
39
There are two well-known algorithms, ____ algorithm and Kruskal's algorithm, for finding a minimum spanning tree of a graph.
A) Prim's
B) Newton's
C) Euler's
D) Orwell's
A) Prim's
B) Newton's
C) Euler's
D) Orwell's
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
40
Let G be a directed graph and V(G) = {v1, v2, . . ., vn}, where n >= 0. A(n) ____ of V(G) is a linear ordering vi1, vi2, . . ., vin of the vertices such that, if vij is a predecessor of vik, j does not equal k, 1 <= j <= n, 1 <= k <= n, then vij precedes vik, that is, j < k in this linear ordering.
A) ontological ordering
B) orthogonal ordering
C) topological ordering
D) typographical ordering
A) ontological ordering
B) orthogonal ordering
C) topological ordering
D) typographical ordering
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
41
A ____ is a path of nonzero length from a vertex u to u with no repeated edges.
A) cycle
B) unit of work
C) circuit
D) transit
A) cycle
B) unit of work
C) circuit
D) transit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
42
A circuit in a graph that includes all the edges of the graph is called a(n) ____.
A) Euler circuit
B) Newton circuit
C) Einstein circuit
D) Prim circuit
A) Euler circuit
B) Newton circuit
C) Einstein circuit
D) Prim circuit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
43
A graph G is said to be ____ if either G is a trivial graph or G has an Euler circuit.
A) Newtonian
B) Orwellian
C) Euclidian
D) Eulerian
A) Newtonian
B) Orwellian
C) Euclidian
D) Eulerian
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck