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 3620068
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:57:29+00:00 2026-05-18T22:57:29+00:00

Say we are representing school course data. The relevant part of the example encompasses

  • 0

Say we are representing school course data. The relevant part of the example encompasses three real-world concepts: school, campus, and semester. A school can have many campuses, and there is a finite number of semesters.

In the real world, if we wanted to specify a campus + semester combination, it would be elementary. But the data model needs to be represented using a tree structure, like

Foo University:

  • Main campus

    • Fall 2010
    • Spring 2011

Bar College:

  • North campus
    • Spring 2011
  • South campus
    • Spring 2011

This pattern could continue. For instance, departments could exist in the real world as children of the school, but in the model they would be represented as child nodes of the semester, because what’s important about them can change from semester to semester. Basically, we represent the permutations of a set of choices as a tree.

What is the name for this data model pattern?

  • 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-18T22:57:29+00:00Added an answer on May 18, 2026 at 10:57 pm

    In the heading you heading mention “choice permutations” which suggests a dynamic pattern (i.e. how to use such a structure for decision making). If it’s this then I’d agree with @robert that it’s a Decision Tree.

    In the body however you say

    …the data model needs to be represented using a tree structure…

    If your questions is simply the name of this tree-based structural pattern the answer is Hierarchical Database Model.

    It’s characterised by 1..N relationships between parent and child and pre-dates the Relational model (it was – and still is – the basis for IBM’s IMS database system).

    You allude to one of the problems with it. Namely, that the only way to model graph-based structures using it means denormalising and repeating elements. Removing that limitation is central to the Relational model.

    hth.

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

Sidebar

Related Questions

Say I come up with some super-duper way of representing some data that I
Say I have a table of items representing a tree-like structured data, and I
Let's say that I have an adt representing some kind of tree structure: data
Let's say I have an interface representing a domain object: public interface IFoo {
Let say I have a BitmapData with different pixels representing an object, and some
Say you have an application divided into 3-tiers: GUI, business logic, and data access.
Say I have three files (template_*.txt): template_x.txt template_y.txt template_z.txt I want to copy them
Say, we have a circular list representing a solution of the traveling salesman problem.
Let's say we have an org.w3c.dom.Document representing the following XML: <Fruits> <Apples> <Red/> <Green/>
Suppose I have a database containing 500,000 records, each representing, say, an animal. What

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.