CSC160 Assignment 7 solved

$30.00

Original Work ?

Download Details:

  • Name: AssignmentSeven-fthkss.zip
  • Type: zip
  • Size: 138.37 KB

Category: Tag: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (1 vote)

In this assignment, you should provide a complete CircularQueueDriver class that fully tests the functionality of your CircularQueue class that you have improved in Lab 8. Your CircularQueueDriver class should:

  • *Instantiate a 3-element CircularQueue.

  • *Use a loop to add strings to the queue until the add method returns false (which indicates a full queue).

  • *Call showQueue.

  • *Use a loop to remove strings from the queue until the remove method returns null (which indicates an empty queue). As you remove each string from the queue, print the removed string.

Sample Run:

Monsieur A
Monsieur B
Monsieur C
removed: Monsieur A
removed: Monsieur B
removed: Monsieur C

Notes:

  1. The program must compile without syntax errors; in the best case 50% of the assignment points will be deducted, even if your program is “essentially” correct.

  2. To get full credit for an assignment, your program must solve the assignment problem completely.

  3. Please add comments to the source code. Your program should have a reasonable amount of comments.

  4. At the very beginning of each file, there should be a block comment containing the student name, course number, assignment number, and if you worked with someone else, including chatGPT or any AI coding tools.

  5. Follow the programming styles and guidelines discussed in class, such as using meaningful names for variables and camel case conventions for variables, classes, etc.

Rubric: Check the assignment dropbox on Moodle.