Item, register, cash drawer may b a perfect example of Peter Coad Methodology 2 marks
Page no 99
What is mean by memory overrun? 2 marks page no 220
Explain magic number. 2 marks page no 168
For which statement; statement coverage, branch coverage and path coverage are same? 2 marks
List down at least three phases of software development life cycle in which there in a great chance of error entrence? 3 marks page no 209
Write down how we can avoid side effect in these piece of codes 3 marks page no 176
1. max[--k] = k;
2. a = b, arr = “a”;
How the structures are identified in OOD? 3 marks page no 94
Here is an infeasible path in this piece of code. Page no 206
if (a == b) //1
c = c-1; //2
if (a != b) //3
c = c+1; //4
//5
Re write it such that there will no more infeasible path. 3 marks

Exceptions do increase code complexity. Explain with help of an example. 5 marks page no 185
What are activities performed in the software design phase. List down these activities. 5 marks page no 120
What type of bug this is and explain how. 5 marks page no 218

if((input >= 1 && input <= 10) &&
(input >= 15 && input <= 20))
{
// Do something for valid case
}
else
{
// Do something for invalid case
}
Write down the sequence of declaration for the class and interface. 5 marks