Professional Documents
Culture Documents
181-15-933 Software Eng. Quiz - 03
181-15-933 Software Eng. Quiz - 03
181-15-933
for (i=100;i<500;i++) {
Noor Alam Abir
181-15-933
count=0;
for (a=1;a<=i;a++) {
if (i%a==0)
count++; }
if (count==2)
printf("%d\t",i);
}
return 0;
And we can see that the code that has been given, is the code that
generates only Prime numbers. Prime numbers are only divisible by 1 and
that prime number. That’s why it has only 2 divisor. So,
1st test set – { (x=151, y=1); (x=151, y=151); (x=227, y=1); (x=227, y=227) }
Here, for the 1st test set there will be no error because the divisors are 1 and
that number.
2nd test set – { (x=151, y=1); (x=151, y=151); (x=227, y=4); (x=227, y=9) }
Step 1: Standrads – The IEEE, ISO and other strandards organization have
produced a board array.
Step 2: Review and Audits – Technical reviews and quality control activity.
Step 4: Error/defect collection and analysis – SAQ collect analysis error and
defect data and best suited to eliminating.
Our main activities are – Requirement quality, Design, Quality, Code quality,
QC effectiveness, Reviews and inspections, An inspection checklist etc.