Answer the following statements true (T) or false (F)

1) A growth function shows the relationship between the size of a problem and the part of an algorithm that we are trying to
optimize.
2) When comparing two growth functions, a larger exponent on the problem size in the growth function indicates greater
efficiency.
3) If the problem size is fairly small, then there is little difference between the efficiencies of different algorithms.
4) When determining the complexity of a segment of code, simple print statements are generally O(1).
5) When evaluating the complexity of a loop, all statements in the loop body are considered to be O(1).


1) T
2) F
3) T
4) T
5)F

Computer Science & Information Technology

You might also like to view...

Compare and contrast vectors and arrays.

What will be an ideal response?

Computer Science & Information Technology

Given the following information: What is the result of =IF( B4>65, "Passing", "Failing")?

A) TRUE B) FALSE C) Passing D) Failing

Computer Science & Information Technology

Columns that are too narrow or too wide for the material they contain can make a table hard to read. Explain how this problem can be resolved.?

What will be an ideal response?

Computer Science & Information Technology

Which command do you use to fit a video in the frame?

A. The Place command B. The Preview command C. The Fitting command D. The Resize command

Computer Science & Information Technology