On November 6, 1893, Pyotr Ilyich Tchaikovsky, a well-known Russian composer, died during a cholera epidemic. He died a few days after the premiere of his Sixth Symphony "Pathetique", a piece full of suffering and pain. In the US, Tchaikovsky is most known for his music for the Nutcracker ballet -- usually performed at Christmas time, and for his 1812 Overture, often performed on July 4.
4a. Which of Tchaikovsky's symphonies is the longest? Write a method that, given an array d of durations of different symphonies and the array t of their titles, returns the title of the longest symphony. Assume the arrays have been declared, initialized, and have the same non-zero length.
4b. To check the correctness of your method, write a piece of code that defines new arrays duration consisting of 3 elements 46, 60, and 40, and titles with elements P, C, and X.
4c. Trace step-by-step how the piece of code you wrote in Part 4a will find the title of the longest symphony.
5a. Describe what is white-box and black-box testing.
5b. Describe the main rules for testing.