Example Report
Hi everybody,
I've copied an example of the program test report for assignment 7 below. Some of you had trouble getting your programs to work well. Please have a look at the output of this assignment. Please also let me know if you need an example implementation.
I tested several cases based on the assignment description. Part 1 is for the linked list queue. Part 2 is for the array queue.
In test 1, I offer a, b, c
. I expect to see a, b, c
when I call poll three times in a row.
In test 2, I offer a, a, b, b, c, c
. I expect to see a, b, c, null/empty
.. when I call a series of poll.
In test 3, I offer a, null, b
. I expect to see a, b, null/empty
when I call poll three times in a row.
In test 4, I offer a, b, c, d, e, f, g, h, i, j, k, l, m, n
. I expect to see a, b, c, d
when I call poll four times in a row. Then I offer a, b, c, d, e, f, g, h, i, j
. For part 1, I expect to see e, f, g, h, i, j, k, l, m, n, a, b, c, d, null/empty
..
when I call a series of poll. For part 2, I expect to see e, f, g, h, i, j, a, b, c, d, null/empty
. when I call a series of poll.
If you submitted your assignment 7, you will soon receive an email from me with your report and score. If you haven't received the email by late tonight, let me know. Also let me know if you have any questions regarding your score.
Cheers!
Jade
Here is your score for Assignment 7.
Score: TDB%
Let me know if you have any questions regarding your score. And let me know if you want a copy of an example implementation for the assignment.
Regards,
Jade
Grading Guildelines
Test Results
Part 1 — Linked List Queue
testing the linked list queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the linked list queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the linked list queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: null
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the linked list queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: d
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: e
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: f
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: g
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: h
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: i
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: j
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: k
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: l
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: m
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: n
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'd'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: d
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: e
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: f
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: g
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: h
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: i
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: j
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'e'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'f'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'g'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'h'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'i'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'j'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'k'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'l'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'm'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'n'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'd'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the linked list queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option:
Part 2 — Array Queue
testing the array queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the array queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the array queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: null
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the array queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: d
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: e
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: f
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: g
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: h
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: i
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: j
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: k
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: l
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: m
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: n
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'd'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: a
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: b
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: c
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: d
Offer returned 'true'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: e
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: f
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: g
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: h
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: i
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: j
Offer returned 'false'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'e'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'f'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'g'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'h'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'i'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'j'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'a'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'b'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'c'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'd'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: poll
Poll returned 'null'.
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: quit
testing the array queue..
You may choose one of the following options:
1) 'quit' - quits the program.
2) 'null' - adds a null String to the queue.
3) 'poll' - polls the next String from the queue.
4) Anything else is inserted into the queue.
Your option: