Deck 7: Graph Theory

ملء الشاشة (f)
exit full mode
سؤال
Suppose that a graph containing four vertices A, B, C, and D has an Euler circuit starting from A. If the degree of the vertex B is 4, then how many times will the Euler circuit pass the vertex B?

A)1
B)2
C)3
D)4
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A circuit or cycle in a graph is a path that begins and ends at the same vertex.
سؤال
What is the degree of each vertex in the figure below? <strong>What is the degree of each vertex in the figure below?  </strong> A)3 B)4 C)5 D)6 <div style=padding-top: 35px>

A)3
B)4
C)5
D)6
سؤال
When graphs are represented pictorially using dots and segments, the dots are called ___________.

A)points
B)vertices
C)stops
D)edges
سؤال
How many Euler circuits starting from the vertex B are possible? <strong>How many Euler circuits starting from the vertex B are possible?  </strong> A)4 B)6 C)8 D)12 <div style=padding-top: 35px>

A)4
B)6
C)8
D)12
سؤال
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABDCA B)ABDACDA C)ADBACD D)No Euler circuit exists. <div style=padding-top: 35px>

A)ABDCA
B)ABDACDA
C)ADBACD
D)No Euler circuit exists.
سؤال
According to Euler's theorem, the figure below has an Euler circuit.
According to Euler's theorem, the figure below has an Euler circuit.  <div style=padding-top: 35px>
سؤال
The _______________ of a vertex is the number of edges that touch that vertex.

A)magnitude
B)amplitude
C)period
D)degree
سؤال
If a circuit traverses each edge of the graph exactly once, it is called a(n) _____________ circuit.

A)traveling
B)single
C)Hamilton
D)Euler
سؤال
Suppose the edges of a certain graph represent phone lines that must be maintained, and the vertices represent junctions. A worker maintaining the lines would like to find an Euler circuit for this graph to increase ___________.

A)payment
B)mileage
C)efficiency
D)workload
سؤال
The computers in an office area are connected as follows:

A)The computer in Office A is connected to all computers.
B)The computer in Office B is connected to Offices A and D.
C)The computer in Office C is connected to Offices A and D.
D)The computer in Office D is connected to Offices A, B, and C.
سؤال
What is the degree of vertex F? <strong>What is the degree of vertex F?  </strong> A)2 B)3 C)4 D)5 <div style=padding-top: 35px>

A)2
B)3
C)4
D)5
سؤال
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABCDEFA B)ABCDFEA C)AFDECBA D)No Euler circuit exists. <div style=padding-top: 35px>

A)ABCDEFA
B)ABCDFEA
C)AFDECBA
D)No Euler circuit exists.
سؤال
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)AEFDCBA B)EABCDFE C)DFEABCD D)No Euler circuit exists. <div style=padding-top: 35px>

A)AEFDCBA
B)EABCDFE
C)DFEABCD
D)No Euler circuit exists.
سؤال
What is the degree of each vertex in the figure below? <strong>What is the degree of each vertex in the figure below?  </strong> A)2 B)3 C)4 D)5 <div style=padding-top: 35px>

A)2
B)3
C)4
D)5
سؤال
Which of the following vertices have degree 2? <strong>Which of the following vertices have degree 2?  </strong> A)A and B B)B and C C)C and D D)A and D <div style=padding-top: 35px>

A)A and B
B)B and C
C)C and D
D)A and D
سؤال
According to Euler's theorem, a connected graph has an Euler circuit precisely when every vertex has a(n) ___________ degree.

A)nonzero
B)positive
C)even
D)odd
سؤال
Which of the following vertices have degree 2? <strong>Which of the following vertices have degree 2?  </strong> A)A and B B)C and D C)B and E D)D and F <div style=padding-top: 35px>

A)A and B
B)C and D
C)B and E
D)D and F
سؤال
According to Euler's theorem, the figure below has an Euler circuit.
According to Euler's theorem, the figure below has an Euler circuit.  <div style=padding-top: 35px>
سؤال
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABDCA B)ABDACDA C)ADBACA D)No Euler circuit exists. <div style=padding-top: 35px>

A)ABDCA
B)ABDACDA
C)ADBACA
D)No Euler circuit exists.
سؤال
The edges in a certain graph represent roads, and the vertices represent intersections. We want to time the traffic signals at each intersection and not visit any intersection twice. Should we look for an Euler circuit or a Hamilton circuit?

