subject

Definitions and specifications: a task (e. g, abc can be completed only if it has no dependencies or all its dependencies are met. a dependency: (a, b) indicates that a has to be completed before b. a task list is a list of all tasks to be completed. a dependency list is a list of all dependencies for all task.

the task list and dependency list will be read from a text file. a time step is the event when all task that can be completed is completed.
the task list and the dependency list can be modified according to user input. when a task is deleted, all dependencies for the deleted task are also deleted. the task list and dependency list are read into your project from a single text file ("taskdata. txt"). the first line in the text file gives the task list. tasks are separated by a space. the second line in the text file gives the dependency list. the dependencies are separated by a space.

tastdata. txt example:

abcdef (a, b) (a, c) (bd) (cd) (de) (e, f)

given the data in the taskdata. txt and any changes provided through user input, provide the following information:
1) a valid ordering of task if one exist.
2) if no valid ordering is possible, identify a cycle that prevents a valid ordering.
3) if a valid ordering exist, indicate whether or not the there is more than one.
4) report the minimum number of time steps needed to complete all tasks.
5) for each time step, list all remaining tasks that can be completed during that time step.

this project should also provide the option to (1) add new tasks, (2) delete a task. (3) add a dependency, and (4) quit. when the task list or the dependency list is modified, the program will recalculate the information above and display the updated information.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
You know the right answer?
Definitions and specifications: a task (e. g, abc can be completed only if it has no dependencies...
Questions
question
Mathematics, 22.09.2020 14:01
question
Mathematics, 22.09.2020 14:01
question
Mathematics, 22.09.2020 14:01
question
Mathematics, 22.09.2020 14:01
question
Mathematics, 22.09.2020 14:01
question
English, 22.09.2020 14:01
Questions on the website: 13722363