NPTEL Software Engineering Week 11 Assignment Answers

NPTEL Software Engineering Week 11 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 11. All the answers are provided here on the basis of data available on the internet.

NPTEL Software Engineering All Week Assignment Answers
Software Engineering Week 1 Answer
Software Engineering Week 2 Answer
Software Engineering Week 3 Answer
Software Engineering Week 4 Answer
Software Engineering Week 5 Answer
Software Engineering Week 6 Answer
Software Engineering Week 7 Answer
Software Engineering Week 8 Answer
Software Engineering Week 9 Answer
Software Engineering Week 10 Answer
Software Engineering Week 11 Answer
Software Engineering Week 12 Answer

NPTEL Software Engineering Week 11 Assignment Answers 2022

Q1. At least how many test cases are required to achieve condition/decision coverage of the following code segment:

  • a. 1
  • b. 2
  • C. 3
  • d. 4
  • e. 8
Answer:- b

Q2. At least how many test cases are required to achieve multiple condition coverage of the following code segment:

If(a5) and (be100) and (e>50) x=x*1; 3.

  • a. 2
  • b. 4
  • C. 6
  • d. 8
  • e. 16
Answer:- d

Q3. Cause-effect test cases are, in effect, designed using which one of the following types of testing techniques?

  • a. Decision-table based testing
  • b. Coverage-based testing
  • c. Fault-based testing
  • d. Path-based testing
  • e. Boundary value testing
Answer:- a

Q4. If a user interface has three checkboxes, at least how many test cases are required to achieve pair-wise coverage?

  • a. 2
  • b. 3
  • C. 4
  • d. 5
  • e. 6
Answer:- c

Q5. At least how many test cases are required to achieve basic condition coverage of the following code segment:

Tf(a5) and (be100) and (e»50)) x=x*1:

  • a. 1
  • b. 2
  • C. 3
  • d. 4
  • e. 8
Answer:- b

Q6. For the following program statement, which of the following test suites would achieve basic condition/decision coverage? if (a»10 && b«50) P+*;

  • a. (a-20,b-10), (a=0,b=15)
  • b. (a=100,be-100), (a-100,b=100)
  • C. (a-20,b10), (a=0,b=15), (a=5,b=45)
  • d. (a-50,b=70), (a=0,b=35), (a=50,b35)
  • e. (a-50,b=20), (a=1,b=85)
Answer:- b, d, e

Q7. If branch coverage has been achieved on a unit under test, which of the following is coverage is implicitly implied?

  • a. Path coverage
  • b. Multiple condition coverage
  • C. Statement coverage
  • d. Data flow coverage
  • e. Basic condition coverage
  • f. Condition/Decision coverage
Answer:- c

Q8. Consider the following “C” code segment. At least how many test cases are needed for the given C code for achieving decision coverage?

  • a. 2
  • b. 3
  • C. 6
  • d. 8
  • e. 10
Answer:- b

Q9. At least how many test cases are needed for the C code segment given question 8, for achieving basic condition coverage?

  • a. 2
  • b. 3
  • C. 4
  • d. 6
  • e. Basic condition coverage is not achievable
Answer:- c

Q10. At least how many test cases are needed for the C code segment given question 8, for achieving multiple condition coverage?

  • a. 4
  • b. 5
  • C. 6
  • d. 8
  • e. Multiple condition coverage is not achievable for the given code
Answer:- e

Important Links:-

NPTEL Answers

Join Our Telegram

NPTEL Software Engineering Week 11 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 11. All the answers are provided here on the basis of data available on the internet.

Leave a Comment

NPTEL Software Engineering Week 11 Assignment Answers

NPTEL Software Engineering Week 11 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 11. All the answers are provided here on the basis of data available on the internet.

NPTEL Software Engineering All Week Assignment Answers
Software Engineering Week 1 Answer
Software Engineering Week 2 Answer
Software Engineering Week 3 Answer
Software Engineering Week 4 Answer
Software Engineering Week 5 Answer
Software Engineering Week 6 Answer
Software Engineering Week 7 Answer
Software Engineering Week 8 Answer
Software Engineering Week 9 Answer
Software Engineering Week 10 Answer
Software Engineering Week 11 Answer
Software Engineering Week 12 Answer

NPTEL Software Engineering Week 11 Assignment Answers 2022

Q1. At least how many test cases are required to achieve condition/decision coverage of the following code segment:

  • a. 1
  • b. 2
  • C. 3
  • d. 4
  • e. 8
Answer:- b

Q2. At least how many test cases are required to achieve multiple condition coverage of the following code segment:

If(a5) and (be100) and (e>50) x=x*1; 3.

  • a. 2
  • b. 4
  • C. 6
  • d. 8
  • e. 16
Answer:- d

Q3. Cause-effect test cases are, in effect, designed using which one of the following types of testing techniques?

  • a. Decision-table based testing
  • b. Coverage-based testing
  • c. Fault-based testing
  • d. Path-based testing
  • e. Boundary value testing
Answer:- a

Q4. If a user interface has three checkboxes, at least how many test cases are required to achieve pair-wise coverage?

  • a. 2
  • b. 3
  • C. 4
  • d. 5
  • e. 6
Answer:- c

Q5. At least how many test cases are required to achieve basic condition coverage of the following code segment:

Tf(a5) and (be100) and (e»50)) x=x*1:

  • a. 1
  • b. 2
  • C. 3
  • d. 4
  • e. 8
Answer:- b

Q6. For the following program statement, which of the following test suites would achieve basic condition/decision coverage? if (a»10 && b«50) P+*;

  • a. (a-20,b-10), (a=0,b=15)
  • b. (a=100,be-100), (a-100,b=100)
  • C. (a-20,b10), (a=0,b=15), (a=5,b=45)
  • d. (a-50,b=70), (a=0,b=35), (a=50,b35)
  • e. (a-50,b=20), (a=1,b=85)
Answer:- b, d, e

Q7. If branch coverage has been achieved on a unit under test, which of the following is coverage is implicitly implied?

  • a. Path coverage
  • b. Multiple condition coverage
  • C. Statement coverage
  • d. Data flow coverage
  • e. Basic condition coverage
  • f. Condition/Decision coverage
Answer:- c

Q8. Consider the following “C” code segment. At least how many test cases are needed for the given C code for achieving decision coverage?

  • a. 2
  • b. 3
  • C. 6
  • d. 8
  • e. 10
Answer:- b

Q9. At least how many test cases are needed for the C code segment given question 8, for achieving basic condition coverage?

  • a. 2
  • b. 3
  • C. 4
  • d. 6
  • e. Basic condition coverage is not achievable
Answer:- c

Q10. At least how many test cases are needed for the C code segment given question 8, for achieving multiple condition coverage?

  • a. 4
  • b. 5
  • C. 6
  • d. 8
  • e. Multiple condition coverage is not achievable for the given code
Answer:- e

Important Links:-

NPTEL Answers

Join Our Telegram

NPTEL Software Engineering Week 11 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 11. All the answers are provided here on the basis of data available on the internet.