Answer the following statements true (T) or false (F)
1) The contains method of the List ADT (Abstract Data Type) lets you know if a particular element is in a list.
2) The primary difference between the OrderedList ADT and the UnorderedList ADT is in how elements are removed from
the list
3) Using a circular array for an array-based implementation of a list would improve the performance of the operation to remove
an element from the middle of a list
4) The operation to remove an element from an array implementation of a list collection is O(n).
5) The remove operation returns a boolean value that indicates if the element to be removed was found in the list.
1) T
2) F
3) F
4) T
5) F
You might also like to view...
By default, graphical components that are added to a JPanel are placed in the center of the pane.
Answer the following statement true (T) or false (F)
Write a code fragment that reads and prints integer values entered by a user until a particular sentinel value (stored in SENTINEL) is entered. Do not print the sentinel value.
What will be an ideal response?
Which of the following is one of the most popular symmetric algorithms of recent years?
A) AES B) RSA C) DES D) IPsec
The company where Derek works has tasked him with setting up and securing a SOHO router. He wants to make sure the wireless network is secure and that no unauthorized person can gain access to the network. What is the first step Derek should perform to secure the wireless router?
A. Disable SSID. B. Set encryption standard. C. Check radio power levels. D. Change default user name and password.