You are in-charge of designing the school curriculum for undergraduate studies and one of your tasks...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are in-charge of designing the school curriculum for undergraduate studies and one of your tasks is to arrange the modules in the different trimesters of undergraduate studies. You are given a list of dependencies between modules. For example, COMP30870 depends on COMP20290, COMP20010, COMP10030, COMP30010 and COMP10070 and therefore, it can only be put in a trimester that is after the trimesters for the dependent modules. [For simplicity, you do not have to worry about the number of modules in each trimester (i.e., your undergraduate students can do an arbitrary number of modules in each trimester).] (a) A dependency cycle between modules is a situation where the module dependencies are cyclic. For example, COMP32145 depends on COMP21345, COMP21345 depends on COMP31200 and COMP31200 depends on COMP32145. Prove that there exists a valid schedule of modules to trimesters if and only if there are no dependency cycles. [10 marks] [Update: There are two parts to this proof: Prove that if there is a cycle, you can't schedule the modules in different trimesters. And prove that if there is no cycle, you can always schedule the modules (the number of trimesters can be arbitrary large). You can use any of the lemmas proven in the lecture as given, by referring to them in these proofs.] (b) Give a (n+ m) algorithm to determine if the modules can be scheduled in at most eight trimesters. Here, n is the number of modules to be scheduled and m is the number of dependencies. Your algorithm should also provide a scheduling of the modules into different trimesters. Argue (no formal proof required) that your scheduling is correct. [15 marks] You are in-charge of designing the school curriculum for undergraduate studies and one of your tasks is to arrange the modules in the different trimesters of undergraduate studies. You are given a list of dependencies between modules. For example, COMP30870 depends on COMP20290, COMP20010, COMP10030, COMP30010 and COMP10070 and therefore, it can only be put in a trimester that is after the trimesters for the dependent modules. [For simplicity, you do not have to worry about the number of modules in each trimester (i.e., your undergraduate students can do an arbitrary number of modules in each trimester).] (a) A dependency cycle between modules is a situation where the module dependencies are cyclic. For example, COMP32145 depends on COMP21345, COMP21345 depends on COMP31200 and COMP31200 depends on COMP32145. Prove that there exists a valid schedule of modules to trimesters if and only if there are no dependency cycles. [10 marks] [Update: There are two parts to this proof: Prove that if there is a cycle, you can't schedule the modules in different trimesters. And prove that if there is no cycle, you can always schedule the modules (the number of trimesters can be arbitrary large). You can use any of the lemmas proven in the lecture as given, by referring to them in these proofs.] (b) Give a (n+ m) algorithm to determine if the modules can be scheduled in at most eight trimesters. Here, n is the number of modules to be scheduled and m is the number of dependencies. Your algorithm should also provide a scheduling of the modules into different trimesters. Argue (no formal proof required) that your scheduling is correct. [15 marks]
Expert Answer:
Answer rating: 100% (QA)
a Proof To prove that there exists a valid schedule of modules to trimesters if and only if there are no dependency cycles we will split the proof into two parts Part 1 If there is a cycle you cant sc... View the full answer
Related Book For
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date:
Students also viewed these mathematics questions
-
Prove that there exists a pair of consecutive integers such that one of these integers is a perfect square and the other is a perfect cube.
-
Prove that there exists a linear program in two variables with exactly one feasible solution.
-
Prove that there exists an undecidable subset of {1} * .
-
Date 1 July 2019 1 June 2020 30 June 2020 1 July 2020 1 July 2020 30 June 2021 1 July 2021 Particulars (???) (???) (To record acquisition of delivery truck) (???) (???) (???) (To record minor repair...
-
Parliament votes a special one-time $1 billion transfer to bail out the buggy whip industry. Tax collections do not change, and no change is planned for at least several years. By how much will this...
-
You are a supervisor of a medical ward. You just checked your mail. You got the latest copy of Supervision, a monthly magazine giving ideas on how to be an effective supervisor. Reading the magazine...
-
The companies involved in the chemical product chain (Figure 1.1) can be categorized by product type. Gas, oil, chemical, pharmaceutical, mineral processing, and consumer goods companies have been...
-
Jane, Jon, and Clyde incorporate their respective businesses and form Starling Corporation. On March 1 of the current year, Jane exchanges her property (basis of $50,000 and value of $150,000) for...
-
Smith Electronic Company's chip-mounting production department had 300 units of unfinished product, each 50% completed on September 30. During October of the same year, this department put another...
-
Each salesperson at Rembrandt Auto-Mart is assigned an ID number that consists of five characters. The first three characters are numbers. The fourth character is a letter: either the letter N if the...
-
If you were to solve the following system by substitution, what would be the best variable to solve for and from what equation? 3x + 6y = 9 2x - 10y= 13 A. x, in the first equation B. y, in the first...
-
Stanley Rosens cumulative lifetime taxable gifts amount to $250,000. The following year, he gives his favorite nephew $165,000 to open a liquor store. a. What is the taxable gift? b. What is the tax...
-
How much of U.S. government debt is held by the rest of the world?
-
Visit www.starbucks.co.uk and www.costa.co.uk. Compare and contrast these two coffee chains in terms of the major retail marketing decisions, such as retail positioning, product assortment, store...
-
On August 2, 2017, Henry Hughes paid \(\$ 30,000\) for 500 shares of Young Corp. common stock. On July 28, 2018, he received a nontaxable 20 percent common stock dividend. On December 23, 2018, he...
-
Delta Corporation, an S corporation, has $30,000 of taxable income before charitable contributions. The corporation has $5,000 in charitable contributions for the year. What is Delta's charitable...
-
Time Left: 00:0- Bramble Co. sells product P-14 at a price of $52 a unit. The per-unit cost data are direct materials S17, direct labour S11, and overhead S12 (75) % variable). Bramble has no excess...
-
What is an access control list?
-
Find the directed graphs of the symmetric closures of the relations with directed graphs shown in Exercises 5-7. In exercise 1. 2. b d
-
In Exercise determine whether the given graph has a Hamilton circuit. If it does, find such a circuit. If it does not, give an argument to show why no such circuit exists. b. d e
-
Prove the domination laws in Table 1 by showing that a) A U = U. b) A = .
-
What is the pro forma statement, and how important is it for a business?
-
Briefly compare replacement value to liquidation value of an asset.
-
What do we mean by budgeting, and how would this process serve the firm?
Study smarter with the SolutionInn App