Which of the following is true about the sorted bag collection compared to the regular bag collection?

A. the add method is identical in both
B. the __init__ method is identical in both
C. the sorted bag's in operator runs in linear time
D. the items in a sorted bag must be of the same type


Answer: D

Computer Science & Information Technology

You might also like to view...

Which of the following declares a StreamReader variable namednewFile?

A. Dim inFile As IO.StreamReader B. Dim newFile As IO.StreamReader C. Dim newFile As IO.StreamWriter D. Dim newFile As StreamReader

Computer Science & Information Technology

Which of the following is BEST used to control access to the LAN?

A. DMZ B. NAC C. NAT D. Remote access

Computer Science & Information Technology

When viewing the version number for a Linux kernel, what number indicates the stability of the kernel?

A. major number B. revision number C. minor number D. production kernel number

Computer Science & Information Technology

A customer's laptop LCD needs replacement. Which tool should you use to open the case?

a. Pliers b. Plastic shim c. Plastic tweezers d. Flathead screwdriver

Computer Science & Information Technology