[Solved] CS635 Advanced Object-Oriented Design & Programming Assignment 1

$25

File Name: CS635_Advanced_Object-Oriented_Design_&_Programming_Assignment_1.zip
File Size: 602.88 KB

SKU: [Solved] CS635 Advanced Object-Oriented Design & Programming Assignment 1 Category: Tag:
5/5 - (1 vote)

Produce code with the following functionality:

  1. Implement a circular doubly linked queue. Your queue needs to support adding new elements, return the element with the first element and removing the first element. Adding an element and removing the element with the highest element should be at most O(1) where N is the size of the queue. The queue should start with a capacity greater that 1. When the queue is full and another element is added the queue capacity should be doubled. If additions and deletions are intermixed it is possible that a large number additions can be done without increasing the capacity.
  2. Your queue needs to be able to hold process objects. A process has a name (String), an owner (String), PID (int), number of threads, percent of CPU currently being used and total amount of CPU time used.
  3. Programs that use your queue will want to display and print out the elements in the queue. They will need to display/print out the queue ordered by name, PID, CPU time used, percent of CPU time, total CPU time or by owner.

You are to write your own queue code. Do not use any existing queue library. Do not use any of your languages collection classes or related classes. Note you are not writing a program, you are writing code that will be used by programs.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS635 Advanced Object-Oriented Design & Programming Assignment 1
$25