Question: Question 3 : 2 0 points The Computer Science program at Drexel University has a very complex course structure. As you already know, certain courses

Question 3:20 points
The Computer Science program at Drexel University has a very complex course structure. As
you already know, certain courses are prerequisites for others. For example, you cannot take
CS260 before you take CS265 as the latter is a prerequisite for the former. For some reason, the
department has called upon you to help them figure out certain intricacies about the structure
of the program they themselves designed.
(a)[10 points] Is there any sequence of course that is not possible to take due to its, possibly,
unreasonable prerequisite requirements? Specify a graph algorithm, in plain English bullet
points, to answer this question by considering the following questions.
What will be the input to your algorithm? What will be the nodes and edges of your
graph?
How do you determine whether such an forbidden sequence exists?
What is the time complexity of your algorithm?
(b)[10 points] Assuming that a forbidden sequence of the form mentioned in part (a) doesn't
exist, specify an algorithm, in plain English bullet points, that will output a permissible
sequence of courses for a student to follow. Also, analyse your algorithm's time complexity.
 Question 3:20 points The Computer Science program at Drexel University has

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!