A)Euler
B)Hamilton
C)either
D)neither
سؤال
Find a Hamilton circuit for the figure below. <strong>Find a Hamilton circuit for the figure below.  </strong> A)ABCDECFA B)ABCEDEFA C)AFECBDBA D)No Hamilton circuit exists. <div style=padding-top: 35px>

A)ABCDECFA
B)ABCEDEFA
C)AFECBDBA
D)No Hamilton circuit exists.
سؤال
If each vertex of a graph is connected to every other vertex by an edge, then it is called a(n) _______________ graph.

A)Hamilton
B)Euler
C)complete
D)direct
سؤال
The edges in a certain graph represent roads, and the vertices represent intersections. We want to clean all of the roads and not require the street sweeper to move along streets that have already been cleaned. Should we look for an Euler circuit or a Hamilton circuit?

A)Euler
B)Hamilton
C)either
D)neither
سؤال
The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he uses the cheapest link algorithm? <strong>The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he uses the cheapest link algorithm?  </strong> A)3885 B)3950 C)4370 D)5135 <div style=padding-top: 35px>

A)3885
B)3950
C)4370
D)5135
سؤال
Finding a Hamilton circuit with the shortest distance for a given complete graph is called _______________.

A)the Hamilton process
B)the traveling salesman problem
C)the Fleury's algorithm
D)the optimal marketing problem
سؤال
A traveling salesman must visit all four cities indicated in the figure below. When he starts in A, what is the second city to visit according to the nearest-neighbor algorithm? <strong>A traveling salesman must visit all four cities indicated in the figure below. When he starts in A, what is the second city to visit according to the nearest-neighbor algorithm?  </strong> A)B B)C C)D D)C or D <div style=padding-top: 35px>

A)B
B)C
C)D
D)C or D
سؤال
If a graph has a vertex of degree _____, then each edge meeting that vertex must be part of any Hamilton circuit.

A)1
B)2
C)3
D)4
سؤال
When applying the nearest-neighbor algorithm, if there are two or more vertices equally nearby, any one of them may be selected.
سؤال
When applying the cheapest-link algorithm, do not choose an edge that would result in a vertex of degree ___.

A)1
B)2
C)3
D)4
سؤال
The nearest-neighbor algorithm constructs a(n) _______________ circuit in a complete graph by starting at a vertex.

A)Fleury
B)Euler
C)Vector
D)Hamilton
سؤال
Find a Hamilton circuit for the figure below. <strong>Find a Hamilton circuit for the figure below.  </strong> A)ABCDEFA B)AFDABCE C)AFCDEBA D)No Hamilton circuit exists. <div style=padding-top: 35px>

A)ABCDEFA
B)AFDABCE
C)AFCDEBA
D)No Hamilton circuit exists.
سؤال
The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he starts in city A and uses the nearest-neighbor algorithm? <strong>The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he starts in city A and uses the nearest-neighbor algorithm?  </strong> A)3885 B)3950 C)4370 D)5135 <div style=padding-top: 35px>

A)3885
B)3950
C)4370
D)5135
سؤال
How many smaller circuits can be a part of a Hamilton circuit?

A)0
B)1
C)2
D)It varies according to the number of vertices of the Hamilton circuit.
سؤال
If a circuit of a graph visits each vertex exactly once, then it is called a(n) _______________.

A)Euler circuit
B)Hamilton circuit
C)Vector circuit
D)Fleury circuit
سؤال
A traveling salesman must visit all four cities indicated in the figure below. Which is the shortest route he can take if he wants to begin and end in city A? <strong>A traveling salesman must visit all four cities indicated in the figure below. Which is the shortest route he can take if he wants to begin and end in city A?  </strong> A)ABCDA B)ACDBA C)ABDCA D)ADBCA <div style=padding-top: 35px>

A)ABCDA
B)ACDBA
C)ABDCA
D)ADBCA
سؤال
A traveling salesman must visit all four cities indicated in the figure below. How many miles does he travel if he starts in A and then visits B, C, and D before returning to A? <strong>A traveling salesman must visit all four cities indicated in the figure below. How many miles does he travel if he starts in A and then visits B, C, and D before returning to A?  </strong> A)892 miles B)1127 miles C)1239 miles D)1273 miles <div style=padding-top: 35px>

