Solve the problem or approximate the problem

Assignment Help Basic Computer Science
Reference no: EM131299858

You are given a number of logic blocks B1, B2, ..., Bn where each block has three choices for Vdd, each will give different power and delay.  For example, the three choices for B1 are: high Vdd  ( and delay = 5ns), medium Vdd ( and delay = 7ns), or low Vdd (power = 8mW and delay = 10ns). When we combine two or more blocks, the delay is the maximum of the block delays, and the power is the sum of the block powers.

Write a program using any script language to read an input of CSV file of the following format:

Block,Power,Delay

B1,12,5

B1,10,7

B1,8,10

B2,8,9

Then compute the possible choices for combine all blocks, excluding redundant choices (a choice is redundant if there is another choice with less power and less delay).  Try to make the algorithm run reasonably fast.

  • And if we further require at most 10% of the blocks can use high Vdd. Is the problem NP-Complete?  Write an algorithm (don't have to implement) to solve the problem or approximate the problem.

Reference no: EM131299858

Questions Cloud

Evaluate the accounting decisions made by microstrategy : Evaluate the accounting decisions made by MicroStrategy from an earnings management perspective. What was the company trying to accomplish through the use of these accounting techniques?
Evaluate the companys business models : Evaluate the company's business models. Consider all aspects of the business and the requirements they might have for an online presence based on the organization characteristics.
Compares the finances of ford motor and general motors : Application Report 1: Prepare a 2-3 page report, double spaced using proper APA writing style, that compares the finances of Ford Motor Company (stock symbol: F) to the finances of General Motors (stock symbol: GM)
Explain the relationship between risk and return : Explain the relationship between risk and return.- Identify an example of risk and return.- Explain which is more risky bonds or common stocks.
Solve the problem or approximate the problem : And if we further require at most 10% of the blocks can use high Vdd. Is the problem NP-Complete?  Write an algorithm (don't have to implement) to solve the problem or approximate the problem.
What are three types of preventative maintenance : What are three types of preventative maintenance? Do you practice these at home in your kitchen? Describe HACCP, What it means and why is it so important?
Why can asset allocation be expensive : Asset Allocation Costs. Why can asset allocation be expensive? How can you reduce the costs?
Success of most products and services : Q1. Ease of use is necessary for the success of most products and services. But ease of use is not always easy to define. What are some of the criteria that you would consider if you were developing a user interface?
Differences between us gaap and ifrs reporting : Differences between U.S. GAAP and IFRS reporting for the testing of asset impairment and the requirement to write down the asset value. Indicate whether or not you support the U.S. GAAP or IFRS approach. Provide support for your position.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Provide explanation for why tablespace might have problem

Provide explanation for why your tablespace might have problem, and write at least two actions you can take to lessen the problem

  What is a minimal set of functional dependencies

What is a minimal set of functional dependencies?

  Where is good website or to find info to complete solution

At the next family gathering, your uncle asked you if you knew of any solutions for this problem. Since you are in college and taking a computer course, you know that this problem could easily be solved with the use of a computer

  Evaluate the design and development process

Balsamiq and Axure are commercial products that evaluate the design and development process. Select either Balsamig or Axure and describe a situation where that tool would be more effective than the other. Justify your response

  Projects design and testing

Along with your program, you should also submit an Approach Document for this assignment. This is a short document (two to five pages long) explaining the project's design and testing.

  Write a president class in java

Write a President class in java which will keep track of the following information of any president of the United States: Name,President Number,Date of birth and Date of death.

  What is the length and width

The length of a rectangle is 4 inches more than its width. The area of the rectangle is equal to 4 inches less than 4 times the perimeter. What is the length and width?

  There are four conditions that are necessary

There are four conditions that are necessary for a deadlock to occur. Give an example to show that these conditions are not sufficient for a resource deadlock to occur. When are these conditions sufficient for a resource deadlock to occur? Explain..

  Input of an interest rate

Write a program that tracks an investment for 1 person based on the input of an interest rate. The initial balance should be $2,000. The interest should be added to the balance and output in table format as shown in the supplied sample.

  Purpose and importance of the diagrams

Write a paragraph briefly describing UML and why is it used for? Explain the purpose and importance of the diagrams (Functional and Structural Models) in business process and thus the systems' development.

  Linux for beginners video summary

It is important to note that in any given enterprise the operating system available for computing environment can be different.  Upon watching the video, please provide a summary of your understanding of the video.  The rubric for this assignment ..

  Secure encrypted communications

Transmitting personal and business data and information over secure communication channels is critical. In some cases it is required, especially when personally identifiable information is being transmitted. Credit card numbers, Social Security Numbe..

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