Discussion Question 1 Please post pseudocode or code showing how you would access afile as either a database or a sequential file. Describe in yourcode the differences between accessing the data. Post what isneeded for this weeks assignment.Discussion Question 2 This week we are learning about Object Oriented Programming postpseudocode or code examples showing attributes methods andclasses. Some students will have a Java class in the future soplease start writing Java examples