You work as the application developer at Certkiller .com.
You must specify a class
which is optimized for key-based item retrieval from
collections. Your class must
cater for key-based item retrieval for small and large
collections.
Which of the following class types should you specify?
A. Select the OrderedDictionary class.
B. Select the HybridDictionary class.
C. Select theListDictionary class.
D. Select the Hashtable class
Answer / gaaa
Answer: B
Explanation: A HybridDictionary is implemented as a
ListDictionary for small
collections and a Hashtable for large collections. Hence it
provides very efficient
storage for both small and large collections.
OrderedDictionary supports sorting based on the key. It has
similar disadvantages for
small collections to Hashtable on which it is based.
ListDictionary is ideal for small collections because it is
implemented as a light-weight
linked list. Performance will suffer for large collections.
HashTable is ideal for large collections, for small
collections the overheads of such a
sophisticated data structure do not compensate for the benefits
| Is This Answer Correct ? | 3 Yes | 0 No |
What Is The Function of Configuration Partition?
is the cogent cyber solution trainig centre best for .net course?
i am using window xp professional on my laptop. i have 2 internet connection one is connected on network cable. other one is reliance data card, when i am browsing websites i am getting generic host svchost.exe -- application error the instruction at "0x745f2780" reference memory at "0x00000000". the memory could not be 'read' please tell me solution for that error. how can i resolve it.
what are basic certification courses in computer?
What is the order in which GPOs are applied?
You work as the application developer at Certkiller .com. To get information on a specific method named myMethod, you use Reflection. You need to find out if myMethod can be accessed from a derived class. Which of the following properties should you call from the myMethod class?
A Computer gets shutdown as soon as it is plugged in with a cracking noise what is the reason and how to recover it and bring to normal state?brief description what are the necessary steps taken to bring the system up to normal state?
I want to look at the RID allocation table for a DC. What do I do?
what is the difference between MCP,MCSA and MCSE a brief description?
What is Server OS? What is Domain Controler?
Which file system support Raid concept.FAT or NTFS
• What is Active Directory? • What is LDAP? • Can you connect Active Directory to other 3rd-party Directory Services? Name a few options. • Where is the AD database held? What other folders are related to AD? • What is the SYSVOL folder? • Name the AD NCs and replication issues for each NC • What are application partitions? When do I use them • How do you create a new application partition • How do you view replication properties for AD partitions and DCs? • What is the Global Catalog?