A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 5 years ago

what are keys and values in a hash table ?

  • This Question is Closed
  1. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Straightforward answer: Key are associated with values. http://xlinux.nist.gov/dads/HTML/dictionary.html Simple answer: You have a bunch of data (lets say my data are: cupcake, nutella, and puppies) and you want to retrieve them using another form of data (lets say: food and pet). That other form of data are keys, think of them as categories (you can find cupcakes and nutella at the "food" store; you can find puppies at the "pet" store). So you can group a bunch of data (values) with a single category (a key). In practical computer sciency terms, you can use keys "to sort customer records alphabetically" using the first letter in their last name (which is the key) and then moving on to their "given names." http://xlinux.nist.gov/dads/HTML/key.html

  2. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thank you ! :)

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.