The best way to measure the goodness of an algorithm is

A) to write a computer program that uses the algorithm and time its execution
B) to write a computer program that uses the algorithm and run it on the hardest and largest inputs
C) to look at its worst case and average case complexity functions
D) to look at the sum of its execution time and the space it uses


C) to look at its worst case and average case complexity functions

Computer Science & Information Technology

You might also like to view...

Which of the following operations do forward iterators have?

A. Overloaded operator+ to add an int value to the iterator to move the place the iterator points forward by the argument number of elements. B. Overloaded operator* to multiply the iterator by an int value to move the place the iterator points by a number of elements equal to the argument. C. Overloaded operator++ to move the place the iterator points forward by one element. D. Overloaded operator-- to move the place the iterator points backward by one element.

Computer Science & Information Technology

This enables, which of the following, for network traffic across redundant links so that all the links in a network can be used by at least one MSTI.

What will be an ideal response?

Computer Science & Information Technology

The ________ property on a form determines the order in which a control receives the focus

A) Enabled B) TextAlign C) TabIndex D) TabStop

Computer Science & Information Technology

A technician documents the findings of illegal material that was found on a workstation. Which of the following should the technician do NEXT when storing the workstation?

A. Set all users to administrators B. Destroy the hard drive C. Reimage the workstation and deploy D. Adhere to the chain of custody

Computer Science & Information Technology