A)892 miles
B)1127 miles
C)1239 miles
D)1273 miles
سؤال
The graph below has two odd-degree vertices, so no Euler circuit exists. Suppose we would like to find a route that backtracks as little as possible. What duplicate edge could we create to help us find this route? <strong>The graph below has two odd-degree vertices, so no Euler circuit exists. Suppose we would like to find a route that backtracks as little as possible. What duplicate edge could we create to help us find this route?  </strong> A)between A and B B)between B and C C)between D and E D)between E and F <div style=padding-top: 35px>

A)between A and B
B)between B and C
C)between D and E
D)between E and F
سؤال
Which of the following is not a practical situation where finding an Euler circuit may be important?

A)Delivery of groceries.
B)Garbage pickup.
C)Street sweepers.
D)Driving kids to school.
سؤال
If a complete graph has five vertices, then how many edges are in the graph?

A)10
B)14
C)18
D)20
سؤال
In a tree, if a parent has the level of 2, then what is the level of the grandchildren?

A)3
B)4
C)5
D)6
سؤال
Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem. <strong>Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem.  </strong> A)ADECBA B)ADEBCA C)ACBEDA D)ABECDA <div style=padding-top: 35px>

A)ADECBA
B)ADEBCA
C)ACBEDA
D)ABECDA
سؤال
The largest level of the tree is called the _____________.

A)length
B)width
C)height
D)depth
سؤال
In a complete binary tree of height H, the number of parents equals _________.

A) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px> <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
B) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
C) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
D) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
سؤال
Every vertex of a tree is either a parent or a _______________ but not both.

A)branch
B)child
C)leaf
D)stem
سؤال
Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below. <strong>Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below.  </strong> A)ABECDA B)ACBEDA C)ADEBCA D)ADECBA <div style=padding-top: 35px>

A)ABECDA
B)ACBEDA
C)ADEBCA
D)ADECBA
سؤال
In a complete binary tree of height H, the number of vertices equals _________.

A) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px> <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px> <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px>
B) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px>
C) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px>
D) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <div style=padding-top: 35px>
سؤال
A binary tree is _______________ if all the leaves are at the highest level.

A)tall
B)complete
C)complex
D)fully grown
سؤال
A tree has the following characteristic. Find the total number of vertices. <strong>A tree has the following characteristic. Find the total number of vertices.  </strong> A)13 B)18 C)20 D)26 <div style=padding-top: 35px>

A)13
B)18
C)20
D)26
سؤال
You want to use a dictionary so that you have to check any word at most six times. How big a dictionary can you accommodate?

A)64 words
B)63 words
C)12 words
D)120 words
سؤال
On a complete graph with n vertices, there are n!/2 Hamilton circuits starting at a given vertex, not counting reverse routes. If a traveling salesman wanted to make deliveries to nine cities in a region, how many possible routes would he have to check to find the shortest one?

A)2520
B)20,160
C)181,440
D)1,814,400
سؤال
In a complete binary tree, how many vertices have the level L or <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px>

A) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px>
B) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px> <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px>
C) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px> <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px>
D) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <div style=padding-top: 35px>
سؤال
In a complete binary tree of height H, the number of leaves equals _________.

A) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px> <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
B) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
C) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
D) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <div style=padding-top: 35px>
سؤال
Estimate the largest number of checks needed if you have a 60,000-word dictionary.

A)14
B)15
C)16
D)17
سؤال
Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below. <strong>Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below.  </strong> A)ABECDA B)ACBEDA C)ADEBCA D)ADECBA <div style=padding-top: 35px>

A)ABECDA
B)ACBEDA
C)ADEBCA
D)ADECBA
سؤال
If each parent of a tree has exactly two children, then the tree is called ___________.

A)alternating
B)binary
C)equivalent
D)complete
سؤال
A _______________ is a graph that contains no circuits.

A)tree
B)branch
C)leaf
D)stem
سؤال
Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem. <strong>Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem.  </strong> A)ADECBA B)ADEBCA C)ACBEDA D)ABECDA <div style=padding-top: 35px>

A)ADECBA
B)ADEBCA
C)ACBEDA
D)ABECDA
سؤال
A spell-checker is using a binary tree. If the size of the dictionary doubles, what will be the increase in the number of required checks?

