
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Computer Programming II; Subject: Computer Science; University: Pace University-New York; Term: Spring 2006;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Assigned on February 7, 2006 Due on February 21, 2006
a. public void insert(int value); // insert integer value into the priority queue b. public int delete(); // delete and return any largest value in the queue c. public boolean isEmpty(); // return true iff the queue is empty
The number of integers that can be inserted into the priority queue should only be limited by the capacity of your computer’s memory system.
The assignment is also posted in forum Assignments inside Discussion Board of CS122/ Blackboard. Submit a single zip file of all of your completed source code files as an attachment to your reply to my assignment 1 thread.
Please add assignment name, your name, your assignment completion date, and the above assignment problem description as comments at the beginning of your source code.
Please make sure that your program works correctly, and the source code is formatted properly with proper column alignment and line indentation. Add necessary concise comments to your tricky points for helping readers understand your program. There will be penalties for lacking necessary comments or improper code alignment or indentation.