An Integrated Approach to Software Engineering, Third Edition

What are the different levels of testing and the goals of the different levels? For each level, specify which of the testing approaches is most suitable.
Testing, including debugging and fixing of bugs, is the most expensive task in a project. List the major activities in the entire testing process, and give your view on what % of the testing effort each consumes.
Suppose a software has three inputs, each having a defined valid range. How many test cases will you need to test all the boundary values?
For boundary value analysis, if the strategy for generating test cases is to consider all possible combinations for the different values, what will be the set of test cases for a software that has three inputs X, Y, and Z?
Take three variables A, B, and C, each having two values. Generate a set of test cases that will exercise all pairs.
Suppose a software has five different configuration variables that are set independently. If three of them are binary (have two possible values), and the rest have three values, how many test cases will be needed if pair-wise testing method is used?
Consider a vending machine that takes quarters and when it has received two quarters, gives a can of soda. Develop a state model of this system, and then generate sets of test cases for the various criteria.
Suppose you have to test a class for implementing a queue of integers.