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

icon
Related questions
Question

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.
Transcribed Image Text: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.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer