---
# System prepended metadata

title: Software Testing

---

# Software Testing
## Assignment 4 - Black Box Testing
![](https://i.imgur.com/j7RuuW6.png)



| #   | Sequence                                                                                         |
| --- | ------------------------------------------------------------------------------------------------ |
| 1   | init(0)**-Exception-** termination()**-final**                                                   |
| 2   | init(1)**-empty-** garbagecollection()**-final**                                                 |
| 3   | init(1)**-empty-** enqueue(a)**-full-** garbagecollection()**-final**                            |
| 4   | init(2)**-empty-** enqueue(a)**-partiallyfull-** garbagecollection()**-final**                   |
| 5   | init(2)**-empty-** enqueue(a)**-partiallyfull-** enqueue(b)**-full** dequeue()**-partiallyfull** |
| 6   | init(2)**-empty-** enqueue(a)**-partiallyfull-** dequeue()**-empty**                             |
| 7   | init(1)**-empty-** enqueue(a)**-full-** dequeue()**-empty**                                      |
| 8   | init(2)**-empty-** peek()**-Exception**                                                          |
| 9   | init(2)**-empty-** dequeue()**-Exception**                                                       |
| 10  | init(2)**-empty-** enqueue(a)**-partiallyfull-** enqueue(b)**-full** enqueue(c)**-full**         | 
