Question

This project requires you to work with the arrayList data structure and text files. This program demonstrates the ArrayList add() method that will add an object to the ArrayList, and the clear() method that will remove all the objects of an ArrayList. Also demonstrated is the for-each-loop. This loop is related to the for loop and allows you to work through a data structure like and ArrayList and examine each element in that data structure. Also, there is a method that demonstrates reading a series of integer numbers entered on a line. In this project you are to model a group of art museums that 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 will supply the text files for each museum. I have a program written but I'm having problems to run it correctly.

***here is the program I have but the output is not correct I want help to fix this.****

CreateExhibition.java:

import java.util.Scanner;

public class CreateExhibition{

  public static void main(String[] args){

     Scanner keyboard = new Scanner(System.in);

     System.out.println("This program creates art exhibits.");

     System.out.println("Would you like to create a new exhibition?");

     System.out.println("Enter yes or no.");

     while(keyboard.next().toLowerCase().equals("yes")) {

        Exhibition exhibition = new Exhibition();

        String theExhibitionList = exhibition.paintingsChosen();

        System.out.println(theExhibitionList);

        System.out.println("Would you like to create a new exhibition?");

     }

     keyboard.close();

}//main

}//class

Exhibition.java:

import java.util.ArrayList;

import java.util.Arrays;

import java.util.Collections;

import java.util.Scanner;

public class Exhibition {

  Scanner keyboard = new Scanner(System.in);

  Scanner scanSingleLine;// = new Scanner (singleLine);

  

//Declare Museums Variables

  Museum corcoran;// = new Museum("Corcoran", "corcoran.txt");

  Museum nationalGallery;// = new Museum("nationalGallery", "nationalGallery.txt");

  Museum philipsCollection;// = new Museum("philipsCollection", "philipsCollection.txt");

  Museum portraitGallery;// = new Museum("portraitGallery", "portraitGallery.txt");

//Declare ArrayLists Variable

  String theExhibitionList="The exhibition is drawn from these museums:n";

  private ArrayList<Museum> museumsUsed;// = new ArrayList<Museum>();

  private ArrayList<Painting> exhibitionPaintingsArray;// = new ArrayList<Painting>();

//Static ArrayLists

  public static ArrayList<Museum> museumsOptions;// = new ArrayList<Museum>();

private static ArrayList<String> allPainters;// = new ArrayList<String>();

  

// Constructor Data  

public Exhibition() {  

  //  Museums Objects

  corcoran = new Museum("Corcoran", "corcoran.txt");

  nationalGallery = new Museum("nationalGallery", "nationalGallery.txt");

  philipsCollection = new Museum("philipsCollection", "philipsCollection.txt");

  portraitGallery = new Museum("portraitGallery", "portraitGallery.txt");

  //  ArrayList Objects

  museumsUsed = new ArrayList<Museum>();

//   paintingsFromOneMuseumArray = new ArrayList<Painting>();

  exhibitionPaintingsArray = new ArrayList<Painting>();

  museumsOptions = new ArrayList<Museum>();

     museumsOptions.add(corcoran);

     museumsOptions.add(nationalGallery);

       museumsOptions.add(philipsCollection);

       museumsOptions.add(portraitGallery);

      allPainters = new ArrayList<String>();

         allPainters.addAll(Arrays.asList("Angelico", "Bacciarelli", "Baldovinetti", "Bellini", "Botticelli", "Brouwer", "Carpaccio", "Cimabue", "Corot", "Correggio", "David", "Degas", "El Greco", "El Grenara", "Gainsborough", "Gauguin", "Ghirlandajo", "Giorg", "Giotto", "Goya", "Jan Fyt", "La Tour", "Lely", "Leo Vincia", "Leonardo Da Vinci", "Magnasco", "Manet", "Mantegna", "Martini", "Memling", "Metsis", "Metsys", "Murillo", "Pisanello", "Raphael", "Rembrandt", "Renoir", "Ribera", "Rubens", "Tiepolo", "Tintoretto", "Titcomian", "Titian", "Trobitian", "Tura", "Uccello", "Van Der Hoveven", "Van Der Weyden", "Van Dyck", "Van Gogh", "Velasquez", "Veronese", "Zurab", "Zurranian"));

}

  

  private int selectTopic() {  

     System.out.println("Now that you have chosen the museums,n" +

           "please choose an exhibition topicn" +

           "and enter its number.");

     System.out.println("1) Painter");

     System.out.println("2) Year painted");

     System.out.println("3) Size");

     System.out.println("4) Medium");

     System.out.println("5) Country");

     System.out.println("6) Genre");

     int choice = keyboard.nextInt();

     keyboard.nextLine();

     return choice;

  }

  

