Justify the correctness of the algorithm

Assignment Help Computer Engineering
Reference no: EM133430011

Case Study: someone wants to complete a set of ?? tasks and have a large supply of robots (say, at least ??) to carry them out. These tasks are labeled 1 through ??. Each task takes any robot exactly one minute to complete. These tasks, however, are not independent of one another, so they may not all be executed in parallel. Task ?? needs inputs from each task in a list ???? of tasks. Give an algorithm that takes the ?? lists as input and returns a schedule of tasks to execute each minute so that the total time taken to complete all of the tasks is minimized.

Questions:

(a) Describe precisely what ther algorithm is given as input and what it needs to output.

(b) Write the algorithm in pseudocode.

(c) Justify the correctness of the algorithm. The justification does not need to be long or formal, just convincing.

(d) Analyze the running time of the algorithm in terms of ?? and ??, where ?? is the total length of the ?? lists. To obtain full credit for part (b), the algorithm must run in time ??(?? + ??).

 

Reference no: EM133430011

Questions Cloud

Discuss role of ideology and vision in formulation : Discuss the role of ideology and vision in formulation of sustainability practices.
Explain networking in server virtualization or network : Explain networking in server virtualization or network virtualization.
Barriers do service providers and policy makers construct : What barriers do service providers and policy makers construct, either intentionally or unintentionally, that prevent poor families from accessing resources?
Identify the best hardware platform to be used in order : Identify the best hardware platform to be used in order to execute the vector addition. Examine what is the best programming technique to perform the vector
Justify the correctness of the algorithm : Describe precisely what ther algorithm is given as input and what it needs to output. Write the algorithm in pseudocode. Justify the correctness
Grimke sisters talk truth to power : The Grimke Sisters document is called Grimke Sisters Talk Truth to Power. What truths did they speak and who were they addressing?
Average Canadian to implement idea : How easy do you think it will be for the average Canadian to implement this idea/research finding?
Current understanding of power-privilege and oppression : How does hate and violence against Asians connect to race or ethnicity, and to your current understanding of power, privilege, and oppression
Sense of belonging and direction for society : Does following a particular ideology close the mind to new ideas and lead to hatred, or does it provide a sense of belonging and a direction for society?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd