The kindergarten allows the parents (caretakers) to select daily the menu for lunch. There are over 40 possible items to be included in the lunch menu. For a lunch item we keep a 4 digits code, its name (up to 28 characters), and the number of calories (an integer).

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
Happy Learning (this is a fictional scenario)

The kindergarten allows the parents (caretakers) to select daily the menu for lunch. There are over 40 possible items to be included in the lunch menu. For a lunch item we keep a 4 digits code, its name (up to 28 characters), and the number of calories (an integer).

A parent (caretaker) can make for each of his/her children a lunch order everyday. All orders made are stored. If no order is made in a day the last order made will be provided. An order consists of maximum 6 items. Same item cannot be ordered multiple times in the same order. The order does not store the caretaker who made the order.

The Entities are: PARENT, CHILD, MENU, ORDER

1. Relationship Strength: Weak or Strong?

2. Relationship Type: (M:1, 1:1 etc)

3. What are the Cardinalities?

  • PARENT to CHILD? 
  • CHILD to ORDER?
  • ORDER to MENU?

Please don't copy and paste answers from other sources, Thank You!

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT