1. Home
  2. Computing & Technology
  3. Ruby

Key/Value Pairs

By Amanda & Michael Morin, About.com

Definition:

Key/Value Pairs - Any value associated with a key identifying it. In a list of grades, the key 'Bob' may have the value 82 associated with it. The key 'Alice' (who is a better student) may have the value 97 associated with it. Key/value pairs aren't often seen on their own, but rather part of data structures such as associative arrays.

Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Glossary
  5. G - L
  6. Key/Value Pairs

©2009 About.com, a part of The New York Times Company.

All rights reserved.