wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Program Efficiency 2

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

The measure of the efficiency of an algorithm is called algorithm’scomputational (a)   .

2.

Programs with a bigger ) notation value run (a)   than programs with a smaller O notation value.(

3.

(a)   term effects the most ,an algorithm’s performance.

4.

Only the (a)   term is included in big O notation

5.

An algorithm’s performance cannot be slower than the (a)   .

6.

(a)   is inversely proportional to the wall clock time.

7.

A (a)   ia an algorithm encoded into some programming language.

8.

The overall efficiency of a program depends on the amount of (a)   an algorithm requires to solve a program.

9.

As the (a)   size for a program grows ,it effects the efficiency of an algorithm.

10.

For linear search , the worst case running time is (a)   in the size of the list.

11.

The best case running time is the maximum running time for all the possible in puts.

a)

True

b)

False

12.

Complexity is the only absolute measure for evaluating program efficiency.

a)

True

b)

False

13.

As the input size for a programs grows , it affects the efficiency of an algorithm.

a)

True

b)

False

14.

1. O(1)is ____?

a)

Constant time

b)

Linear time

15.

Best case efficiency means that the ______execution time of the algorithm

a)

highest

b)

lowest