Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6098923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:12:49+00:00 2026-05-23T13:12:49+00:00

In college we learned the three main abstract data types were Containers (Stacks, Queues,

  • 0

In college we learned the three main abstract data types were Containers (Stacks, Queues, and Tables), Dictionaries, and Priority Queues. There are probably an unlimited number of ways to group ADTs at a high level like this, but this is a good start.

I don’t really understand when you would choose a Dictionary ADT to solve a computational problem though. Stacks and Queues seem to come up naturally, but not dictionaries.

The one example I can think of is a dictionary in the sense we use it in the real world. A dictionary keeps and ordered set of words for fast lookup, and what you get when you look up a word is: correct spelling, how to pronounce the word, what part of speech it is, definition of the word, etc.

As I’m starting to understand it better, the more it seems like a “dictionary” is another way to think of querying a database. When you write a SQL SELECT statement, you’re usually looking for a when a primary key equals a certain value (not always of course, you can select on any field that exists in a table).

Is this the correct way to think of a Dictionary ADT? Or is the intended use more limited than this…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:12:50+00:00Added an answer on May 23, 2026 at 1:12 pm

    Your SQL example is pretty accurate. You’re searching for a primary key (the key of the dictionary entry) to get some fields (the values) associated with it.

    I personally found dictionaries useful in my game programming courses. I would load my resources and then cache them into a dictionary for later use. This way, I didn’t have to know an index number for a specific resource, I could give it a key that would relate to the resource.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've learned in College that you always have to free your unused Objects but
I learned Java in college, and then I was hired by a C# shop
I am a .NET webdev using ASP.NET, C# etc... I learned javascript in college
In my college days, I never realized what patterns were there in the Java
suppose there is a college database name | state | enrollment ============================= Stanford |
What are the best practices for Design by Contract programming. At college I learned
Learned all about computing algorithm costs in College, but that was so long ago
In college I learned how to use UML to document OO applications. In the
I'm following an operating system course at college and we recently learned how floating
In college I took on a class on modern physics, in which we learned

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.