There are many problems in which one activity cannot be started before another one has been completed. One such problem is determining the order in which you can take courses. Some courses have prerequisite. Furthermore, the prerequisites may have prerequisites. The Directed Acyclic Graph (DAG), (Figure 2) above shows the courses and prerequisites of a computer science program at a university. 6 Implementation: Use the Graph above, (Figure 2) to answer the following questions. 1. What is a Directed Acyclic Graph? 2. Perform a Breath First Search (BSF) on the above Graph. (Figure 2). Show the necessary steps using the sample table below. Perform a Depth First Search (DSF) on the above Graph. (Figure 2). Show the necessary steps using the sample table below. Vertex being Visited Contents after Visit Visit Sequence
There are many problems in which one activity cannot be started before another one
has been completed. One such problem is determining the order in which you can take
courses. Some courses have prerequisite. Furthermore, the prerequisites may have
prerequisites. The Directed Acyclic Graph (DAG), (Figure 2) above shows the courses
and prerequisites of a computer science program at a university.
6
Implementation: Use the Graph above, (Figure 2) to answer the following questions.
1. What is a Directed Acyclic Graph?
2. Perform a Breath First Search (BSF) on the above Graph.
(Figure 2). Show the necessary steps using the sample table below.
Perform a Depth First Search (DSF) on the above Graph.
(Figure 2). Show the necessary steps using the sample table below.
Vertex being Visited | Contents after Visit | Visit Sequence |
![Calculus 2
CIS 072
200 Level
Elective
300 Level
Elective
CIS 207
CIS 307
Calculus 1)
CIS 067
CIS 068
Figure 2
Theory
Course
CIS 338
CIS 339
CIS 066
CIS 166
CIS 223
Communications
Elective
Problem:
There are many problems in which one activity cannot be started before another one
has been completed. One such problem is determining the order in which you can take
courses. Some courses have prerequisite. Furthermore, the prerequisites may have
prerequisites. The Directed Acyclic Graph (DAG), (Figure 2) above shows the courses
and prerequisites of a computer science program at a university.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F8c884644-1245-43ac-a96b-0c3efbd801cb%2Fa2476fa1-2b57-42dc-b239-d0ad8e92cbe9%2Fl65pb6_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)