  public String paintingsChosen() {

     getMuseumsForTheExhibition();

     int topicSelection = selectTopic();

     String paintingList=null;

     switch (topicSelection)

     {

     case 1:// painter

        String painter = getPainter();

        theExhibitionList = theExhibitionList + "The paintings by " + painter + " are: n";

        paintingList = painter(painter, museumsUsed);

        break;

     case 2:// Year painted

        String yearPainted = getYear();

        String singleLine = ""+yearPainted;

        scanSingleLine = new Scanner(singleLine);

        double startYear = scanSingleLine.nextDouble();

        double endYear = scanSingleLine.nextDouble();

        theExhibitionList = theExhibitionList + "The paintings from " + startYear + " to " + endYear + " are: n";

        paintingList = yearPainted(startYear, endYear, museumsUsed);

        break;     

     case 3:// Size

        String paintingDimensions = getSize();

        singleLine = new String(""+paintingDimensions);

        scanSingleLine = new Scanner(singleLine);

        double startSize = scanSingleLine.nextDouble();

        double endSize = scanSingleLine.nextDouble();

        theExhibitionList = theExhibitionList + "The paintings from " + startSize + " to " + endSize + " are: n";

        paintingList = paintingSize(startSize, endSize, museumsUsed);

        break;

     case 4:// Medium

        String medium = getMedium();

        theExhibitionList = theExhibitionList + "The paintings produced with " + medium + " are: n";

        paintingList = medium(medium, museumsUsed);

        break;

     case 5:// Country

        String country = getCountry();

        theExhibitionList = theExhibitionList + "The paintings painted in " + country + " are: n";

        paintingList = country(country, museumsUsed);

        break;

     case 6:// Genre

        String genre = getGenre();

        theExhibitionList = theExhibitionList + "The paintings that fit into the " + genre + " genre are: n";

        paintingList = genre(genre, museumsUsed);

        break;

     }// switch

     return theExhibitionList + paintingList;

  }

  private void getMuseumsForTheExhibition() {

     //Display museum options

     System.out.println("For this exhibition, from which Museums wouldn" +

           "you like the art work be drawn?");

     System.out.println("Please enter their numbers all on one line seperated by spaces.");

     for (int i=0;i<museumsOptions.size();i++){

        System.out.println(" " + (i+1) + ") " + museumsOptions.get(i));

     }

     String singleLine = keyboard.nextLine();

     scanSingleLine = new Scanner(singleLine);

     int i=0;

     while (scanSingleLine.hasNextInt()){

        museumsUsed.add(museumsOptions.get(scanSingleLine.nextInt()-1));

        theExhibitionList=theExhibitionList + museumsUsed.get(i)+"n";

        i++;

     }  

  }

     

/*TOPICS OPTIONS*/

//Painter Option

  private String getPainter(){

     System.out.println("Please choose the Paintern" +

           "and enter the Painter name exactly as displayed.");

     // get unique Painters

     ArrayList<String> uniquePainter = new ArrayList<String>();

     for (Museum x: museumsUsed){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting currentPaintings: x.getPaintingArray()){

           if(!uniquePainter.contains(currentPaintings.getPaintingPainter())){

              uniquePainter.add(currentPaintings.getPaintingPainter());

           }

        }

     }

     Collections.sort(uniquePainter);

     int nextLine = 0;

     int count=1;

     for (int i=0;i<uniquePainter.size();i++){

        System.out.print(""+count+") "+uniquePainter.get(i)+"t");

        count+=1;

        nextLine+=1;

        if (nextLine==4){

           System.out.println();

           nextLine = 0;

        }

     }

     System.out.println();

     return keyboard.next();

  }  

  private String painter(String paintersName, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.painter(paintersName)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting x: exhibitionPaintingsArray){

        output = output + "nn"+ x;

     }

     return (output+"nn");     

  }

//Year Option

  private String getYear(){

     System.out.println("Please enter the year range of the Paintings you would like in this exhibit.n" +

           "Enter a year range between 1500 and 2013 ("1850 2000"");

     return keyboard.nextLine();

  }

  private String yearPainted(double startyear, double endyear, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.datePainted(startyear, endyear)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting p: exhibitionPaintingsArray){

        output = output + "nn"+p;

     }

     return (output+"nn");     

  }

  

