In an array based implementation of the ADT List, what is a characteristic of the time required to access any particular element in the list?

a. you have no way of knowing how long it will take
b. the time required is a constant
c. the time required is a function of the size of the list
d. It is of order O(n2)


b. the time required is a constant

Computer Science & Information Technology

You might also like to view...

In an ideal situation, customers would arrive at a rate _____ the service time.

A. shorter than B. that matches C. longer than D. independent of

Computer Science & Information Technology

To remove the hypertext border from an image, add a(n) ____ attribute with the border property set to "none".

A. border B. img C. markup D. style

Computer Science & Information Technology

Information about a file, such as who created it and when, is called metadata

Indicate whether the statement is true or false

Computer Science & Information Technology

You would use the ________ function to find out how much money you would pay on a mortgage loan of $100,000 with a monthly rate of 5%

A) PV B) FV C) PMT D) IF

Computer Science & Information Technology