Professional Documents
Culture Documents
Reg. No.: Name:: Q.No. Question Description Marks
Reg. No.: Name:: Q.No. Question Description Marks
:
Name :
1 Take any real time project and show all activities performed by a tester at the time of
10
development of a project and perform verification and validation activities.
2 Consider the following program for finding the prime numbers, their sum, and count:
main()
{
int num, fl ag, sum, count;
int CheckPrime(int n);
sum = count = 0;
printf(“Prime number between 1 and 100 are”);
for(num=1; num<=50; num++)
{
flag = CheckPrime(num);
if(flag)
{
printf(“%d”, num);
sum+ = num;
count++;
}
}
10
printf(“Sum of primes %d”, count);
}
int CheckPrime(int n)
{
int srt, d;
srt = sqrt(n);
d = 2;
while(d <= srt)
{
If(n%d == 0)
break;
d++;
}
if(d > srt)
return(1);
else
return(0);
Page 1 of 2
}
3 Passengers who travel more than 50,000 km. per calendar year and in addition, pay cash
for tickets or have been traveling regularly for more than eight years are to receive a free
round trip ticket around India. Passengers who travel less than 50,000 km. per calendar
10
year and have been availing railway services regularly for more than eight years also get a
free round ticket around India. Design test cases for this system using decision table
testing.
4 Derive all du-paths and dc-paths using data flow testing of Q. N. 2 10
5 Explain with suitable case study the concepts of mutation testing, mutant, mutation score,
killable mutant and stubborn mutant. What do you mean by equivalent mutant? 10
⇔⇔⇔
Page 2 of 2