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

  Write a program which adjusted bill with a sales tax

Write a program which accepts the total of food and drink purchased for a restaurant bill as input. The output should be adjusted bill with a sales tax of six percent 6% and a tip (gratuity) of 15%.

  It should be clear, based on your comments

Add comments to the code. It should be clear, based on your comments, what each line (or set of lines) does in the program.

  Create a file stack.cpp that will contain all the methods

Create a file Stack.cpp that will contain all the methods declared in Stack.h. Because this is a cpp file, do NOT use any inline methods in it.

  Complete the payroll program with following driver object

complete the payroll program with the following driver objects.

  We wish to process survey results

Suppose we wish to process survey results that are stored in a file. This exercise requires twoseparate programs. First, create a program that prompts the user for survey responses and outputseach response to a file

  Create a main function to test the split function

Create a main function to test the split function, display the string prior to calling the split() function. Display the return value of the split function. Display each element of the vector after the split() function returns.

  Linked listsnbspalong with vectors linked lists are one of

linked listsnbspalong with vectors linked lists are one of the fundamental data structures in computer science. unlike

  Random permutations

Write a program in C++ that gives a prompt to the users, asking for an integer M.It then prints out a M different random permutations, one on each of M lines, of the numbers 1, 2, ... , 10, separated by spaces or tabs.

  Is a void function a function that does not return a value?

Is a void function a function that does not return a value?

  Write a c++ program that prompts the user for a double

Write a C++ program that prompts the user for a double that is either positive or negative.

  Use a for loop to generate 100 random numbers.

Use a For Loop to generate 100 random numbers. Determine the most current maximum and minimum number as the random numbers are being generated. This is referred tp as a "running" maximum and minimum. Display the running maximum and minimum values as ..

  What more efficient way to write this function for matrix

What's a more efficient way to write this function for a matrix? This one has to go through all the numbers, but that would take too long. r_num is row and c_num is column

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