//Size Option

  private String getSize(){

     System.out.println("Please enter the size range of the Paintings you would like in this exhibit.n" +

           "Enter sizes range between 1 and 30 ("3.5 6.0")");

     return keyboard.nextLine();

  }  

  private String paintingSize(double startSizeUsed, double endSizeUsed, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.size(startSizeUsed, endSizeUsed)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting p: exhibitionPaintingsArray){

        output = output + "nn"+p;

     }

     return (output+"nn");     

  }

//Medium Option

  private String getMedium(){

     System.out.println("Please choose the Mediumn" +

           "and enter it exactly as displayed.");

     // get unique mediums

     ArrayList<String> uniqueMedium = new ArrayList<String>();

     for (Museum x: museumsUsed){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting currentPaintings: x.getPaintingArray()){

           if(!uniqueMedium.contains(currentPaintings.getPaintingMedium())){

              uniqueMedium.add(currentPaintings.getPaintingMedium());

           }

        }

     }

     Collections.sort(uniqueMedium);

     int count=1;

     for (int i=0;i<uniqueMedium.size();i++){

        System.out.println(""+count+") "+uniqueMedium.get(i));

        count+=1;

     }

     

     return keyboard.next();

  }

  private String medium(String mediumUsed, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.medium(mediumUsed)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting p: exhibitionPaintingsArray){

        output = output + "nn"+p;

     }

     return (output+"nn");     

  }

//Country Option

  private String getCountry(){

     System.out.println("Please choose the Countryn" +

           "and enter it exactly as displayed.");

     // get unique mediums

     ArrayList<String> uniqueCountry = new ArrayList<String>();

     for (Museum x: museumsUsed){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting currentPaintings: x.getPaintingArray()){

           if(!uniqueCountry.contains(currentPaintings.getPaintingCountry())){

              uniqueCountry.add(currentPaintings.getPaintingCountry());

           }

        }

     }

     Collections.sort(uniqueCountry);

     int count=1;

     for (int i=0;i<uniqueCountry.size();i++){

        System.out.println(""+count+") "+uniqueCountry.get(i));

        count+=1;

     }

     return keyboard.next();

  }  

  private String country(String countryUsed, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.country(countryUsed)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting x: exhibitionPaintingsArray){

        output = output + "nn"+ x;

     }

     return (output+"nn");     

  }

//Genre Option

  private String getGenre(){

     System.out.println("Please choose the Genren" +

           "and enter it exactly as displayed.");

     // get unique mediums

     ArrayList<String> uniqueGenre = new ArrayList<String>();

     for (Museum x: museumsUsed){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting currentPaintings: x.getPaintingArray()){

           if(!uniqueGenre.contains(currentPaintings.getPaintingGenre())){

              uniqueGenre.add(currentPaintings.getPaintingGenre());

           }

        }

     }

     Collections.sort(uniqueGenre);

     int count=1;

     for (int i=0;i<uniqueGenre.size();i++){

        System.out.println(""+count+") "+uniqueGenre.get(i));

        count+=1;

     }

     return keyboard.next();

  }

  private String genre(String genreUsed, ArrayList<Museum> museumArray) {

     String output="";

     for (Museum x: museumArray){

        Scanner currentMuseumFileScan = TextFileIO.createTextRead(x.getFileName());

        x.readFile(currentMuseumFileScan);

        for (Painting p: x.genre(genreUsed)){

           exhibitionPaintingsArray.add(p);

        }

     }

     for (Painting p: exhibitionPaintingsArray){

        output = output + "nn"+p;

     }

     return (output+"nn");     

  }

  

  

}//class

Museum.java:

import java.util.ArrayList;

import java.util.Scanner;

public class Museum {

  private String museumName;

  private String museumFileName;

  private ArrayList<Painting> paintingArray = new ArrayList<Painting>();

// Constructor  

  public Museum(String museum, String paintingFile){

     this.museumName = museum;

     this.museumFileName=paintingFile;

  }

//  Add all paintings in file to paintingArray

  public void readFile(Scanner read){

     int numOfPaintings = Integer.parseInt(read.nextLine().trim());

     for (int i=0;i<numOfPaintings;i++){

        Painting newPainting = new Painting();

        newPainting.readPainting(read);

        paintingArray.add(newPainting);

     }

  }

/*Option Methods*/

// Genre Option

