Compare the following strategies with programming time

Assignment Help C/C++ Programming
Reference no: EM13939252

For a certain program, 1% of the code accounts for 50% of the execution time. Compare the following strategies with respect to programming time and execution time. Assume that it would take 100 man-months to write it in C, and that assembly code is 10 times harder to write and four times more efficient. Also assume it would take 100 hours in execution if entire program is written in C.

a. Entire program in C.

b. Entire program in assembly.

c. First in C, then the key 1% rewrite in assembly.

Reference no: EM13939252

Questions Cloud

What are the steps necessary for success of nations : What are the steps necessary for success of nations? Support your argument with examples where possible.
Analyzing two communication incidents : Description: This assessment requires you to analyse two communication incidents in terms of the communication process.
Complete an action plan for michael : Using the template provided complete an action plan for Michael. What sources might you need to support the plan and how would you access these?
How would respiratory system compensate for increase in acid : The body is experiencing an increase in acid due to a severe infection in the kidney. How would the respiratory system compensate for this increase in acid? Describe both why and how this compensatory mechanism occurs.
Compare the following strategies with programming time : For a certain program, 1% of the code accounts for 50% of the execution time. Compare the following strategies with respect to programming time and execution time. Assume that it would take 100 man-months to write it in C, and that assembly code i..
Analyze the impact decision rights have on successfully : Analyze the impact decision rights have on successfully implementing a pricing strategy into an organization.
How can material be moved through the lymphatic system : Explain why the lymphatic system is a one-way system and the cardiovascular system is a two way system. How can material be moved through the lymphatic system? how does the anatomy of the lymphatic system correlate to this function?
Micro-payment systems : Choose one of the micro-payment systems (see e.g., http://en.wikipedia.org/wiki/Micropayment) or micro-credit system (see, e.g., http://en.wikipedia.org/wiki/Microcredit), try to describe how it works briefly. Discuss its security.
Description of the organisation, the product or service : APA 6th Referencing (In Text and Reference List) Assessment 2: Marketing Plan For this assessment, you are required to choose a specific Australian organisation (or one operating in Australia) and develop a marketing plan for their product or serv..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program that prints out any size triangle based on 2 inputs

My goal is to write a program that prints out any size triangle based on either one or two inputs (would prefer 2; e.g. range[a, e]). Each line of the triangle will be centered and looks like the attached output (equilateral triangle).

  Write a program to illustrate how to use your class

Declare an array of 10 components of type bankAccount to process up to 10 customers and write a program to illustrate how to use your class.

  Program to gets an integer from the user and returns it

get the radius of the circle from the user and return it to main

  Design a solution that prints the amount

Design a solution that prints the amount of pay a commissioned salesperson takes home. The more sales documented, the larger the commission rate. Allow the user to input a total sales amount for the week. Compute the commission based on the follow..

  Write a main function to test the class employee

Define an Employee class. Add the following private date members to the class: string status, int dependents. Status represents the marital status of the employee and should be set to either "m" or "s".

  Write the definition of the member function two of yclass

Write the definition of the member function two of yClass so that the private member variable a is initialized to the value of the first parameter of two, and the private member variable b is initialized to the value of the second parameter of two..

  Find the total number of lines in a collection

Write two functions, so that we can find the total number of lines in a collection of text files.

  Three or more dimensions

What kind of program, or problem, might necessitate arrays of three or more dimensions?

  Identify the base case.

What valid values can be passed as parameters to the function mystery?

  Tcp terminate the new connection

If a copy of the old FIN is delivered, will TCP terminate the new connection? Why or why not? Can a router send request to another router for TCP connection? Give reason.

  Sum of two squares of natural numbers

The formula "x is a sum of two squares of natural numbers" can be written as ?y?z(x = y × y + z × z).

  Calculate compounded monthly interest

So for example if I were to have an initial balance of $1250.00 with an interest rate of %13 paid over the course of 4 months it should come out to $2038.09 total for interest added to the initial balance

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