Professional Documents
Culture Documents
Week 1 Assignment 1
Week 1 Assignment 1
Unit 2 - Week 1
Assignment 1
1) If the actual output produced after test case execution differs from the
expected output given as a part of the test case, the test case is said
to have
Passed
Failed
Accepted Answers:
Failed
Unit testing
Integration testing.
System testing
Functional testing.
Accepted Answers:
Integration testing.
Accepted Answers:
(Type: String) Regression testing
Accepted Answers:
(Type: String) True
Accepted Answers:
x < 10 && 0 < y < 50
6) State true or false: There are models available for source code
Accepted Answers:
(Type: String) False
7) Which of the following two test cases will satisfy predicate coverage for
the predicate (x+1 ≤ 5 || z > 0)?
Accepted Answers:
(i) x=1 and z=0 and (ii) x=5 and z=0.
Accepted Answers:
(Type: String) True
9) State true or false: JUnit uses assertions to check and intimate an user
about a test case having passed or failed after execution.
Accepted Answers:
(Type:String)u
https://onlinecourses.nptel.ac.in/noc17_cs32/unit?unit=10&assessment=29 2/3
05/01/2018 Software testing - - Unit 2 - Week 1
Accepted Answers:
(Type: String) False