Q&A Categories

Difference between Dictionary and HashTable

Mar

13

2012

Difference between Dictionary and HashTable

In: Education Asked By: daniel [554 Orange Star Level]
Answer #1

HashTables and dictionaries are methods of storage and retrieval of information. Nevertheless, they have huge differences that determine each one appropriate, depending on the requirements of the person seeking information. Learn their major differences further below.

1. Definition

A dictionary is an alphabetical source of words derived from a single language. It offers pronunciations, spellings and definitions of the words. You may find some dictionaries being more detailed than others, with regards to offering additional information to the listed words. Meanwhile, a HashTable is an index of values in which keys are translated to other values to represent them.

2. Uses

There are numerous dictionaries currently available and each one is based on words used in a certain language. The main use of a dictionary is therefore to offer an insight into the words of the target language. However, HashTables are particularly utilized in the sector of computer science where it is simpler to enter numerical values into a database. HashTables are the more recent innovation and they are used in most programming languages.

3. Simplicity

A dictionary is very beneficial as it offers a wide range of data about specific words. There are usually multiple definitions, glossaries and pronunciation assistance offered for one word. From a very young age, people are taught that dictionaries are the best source of getting language information. In contrast, HashTables are linked to specialized computer programs.

4. Popularity

A dictionary is more popular is it usually viewed as the simplest way of finding information. In contrast, HashTables are less popular as they are limited to computer technology. Nevertheless, the major benefit of using HashTables is faster accessibility of the information.

HashTables and dictionaries are equally significant for communicating a certain language. Both are utilized in various ways and they are appropriate for unique purposes.

Answers Answered By: daniel [554 Orange Star Level]
Share

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »


Become our fan

Star Points Scale

Earn points for Asking and Answering Questions!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]