  public ArrayList<Painting> genre(String genre){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if(genre.equals(thisPainting.paintingGenre))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

  

// Country Option

  public ArrayList<Painting> country(String desiredCountry){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if(desiredCountry.equals(thisPainting.paintingCountry))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

  

// Year Option

  public ArrayList<Painting> datePainted(double start, double end){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if((start<thisPainting.paintingYear)&&(end>thisPainting.paintingYear))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

  

// Painting Option

  public ArrayList<Painting> painter(String paintersName){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if(paintersName.equals(thisPainting.paintingPainter))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

// Size Option

  public ArrayList<Painting> size(double start, double end){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if((start<thisPainting.paintingSize)&&(end>thisPainting.paintingSize))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

  

// Medium Option

  public ArrayList<Painting> medium(String desiredMedium){

     ArrayList<Painting> selectPaintingArray = new ArrayList<Painting>();

     for (Painting thisPainting: paintingArray){

        if(desiredMedium.equals(thisPainting.paintingMedium))

           selectPaintingArray.add(thisPainting);

     }

     return selectPaintingArray;

  }

     

  public String toString(){

     return ""+museumName;

  }

  

  public String getFileName(){

     return museumFileName;

  }

  

  public ArrayList<Painting> getPaintingArray(){

     return paintingArray;

  }

}//Museum class

Painting.java:

import java.util.Scanner;

public class Painting {  

  String paintingPainter, paintingName, paintingGenre, paintingMedium, paintingCountry;

  int paintingYear;

  double paintingSize;  

  

//read in all data for one painting from a file  

  public void readPainting(Scanner read){

     read.nextLine().trim();

     paintingPainter = read.nextLine().trim();

     paintingName = read.nextLine().trim();

     paintingYear = Integer.parseInt(read.nextLine().trim());

     paintingSize = Double.parseDouble(read.nextLine().trim());

     paintingGenre = read.nextLine().trim();

     paintingMedium = read.nextLine().trim();

     paintingCountry = read.nextLine().trim();

  }

//GET Methods

  public String getPaintingPainter(){

     return paintingPainter;

  }

  

  public String getPaintingName(){

     return paintingName;

  }

  public int getPaintingYear(){

     return paintingYear;

  }

  public double getPaintingSize(){

     return paintingSize;

  }

  public String getPaintingGenre(){

     return paintingGenre;

  }

  public String getPaintingMedium(){

     return paintingMedium;

  }

  public String getPaintingCountry(){

     return paintingCountry;

  }

//SET Methods  

  public void setPaintingPainter(String newPaintingPainter){

     paintingPainter = newPaintingPainter;

  }

  public void setPaintingName(String newPaintingName){

     paintingName = newPaintingName;

  }

  public void setPaintingYear(int newPaintingYear){

     paintingYear = newPaintingYear;

  }

  public void setPaintingSize(double newPaintingSize){

     paintingSize = newPaintingSize;

  }

  public void setPaintingGenre(String newPaintingGenre){

     paintingGenre = newPaintingGenre;

  }

  public void setPaintingMedium(String newPaintingMedium){

     paintingMedium = newPaintingMedium;

  }

  public void setPaintingCountry(String newPaintingCountry){

     paintingCountry = newPaintingCountry;

  }

  

//  toString Method

  public String toString(){

     return (""+paintingPainter+" "+paintingYear+" "+paintingName+"n" +

           " "+paintingGenre+" "+paintingMedium+" "+paintingCountry+" "+paintingSize);

  }

}//Class

TextFileIO.java:

import java.util.Scanner;

import java.io.*;


public class TextFileIO {

  

  public static PrintWriter createTextWrite(String S){

     PrintWriter TStream = null;

     try

     {

        TStream = new PrintWriter(new FileOutputStream(S));

     }

     catch(FileNotFoundException e){

        System.out.println("Error opening the file in createTextWrite");

        System.exit(0);

     }

     return TStream;

  }

  

  public static Scanner createTextRead(String S){

     Scanner textFile = null;

     try

     {

        textFile = new Scanner(new File(S));

     }

     catch(FileNotFoundException e){

        System.out.println("File not found");

        System.out.println("or could not be opened.");

     }

     return textFile;

  }

}

here are the files for each museum

1. portrait gallery

20
1
Memling
Portrait of an Old Woman
1480
1.3
Renaissance
Oil
Belgium
2
Metsys
The Moneylender and His Wife
1525
2.1
Renaissance
Oil
Belgium
3
Degas
Dancer Adjusting Her Sipper
1874
1.0
Impressionistic
Drawing
France
4
Degas
Dancer Resting
1874
1.5
Impressionistic
Drawing
France
5
Degas
Dancing Master
1874
.9
Impressionistic
Drawing
France
6
Degas
The Dancer Jules Perrot
1875
1.3
Impressionistic
Oil
France
7
Leonardo Da Vinci
The Virgin of the Rocks
1498
3.2
Renaissance 
Oil
Italy
8
Degas
Dancer Adjusting Her Costume
1873
1.2
Impressionistic
Drawing
France
9
Bacciarelli
Stanislaus Augustus Poniatowski
1891
3.4
Classical
Oil
Italy
10
Titian
The Man with a Glove
1560
4.5
Classical
Oil
Italy
11
Rembrandt
Portrait of a Young Man
1650
2.4
Classical 
Oil
Dutch
12
Rembrandt
Girl Leaning on a Stone Pedestal
1650
3.4
Classical
Oil
Dutch
13
Murillo
The Flower Girl
1676
.7
Classical
Oil
Spain
14
Tiepolo
Man with a Bird
1759
.6
Classical
Drawing 
Italy
15
Gainsborough
Phillippe-Jacques
1755
.5
Classical
Oil
English
16
Lely
Portrait of a Boy as a Shepherd
1750
2.3
Classical
Oil
Britain
17
Van Gogh
Self-portrait
1889
.9
Impressionistic
Oil
France
18
Gauguin
Self-portrait
1890
2.1
Impressionistic
Oil
France
19
Leo Vincia
The Rocks
1998
3.2
Modern 
Oil
Italy
20
Trobitian
The Glove
1960
4.5
Modern
Oil
Italy 

2. corcoran

19
1
Angelico
The Coronation of the Virgin
1622
6.6
Renaissance
Oil 
Italy
2
Ghirlandajo
Portrait of an Old Man
1590
3.5
Renaissance
Oil
Italy
3
Botticelli
The Virgin and Child
1603
2.4
Renaissance
Oil 
Italy
4
Botticelli
Venus and the Three Graces
1579
2.4
Renaissance
Oil
Italy
5
Corot
Woman with a Pearl
1867
3.2
Renaissance
Oil
France
6
Leonardo Da Vinci
Study of draperies
1502
.5
Renaissance
Drawing
Italy
7
Leonardo Da Vinci
Mona Lisa
1500
2.4
Renaissance
Oil
Italy
8
Manet
The Picnic
1879
5.4
Impressionistic
Oil
France
9
Giorg
Open Air Concert
1930
4.3
Modern
Oil
Italy
10
Tintoretto
Paradise
1600
2.5
Renaissance
Drawing
Italy
11
La Tour
Adoration of the Shepherds
1679
1.3
Baroque
Oil
France
12
Ribera
The Clubfoot
1702
.5
Renaissance
Oil
Spain
13
Zurab
Funeral of Saint Bonaventurea
1965
2.4
Modern 
Oil
Spain
14
Goya
Lady with a Fan
1795
2.4
Classical
Oil
Spain
15
Goya
Portrait of Guillemardet
1796
2.1
Classical
Oil
Spain
16
Goya
Portrait of the Marchioness of Solana
1793
2.8
Classical
Oil
Spain
17
Rubens
The Virgin of the Innocents
1803
3.3
Classical
Oil
Belgium
18
Memling
Portrait of an Old Woman
1480
1.3
Renaissance
Oil
Belgium
19
Metsis
The Moneylender and His Wife
1925
2.1
Modern
Oil
Belgium

3. national gallery

20
1
Giotto
Saint Francis of Assisi
1590
2.9
Renaissance 
Tempera
Italy
2
Angelico
Martyrdom of Saint Cosmus
1602
4.6
Renaissance
Oil 
Italy
3
Pisanello
Study of Ducks
1640
1.3
Renaissance
Drawing
Italy
4
Pisanello
Portrait of a Lady
1598
0.7
Renaissance
Oil
Italy
5
Tura
Pieta
1480
6.7
Renaissance
Oil
Italy
6
Bellini
Christ Blessing after the Resurrection
1501
2.1
Renaissance
Oil
Italy
7
Degas
A Ballet Dancer in Position
1872
.7
Impressionistic
Drawing
France
8
Correggio
Saint James the Minor
1530
1
Renaissance
Drawing
Italy
9
Correggio
The Sleep of Antiope
1502
3.2
Renaissance
Oil
Italy
10
Van Dyck
Lady Venetia Digaby
1650
4
Classical
Oil
Belgium
11
Veronese
The Marriage at Cana
1570
12.5
Renaissance
Oil
Italy
12
El Greco
Portrait of Covarrubbias
1559
.5
Renaissance
Oil
Spain
13
El Greco
Christ of the Cross
1560
5.4
Renaissance
Oil
Spain
14
Renoir
Portrait of Madame Charpentier
1890
1.78
Impressionistic
Oil
France
15
Velasquez
Portrait of Queen Marianna
1700
2.1
Renaissance 
Oil
Spain
16
Van Eyck
The Virgin with the Chancellor Rolin
1420
2.3
Renaissance
Oil
Belgium
17
Van Der Weyden
The Annunciation
1439
3.1
Renaissance
Oil
Belgium
18
David
Madame Recamier
1790
2.5
Classical
Oil
French
19
El Grenara
Portrait of a Lady
1959
.5
Modern
Oil
Spain
20
Van Der Hoveven
The Annunciation
1939
3.1
Modern
Oil
Belgium

4. philips collection

18
1
Cimabue
The Virgin with the Angels
1560
3.5
Renaissance 
Oil
Italy 
2
Martini
The carrying of the Cross
1602
5.3
Renaissance 
Oil
France
3
Baldovinetti
Virgin and Child
1593
4.6
Renaissance
Oil
Italy
4
Uccello
Rout of San Romano
1700
5.6
Baroque
Oil
German
5
Carpaccio
Saint Stephen Preaching at Jerusalem
1490
3.4
Renaissance
Oil
Italy
6
Mantegna
The Calvary
1500
5.7
Renaissance
Oil
Italy
7
Leonardo Da Vinci
The Virgin, the Child
1480
4.2
Renaissance
Oil
Italy
8
Raphael
Psyche and Venus
1520
0.2
Renaissance
Drawing
Italy
9
Raphael
La Belle Jardiniere
1510
1.3
Renaissance
Oil
Italy
10
Titian
The Entombment
1550
6.7
Renaissance
Oil
Italy
11
Titcomian
Portrait of a Young Woman
1945
3.2
Modern
Oil
Italy
12
Magnasco
Landscape
1725
4.5
Baroque
Oil
Italy
13
Tiepolo
the Minuet
1790
3.5
Baroque
Oil
Italy
14
Zurranian
Saint Apoline
1990
6.3
Modern 
Oil
Spain
15
Velasquez
Portrait of the Infant Margaret
1730
2.4
Classical
Oil
Spain
16
Jan Fyt
Games and Hutting Objects
1804
2.1
Classical
Oil
Belgium
17
Brouwer
The Worker
1930
1.3
Modern 
Oil
Belgium
18
Rembrandt
Self-portrait
1659
.8
Classical
Oil
Dutch

here is the output for the program


Image transcription text

ves Virginia Community x N Project 8 Museum 4 X Student Resources < X w Word w Document22.docx x N https://www.nycc.e x C Anvcc.edu/home/dfranssell/CSC201/CSC201%20Museum%20project_files/output%20diolog%20from%20Art%20Museum%20program.txt G K Apps 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 3. 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 Philips Collection w Corcoran 4) Portrait Gallery 12 3 4 Now that you have chosen the museums, please choose an exhibition topic and enter its number. 1) Painter 2) Year painted 5:02 AM Type here to search O Fi ?) A ( 1) ENG 11/28/2020

... Show more

Image transcription text

wes Virginia Community X N Project 8 Museum 4 X Student Resources \ X w Word w Document22.docx x N https://www.nycc.e x C Anvcc.edu/home/dfranssell/CSC201/CSC201%20Museum%20project_files/output%20diolog%20from%20Art%20Museum%20program.txt G K Apps 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\Bihona 1707 The Clubfoot 5:02 AM H Type here to search O ?) A ( 1) ENG 11/28/2020

... Show more

Image transcription text

wes Virginia Community X N Project 8 Museum 4 X Student Resources \ X w Word w Document22.docx x N https://www.nycc.e x C Anvcc.edu/home/dfranssell/CSC201/CSC201%20Museum%20project_files/output%20diolog%20from%20Art%20Museum%20program.txt G K Apps 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 Pi 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 Covarrubias 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 5:02 AM Type here to search O ?) A ( 1) ENG 11/28/2020

... Show more

Image transcription text

i nvccedu 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 134- Now that you have (hosen the museums, please (hoose 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) Impressionistit 5) Modern 1 The exhibition is drawn From these museums: National Gallery Corcoran Portrait Gallery The paintings from the Renaissance period are: .

... Show more

Answer & Explanation

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Get answer

Our verified expert tutors typically answer within 15-30 minutes.