3540p2.Fall2011 - COP 3540 Data Structures with OOP Project...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3540 – Data Structures with OOP Project 2 – Fall 2011 Due: October 3 rd , 2011 (Monday) Drop Dead Date: October 5 th , start of class Priority Queues Using NetBeans 7.0, you are to write a Java program using OOP principles to accommodate the following functionality Assignment #2 Objectives : Provide student with additional experiences with file input output. Provide student with exercises in learning UML Provide student with exercises in Javadoc and its various formats Provide student with exercises in building an array of objects to support priority queuing. Provide student with experience in inserting, deleting, and searching priority queue of objects. Functionality : Given a sequential file, States.Fall2011.txt on my web page, you are to build a series of priority queues discussed ahead. You are specifically required to build four priority queues one for each Region based on Nbr of Region to group the states in each Region. Only consider states from regions 1, 2, 3, and 6. Please note that there is considerable additional data in the file that you may not need for this program. Do NOT eliminate it. Just don’t process it. The input data is not sorted in any way. As you read an input record from this file, create an object of type (class) State. Add this object to one of the four queues, depending on the NbrofRegion. As you insert() an object into its respective priority queue, the objects are to be in order by state population. Your insert() routine must reflect this. (This means that the states in each of the resulting priority queues will be ordered by state population.)
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern