logo

Crowdly

Browser

Add to Chrome

Software Testing (LTAT.05.006)

Looking for Software Testing (LTAT.05.006) test answers and solutions? Browse our comprehensive collection of verified answers for Software Testing (LTAT.05.006) at moodle.ut.ee.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

In the following program, for variable ‘accept’, what is a correct set of all-defs paths?

  1. boolean AccClient(int age; gtype gender) {
  2. boolean accept=false;
  3.  if (gender==female & age<85) {
  4.    accept=true;
  5.    return accept; }
  6.  if (gender==male & age<80) {
  7.    accept=true;
  8.    return accept; }
  9.  return accept; }

Note: The numbers on the left are the line numbers (nodes).

0%
0%
100%
0%
View this question

Assume the following sample (pseudo) code snippet: 

  1. read(a, b);
  2. if (a == 2 && b == 2)
  3.    c = a + b;
  4. else
  5.    c = 0;
  6. print(c);

Which of the following mutants is NOT an equivalent mutant?

0%
100%
0%
0%
View this question

Which of the following statements about data-flow testing concepts is correct?

0%
0%
0%
0%
View this question

In the following program, for variable ‘accept’, what is a correct set of all-uses paths?

  1. boolean AccClient(int age; gtype gender) {
  2. boolean accept=false;
  3.  if (gender==female & age<85) {
  4.    accept=true;
  5.    return accept; }
  6.  if (gender==male & age<80) {
  7.    accept=true;
  8.    return accept; }
  9.  return accept; }

Note: The numbers on the left are the line numbers (nodes).

0%
0%
100%
0%
View this question

Assume the following sample (pseudo) code snippet: 

  1. read(a, b);
  2. if (a == 2 && b == 2)
  3.    c = a + b;
  4. else
  5.    c = 0;
  6. print(c);

Which of the mutants listed below would be found to be a killed mutant after applying the following test case?

Test case:

Input a: 2, Input b: 2, Output c: 4

0%
0%
0%
100%
View this question

In the following (pseudo code) program, for variable ‘d’, what is the complete set of du-pairs?

  1.   int gcd(int a, int b) { 
  2.   int c = a; int d = b; 
  3.   if(c == 0)
  4.      return d;
  5.   while(d != 0) { 
  6.      if(c > d)
  7.         c = c - d;
  8.      else
  9.         d = d - c;} 
  10.  return c; }

Note: The numbers on the left are the line numbers (nodes).

100%
0%
0%
0%
View this question

Which statement about Mutation Testing concepts is correct?

0%
0%
0%
0%
View this question

If you do multi-variate A/B testing with 3 items and each item has 3 variants, how many tests do you have to make?

0%
0%
100%
0%
View this question

What of the following statements about Security Testing concepts is correct?

0%
0%
0%
100%
View this question

Which of the following statements about methods used to evaluate UI Designs is correct?

0%
0%
100%
0%
View this question

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome