Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Derive input space partitioning tests for the GenericStack class with the follow

ID: 3726245 • Letter: D

Question

Derive input space partitioning tests for the GenericStack class with the following method signatures: public GenericStack (); public void Push (Object X); public Object Pop (); public boolean IsEmt (); Assume the usual semantics for the stack. Try to keep your partitioning simple, choose a small number of partitions and blocks. (a) Define characteristics of inputs (b) Partition the characteristics into blocks (c) Define values for the blocks

Derive input space partitioning test inputs for the BoundedQueue class with the following signature (you could look at the BoundedQueue class on Canvas from earlier in the semester, but you should not need it since we can/should derive tests and their criteria from requirements): public BoundedQueue (int capacity); // The maximum number of elements public void enQueue (ObjectX); public Object deQueue ) public boolean isEmpty ); public boolean isFull ); Assume the usual semantics for a queue with a fixed, maximal capacity. Try to keep your partitioning simple choose a small number of partitions and blocks. (a) List all of the input variables, including the state variables. HINT: Consider the state of the Queue like we did in our class example with state. (2 points) (b) Define characteristics of the input variables. Make sure you cover all input variables. (3 points) (c) Partition the characteristics into blocks. Designate one block in each partition as the "Base" block. (2 points) d) Define values for each block. (2 points) (e) Define a single test set that satisfies Base Choice Coverage (BCC). For example, suppose you are testing enQueue(...). Write your tests with the values from the previous step. (3 points)

Explanation / Answer

Criteria to be considered:

Boolean 1 = True

Boolean 2 = False

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote