Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Okay so I had this assignment to do. A group of art museums wish to create exhib

ID: 3531756 • Letter: O

Question

Okay so I had this assignment to do. A group of art museums wish to create exhibitions drawing from the paintings in their collections. The possible exhibitions could be 1) all the paintings from one time period, or 2) all the paintings from a given country, or 3) all the paintings of a certain painter, or 4) all the paintings of a certain genre such as Renaissance or Classical, or 5) all the paintings using a certain medium such as Oil or Watercolor, or 6) all the paintings in a certain size range. For each exhibition the output will be a list of paintings satisfying the requested category. Each museum has a list of paintings that are in a text file. This text file contains the necessary information for each painting with the number of paintings for that museum as the first line of the text file. The program should allow the user to continue creating exhibitions for as long as he wishes.

I'm not entirely sure on how to approach this problem. I was hoping someone could help me get started. And I'm not asking for the code. Just how should I start this? What algorithm would I use and how many classes should I use and what would they do? I have the textfiles already.


Here is a sample output:

This program creates art exhibitions.

Would you like to create a new exhibition?

Enter yes or no.

yes

For this exhibition, from which Museums would

you like the art work be drawn?

Please enter their numbers on one line.

1) National Gallery

2) Philips Collection

3) Corcoran

4) Portrait Gallery

1 3 4

Now that you have chosen the museums,

please choose an exhibition topic

and enter its number.

1) Painter

2) Year painted

3) Size

4) Medium

5) Country

6) Genre

6

Please choose the genre

and enter its number.

1) Renaissance

2) Baroque

3) Classical

4) Impressionistic

5) Modern

1

The exhibition is drawn from these museums:

National Gallery

Corcoran

Portrait Gallery

The paintings from the Renaissance period are:

1 )Angelico 1602 Martyrdom of Saint Cosmus

Renaissance Oil Italy 4.6


2 )Pisanello 1640 Study of Ducks

Renaissance Drawing Italy 1.3


3 )Pisanello 1598 Portrait of a Lady

Renaissance Oil Italy 0.7


4 )Tura 1480 Pieta

Renaissance Oil Italy 6.7


5 )Bellini 1501 Christ Blessing after the Resurrection

Renaissance Oil Italy 2.1


6 )Correggio 1530 Saint James the Minor

Renaissance Drawing Italy 1.0


7 )Correggio 1502 The Sleep of Antiope

Renaissance Oil Italy 3.2


8 )Veronese 1570 The Marriage at Cana

Renaissance Oil Italy 12.5


9 )El Greco 1559 Portrait of Covarrubbias

Renaissance Oil Spain 0.5


10)El Greco 1560 Christ of the Cross

Renaissance Oil Spain 5.4


11)Van Eyck 1420 The Virgin with the Chancellor Rolin

Renaissance Oil Belgium 2.3


12)Van Der Weyden 1439 The Annunciation

Renaissance Oil Belgium 3.1


13)Angelico 1622 The Coronation of the Virgin

Renaissance Oil Italy 6.6


14)Ghirlandajo 1590 Portrait of an Old Man

Renaissance Oil Italy 3.5


15)Botticelli 1603 The Virgin and Child

Renaissance Oil Italy 2.4


16)Botticelli 1579 Venus and the Three Graces

Renaissance Oil Italy 2.4


17)Corot 1867 Woman with a Pearl

Renaissance Oil France 3.2


18)Leonardo Da Vinci 1502 Study of draperies

Renaissance Drawing Italy 0.5


19)Leonardo Da Vinci 1500 Mona Lisa

Renaissance Oil Italy 2.4


20)Tintoretto 1600 Paradise

Renaissance Drawing Italy 2.5


21)Ribera 1702 The Clubfoot

Renaissance Oil Spain 0.5


22)Memling 1480 Portrait of an Old Woman

Renaissance Oil Belgium 1.3


23)Memling 1480 Portrait of an Old Woman

Renaissance Oil Belgium 1.3


24)Metsys 1525 The Moneylender and His Wife

Renaissance Oil Belgium 2.1



Would you like to create a new exhibition?

Enter yes or no.

yes

For this exhibition, from which Museums would

you like the art work be drawn?

Please enter their numbers on one line.

1) National Gallery

2) Philips Collection

3) Corcoran

4) Portrait Gallery

1 2 3 4

Now that you have chosen the museums,

please choose an exhibition topic

and enter its number.

1) Painter

2) Year painted

3) Size

4) Medium

5) Country

6) Genre

1

Please enter a painter

Rembrandt

The exhibition is drawn from these museums:

National Gallery

Philips Collection

Corcoran

Portrait Gallery

The paintings by Rembrandt are:

1 )Rembrandt 1659 Self-portrait

Classical Oil Dutch 0.8


2 )Rembrandt 1650 Portrait of a Young Man

Classical Oil Dutch 2.4


3 )Rembrandt 1650 Girl Leaning on a Stone Pedestal

Classical Oil Dutch 3.4



Would you like to create a new exhibition?

Enter yes or no.

yes

For this exhibition, from which Museums would

you like the art work be drawn?

Please enter their numbers on one line.

1) National Gallery

2) Philips Collection

3) Corcoran

4) Portrait Gallery

3 2

Now that you have chosen the museums,

please choose an exhibition topic

and enter its number.

1) Painter

2) Year painted

3) Size

4) Medium

5) Country

6) Genre

5

Please enter a Country

France

The exhibition is drawn from these museums:

Corcoran

Philips Collection

The paintings from France are:

1 )Corot 1867 Woman with a Pearl

Renaissance Oil France 3.2


2 )Manet 1879 The Picnic

Impressionistic Oil France 5.4


3 )La Tour 1679 Adoration of the Shepherds

Baroque Oil France 1.3


4 )Martini 1602 The carrying of the Cross

Renaissance Oil France 5.3



Would you like to create a new exhibition?

Enter yes or no.

no

Thank you for creating exhibitions of paintings



d

I

Explanation / Answer

step1: I/O operation:---


a. for I/O you have to use

InputReader class

BufferReader class

step 2:- create a Painting class

a. data memeber will be

1) Painter

2) Year painted

3) Size

4) Medium

5) Country

6) Genre

7)name

b. methods:-

1.all getter and setter methods for the above data members;

step3:-- create a museum class

a. data memebers

1. a list of paintings object that the museum have using concept of collection classes

2. name of the museum;

methods:

1. getAllPaintingObject

2. getName;

3. setName;


step4:-- create a exibhition class

a. data members will be

1.a list containg the number of museum objects using classes in collection.

2.an arraylist of exibhition topic

3.an arraylist of genere

b . methods will be

1. showListOfMuseumsNames

2. showListOfExibhitionTopic

3. showListOfgenere

4. setArrayListOfMuseums

5. setArrayListOfExibhitionTopic

6 setArrayListOfgenere

7 searchPainting which will search painting from text file and will insert into an array list.

8. getListofMuseums

step 5:


start reading the text file from main method

a. create a exibition object.

b. if you encounter a museum create a museum create a museum object and add it to exibition object

c. if you encountee a painting with name ,genere,country............. etc create a painting object and add it to its corresponding museum

step 6:


1 pompt the user with option that you have showed in example

2 after that ,for example for museum list call exibitionObject.showListOfMuseumsNames;

3. for exhibition topic call exibitionObject.showListOfExibhitionTopic

4 for searching painting call exhibitionObject.getListOfMuseums.getAllPaintings and iterate throught it.

so..overall it just a rough idea you can add additional method and member variables.

good luck for the project

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote