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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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