Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program and give output that creates a database based on the characters of Game of Thrones using get and set. The database

Write a C++ program and give output that creates a database based on the characters of Game of Thrones using get and set. The database will consist of two classes: Castle, and Person. You will need to include at least 3 castles and no less than three people per castle.
References for people and castles are:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=characters%20game%20of%20thrones
And
http://gameofthrones.wikia.com/wiki/Great_Houses image text in transcribed
You are asked to write a C# application to create the wESTEROS database (based on the fictional characters of the Game of Thrones by G.G. Martin). The database consists of two classes: Castle, and Person. Classes contain Fields, Properties, and Methods. The database schema is shown below Methads Caste p) boel Implement each of the properties, fields and methods of the classes shown above You will include at least three castles and no less than three people per castle. A reference to the Game of Thrones characters follows: aracters%, ne%20of%20thr Another useful reference is: NOTES (1) Feel free to add methods and properties to enhance the model. (2) 'Find' methods must be based on the Dictionary-class. (3) Add tests to prove the functioning of each method supported by the classes (4) Organization, documentation, and niceness is important and will definitely affect your grade The following fragment is an illustration of the work ahead Castle c1 -new castle("House Stark", -Winterfell"); Person p1- new Person("Arya "Stark", 12); p1.HomeCastle- cl; Console.WriteLine( P1 p1); Person p2 new Person("Jon", "Snow", 28, c1); c1.AddPerson (new Person("Sansa "Stark, 14)); Console.WriteLine( C1"c1); PersonlFirst:Arya, Lest:Stark, Age:12, Castle: House 1 Castle IName: House Stark, Location: Vinterfell Person First:Jon, Last:Snow, Age:20, Castle:Hou Person First:Arya, Last:Stark, lge: 12, Castle:H Person First:Sansa, Lest:Stark, Age:1, Castle

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

=+12.2. Suppose that A 221, A( A) > 0, and 0 Answered: 1 week ago

Answered: 1 week ago

Question

At what level(s) was this OD intervention scoped?

Answered: 1 week ago