A)1
B)2
C)3
D)4
سؤال
What is the level of the root of a tree?

A)0
B)1
C)2
D)3
سؤال
What size dictionary can be accommodated by a spell-checker that uses 30 checks?

A)1.1 million words
B)1.1 billion words
C)1.1 trillion words
D)1.1 quadrillion words
سؤال
Suppose you tell a story to two of your friends. Some people repeat the story to two others, and in turn some of these pass the story on. Each time the story is told, it is told to two new people and no one hears the story twice. Sometime later, it turns out that 384 people have heard the story, but not related it to others. How many people have heard the story from others?

A)766
B)767
C)768
D)769
سؤال
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. This pattern continued through the sixth night, after which you took your winnings and went home. How much money did you take home?

A)64 quarters
B)48 quarters
C)32 quarters
D)16 quarters
سؤال
There are 65 members of an organization. The plan for disseminating news requires one member to contact two others with the information. Each member who receives the news contacts two members who have not yet gotten the news. This continues until all members have the information. How many members contact others?

A)64
B)48
C)32
D)16
سؤال
Suppose you tell a story to two of your friends. Some people repeat the story to two others, and in turn some pass the story on. Each time the story is told, it is told to two new people and no one hears the story twice. Sometime later, 271 people know the story. How many people have related the story to others?

A)271
B)270
C)169
D)135
سؤال
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. This pattern continued through the sixth night, after which you took your winnings and went home. How many quarters were fed into the machine?

A)64
B)63
C)47
D)31
سؤال
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. If you want to go home taking your winnings of $500, then what nights should this pattern be continued through?

A)10th night
B)11th night
C)12th night
D)13th night
سؤال
We have a dictionary consisting of 500 words. If we use a binary tree as a spell-checker, how many checks might be required to test whether "tat" is a valid word?

A)7
B)8
C)9
D)10
سؤال
Which of the following is NOT a child in the tree below? <strong>Which of the following is NOT a child in the tree below?  </strong> A)A B)D C)G D)H <div style=padding-top: 35px>

A)A
B)D
C)G
D)H
سؤال
Which of the following is NOT a leaf in the tree below? <strong>Which of the following is NOT a leaf in the tree below?  </strong> A)F B)G C)H D)J <div style=padding-top: 35px>

A)F
B)G
C)H
D)J
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/70
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: Graph Theory
1
Suppose that a graph containing four vertices A, B, C, and D has an Euler circuit starting from A. If the degree of the vertex B is 4, then how many times will the Euler circuit pass the vertex B?

A)1
B)2
C)3
D)4
B
2
A circuit or cycle in a graph is a path that begins and ends at the same vertex.
True
3
What is the degree of each vertex in the figure below? <strong>What is the degree of each vertex in the figure below?  </strong> A)3 B)4 C)5 D)6

A)3
B)4
C)5
D)6
C
4
When graphs are represented pictorially using dots and segments, the dots are called ___________.

A)points
B)vertices
C)stops
D)edges
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
5
How many Euler circuits starting from the vertex B are possible? <strong>How many Euler circuits starting from the vertex B are possible?  </strong> A)4 B)6 C)8 D)12

A)4
B)6
C)8
D)12
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
6
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABDCA B)ABDACDA C)ADBACD D)No Euler circuit exists.

A)ABDCA
B)ABDACDA
C)ADBACD
D)No Euler circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
7
According to Euler's theorem, the figure below has an Euler circuit.
According to Euler's theorem, the figure below has an Euler circuit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
8
The _______________ of a vertex is the number of edges that touch that vertex.

A)magnitude
B)amplitude
C)period
D)degree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
9
If a circuit traverses each edge of the graph exactly once, it is called a(n) _____________ circuit.

A)traveling
B)single
C)Hamilton
D)Euler
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
10
Suppose the edges of a certain graph represent phone lines that must be maintained, and the vertices represent junctions. A worker maintaining the lines would like to find an Euler circuit for this graph to increase ___________.

A)payment
B)mileage
C)efficiency
D)workload
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
11
The computers in an office area are connected as follows:

A)The computer in Office A is connected to all computers.
B)The computer in Office B is connected to Offices A and D.
C)The computer in Office C is connected to Offices A and D.
D)The computer in Office D is connected to Offices A, B, and C.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
12
What is the degree of vertex F? <strong>What is the degree of vertex F?  </strong> A)2 B)3 C)4 D)5

A)2
B)3
C)4
D)5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
13
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABCDEFA B)ABCDFEA C)AFDECBA D)No Euler circuit exists.

A)ABCDEFA
B)ABCDFEA
C)AFDECBA
D)No Euler circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
14
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)AEFDCBA B)EABCDFE C)DFEABCD D)No Euler circuit exists.

A)AEFDCBA
B)EABCDFE
C)DFEABCD
D)No Euler circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
15
What is the degree of each vertex in the figure below? <strong>What is the degree of each vertex in the figure below?  </strong> A)2 B)3 C)4 D)5

A)2
B)3
C)4
D)5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following vertices have degree 2? <strong>Which of the following vertices have degree 2?  </strong> A)A and B B)B and C C)C and D D)A and D

A)A and B
B)B and C
C)C and D
D)A and D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
17
According to Euler's theorem, a connected graph has an Euler circuit precisely when every vertex has a(n) ___________ degree.

A)nonzero
B)positive
C)even
D)odd
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following vertices have degree 2? <strong>Which of the following vertices have degree 2?  </strong> A)A and B B)C and D C)B and E D)D and F

A)A and B
B)C and D
C)B and E
D)D and F
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
19
According to Euler's theorem, the figure below has an Euler circuit.
According to Euler's theorem, the figure below has an Euler circuit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
20
Find an Euler circuit for the figure below. <strong>Find an Euler circuit for the figure below.  </strong> A)ABDCA B)ABDACDA C)ADBACA D)No Euler circuit exists.

A)ABDCA
B)ABDACDA
C)ADBACA
D)No Euler circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
21
The edges in a certain graph represent roads, and the vertices represent intersections. We want to time the traffic signals at each intersection and not visit any intersection twice. Should we look for an Euler circuit or a Hamilton circuit?

A)Euler
B)Hamilton
C)either
D)neither
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
22
Find a Hamilton circuit for the figure below. <strong>Find a Hamilton circuit for the figure below.  </strong> A)ABCDECFA B)ABCEDEFA C)AFECBDBA D)No Hamilton circuit exists.

A)ABCDECFA
B)ABCEDEFA
C)AFECBDBA
D)No Hamilton circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
23
If each vertex of a graph is connected to every other vertex by an edge, then it is called a(n) _______________ graph.

A)Hamilton
B)Euler
C)complete
D)direct
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
24
The edges in a certain graph represent roads, and the vertices represent intersections. We want to clean all of the roads and not require the street sweeper to move along streets that have already been cleaned. Should we look for an Euler circuit or a Hamilton circuit?

A)Euler
B)Hamilton
C)either
D)neither
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
25
The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he uses the cheapest link algorithm? <strong>The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he uses the cheapest link algorithm?  </strong> A)3885 B)3950 C)4370 D)5135

A)3885
B)3950
C)4370
D)5135
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
26
Finding a Hamilton circuit with the shortest distance for a given complete graph is called _______________.

A)the Hamilton process
B)the traveling salesman problem
C)the Fleury's algorithm
D)the optimal marketing problem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
27
A traveling salesman must visit all four cities indicated in the figure below. When he starts in A, what is the second city to visit according to the nearest-neighbor algorithm? <strong>A traveling salesman must visit all four cities indicated in the figure below. When he starts in A, what is the second city to visit according to the nearest-neighbor algorithm?  </strong> A)B B)C C)D D)C or D

A)B
B)C
C)D
D)C or D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
28
If a graph has a vertex of degree _____, then each edge meeting that vertex must be part of any Hamilton circuit.

A)1
B)2
C)3
D)4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
29
When applying the nearest-neighbor algorithm, if there are two or more vertices equally nearby, any one of them may be selected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
30
When applying the cheapest-link algorithm, do not choose an edge that would result in a vertex of degree ___.

A)1
B)2
C)3
D)4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
31
The nearest-neighbor algorithm constructs a(n) _______________ circuit in a complete graph by starting at a vertex.

A)Fleury
B)Euler
C)Vector
D)Hamilton
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
32
Find a Hamilton circuit for the figure below. <strong>Find a Hamilton circuit for the figure below.  </strong> A)ABCDEFA B)AFDABCE C)AFCDEBA D)No Hamilton circuit exists.

A)ABCDEFA
B)AFDABCE
C)AFCDEBA
D)No Hamilton circuit exists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
33
The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he starts in city A and uses the nearest-neighbor algorithm? <strong>The following table shows the distance (in miles) between cities A, B, C, and D. When a traveling salesman visits all four cities, how many miles does he travel if he starts in city A and uses the nearest-neighbor algorithm?  </strong> A)3885 B)3950 C)4370 D)5135

A)3885
B)3950
C)4370
D)5135
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
34
How many smaller circuits can be a part of a Hamilton circuit?

A)0
B)1
C)2
D)It varies according to the number of vertices of the Hamilton circuit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
35
If a circuit of a graph visits each vertex exactly once, then it is called a(n) _______________.

A)Euler circuit
B)Hamilton circuit
C)Vector circuit
D)Fleury circuit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
36
A traveling salesman must visit all four cities indicated in the figure below. Which is the shortest route he can take if he wants to begin and end in city A? <strong>A traveling salesman must visit all four cities indicated in the figure below. Which is the shortest route he can take if he wants to begin and end in city A?  </strong> A)ABCDA B)ACDBA C)ABDCA D)ADBCA

A)ABCDA
B)ACDBA
C)ABDCA
D)ADBCA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
37
A traveling salesman must visit all four cities indicated in the figure below. How many miles does he travel if he starts in A and then visits B, C, and D before returning to A? <strong>A traveling salesman must visit all four cities indicated in the figure below. How many miles does he travel if he starts in A and then visits B, C, and D before returning to A?  </strong> A)892 miles B)1127 miles C)1239 miles D)1273 miles

A)892 miles
B)1127 miles
C)1239 miles
D)1273 miles
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
38
The graph below has two odd-degree vertices, so no Euler circuit exists. Suppose we would like to find a route that backtracks as little as possible. What duplicate edge could we create to help us find this route? <strong>The graph below has two odd-degree vertices, so no Euler circuit exists. Suppose we would like to find a route that backtracks as little as possible. What duplicate edge could we create to help us find this route?  </strong> A)between A and B B)between B and C C)between D and E D)between E and F

A)between A and B
B)between B and C
C)between D and E
D)between E and F
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following is not a practical situation where finding an Euler circuit may be important?

A)Delivery of groceries.
B)Garbage pickup.
C)Street sweepers.
D)Driving kids to school.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
40
If a complete graph has five vertices, then how many edges are in the graph?

A)10
B)14
C)18
D)20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
41
In a tree, if a parent has the level of 2, then what is the level of the grandchildren?

A)3
B)4
C)5
D)6
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
42
Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem. <strong>Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem.  </strong> A)ADECBA B)ADEBCA C)ACBEDA D)ABECDA

A)ADECBA
B)ADEBCA
C)ACBEDA
D)ABECDA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
43
The largest level of the tree is called the _____________.

A)length
B)width
C)height
D)depth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
44
In a complete binary tree of height H, the number of parents equals _________.

A) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)   <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)
B) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)
C) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)
D) <strong>In a complete binary tree of height H, the number of parents equals _________.</strong> A)     B)   C)   D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
45
Every vertex of a tree is either a parent or a _______________ but not both.

A)branch
B)child
C)leaf
D)stem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
46
Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below. <strong>Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below.  </strong> A)ABECDA B)ACBEDA C)ADEBCA D)ADECBA

A)ABECDA
B)ACBEDA
C)ADEBCA
D)ADECBA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
47
In a complete binary tree of height H, the number of vertices equals _________.

A) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)   <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)
B) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)
C) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)
D) <strong>In a complete binary tree of height H, the number of vertices equals _________.</strong> A)       B)   C)   D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
48
A binary tree is _______________ if all the leaves are at the highest level.

A)tall
B)complete
C)complex
D)fully grown
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
49
A tree has the following characteristic. Find the total number of vertices. <strong>A tree has the following characteristic. Find the total number of vertices.  </strong> A)13 B)18 C)20 D)26

A)13
B)18
C)20
D)26
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
50
You want to use a dictionary so that you have to check any word at most six times. How big a dictionary can you accommodate?

A)64 words
B)63 words
C)12 words
D)120 words
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
51
On a complete graph with n vertices, there are n!/2 Hamilton circuits starting at a given vertex, not counting reverse routes. If a traveling salesman wanted to make deliveries to nine cities in a region, how many possible routes would he have to check to find the shortest one?

A)2520
B)20,160
C)181,440
D)1,814,400
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
52
In a complete binary tree, how many vertices have the level L or <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)

A) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)
B) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)
C) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)   <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)
D) <strong>In a complete binary tree, how many vertices have the level L or  </strong> A)   B)     C)     D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
53
In a complete binary tree of height H, the number of leaves equals _________.

A) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)   <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)
B) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)
C) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)
D) <strong>In a complete binary tree of height H, the number of leaves equals _________.</strong> A)     B)   C)   D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
54
Estimate the largest number of checks needed if you have a 60,000-word dictionary.

A)14
B)15
C)16
D)17
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
55
Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below. <strong>Use the cheapest link algorithm to find an approximate solution to the traveling salesman problem for the figure below.  </strong> A)ABECDA B)ACBEDA C)ADEBCA D)ADECBA

A)ABECDA
B)ACBEDA
C)ADEBCA
D)ADECBA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
56
If each parent of a tree has exactly two children, then the tree is called ___________.

A)alternating
B)binary
C)equivalent
D)complete
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
57
A _______________ is a graph that contains no circuits.

A)tree
B)branch
C)leaf
D)stem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
58
Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem. <strong>Use the nearest-neighbor algorithm starting at vertex A of the figure below to find an approximate solution to the traveling salesman problem.  </strong> A)ADECBA B)ADEBCA C)ACBEDA D)ABECDA

A)ADECBA
B)ADEBCA
C)ACBEDA
D)ABECDA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
59
A spell-checker is using a binary tree. If the size of the dictionary doubles, what will be the increase in the number of required checks?

A)1
B)2
C)3
D)4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
60
What is the level of the root of a tree?

A)0
B)1
C)2
D)3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
61
What size dictionary can be accommodated by a spell-checker that uses 30 checks?

A)1.1 million words
B)1.1 billion words
C)1.1 trillion words
D)1.1 quadrillion words
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
62
Suppose you tell a story to two of your friends. Some people repeat the story to two others, and in turn some of these pass the story on. Each time the story is told, it is told to two new people and no one hears the story twice. Sometime later, it turns out that 384 people have heard the story, but not related it to others. How many people have heard the story from others?

A)766
B)767
C)768
D)769
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
63
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. This pattern continued through the sixth night, after which you took your winnings and went home. How much money did you take home?

A)64 quarters
B)48 quarters
C)32 quarters
D)16 quarters
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
64
There are 65 members of an organization. The plan for disseminating news requires one member to contact two others with the information. Each member who receives the news contacts two members who have not yet gotten the news. This continues until all members have the information. How many members contact others?

A)64
B)48
C)32
D)16
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
65
Suppose you tell a story to two of your friends. Some people repeat the story to two others, and in turn some pass the story on. Each time the story is told, it is told to two new people and no one hears the story twice. Sometime later, 271 people know the story. How many people have related the story to others?

A)271
B)270
C)169
D)135
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
66
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. This pattern continued through the sixth night, after which you took your winnings and went home. How many quarters were fed into the machine?

A)64
B)63
C)47
D)31
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
67
One night you put a quarter into a slot machine and get back two quarters. The next night, you put these two quarters back in the machine one at a time, and each time two quarters came out. If you want to go home taking your winnings of $500, then what nights should this pattern be continued through?

A)10th night
B)11th night
C)12th night
D)13th night
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
68
We have a dictionary consisting of 500 words. If we use a binary tree as a spell-checker, how many checks might be required to test whether "tat" is a valid word?

A)7
B)8
C)9
D)10
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
69
Which of the following is NOT a child in the tree below? <strong>Which of the following is NOT a child in the tree below?  </strong> A)A B)D C)G D)H

A)A
B)D
C)G
D)H
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following is NOT a leaf in the tree below? <strong>Which of the following is NOT a leaf in the tree below?  </strong> A)F B)G C)H D)J

A)F
B)G
C)H
D)J
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 70 في هذه المجموعة.