Posts

Showing posts with the label Sample Exam Paper 41

ISEB-ISTQB Sample Exam Paper 41

Image
1. Given the following code, which is true: Read P Read Q IF P+Q > 100 THEN Print "Large" ELSE IF P+Q > 50 THEN Print "Medium" ELSE Print "Small" ENDIF ENDIF a) 1 test for statement coverage, 3 for branch coverage b) 2 tests for statement coverage, 2 for branch coverage c) 2 tests for statement coverage, 3 for branch coverage d) 3 tests for statement coverage, 3 for branch coverage e) 3 tests for statement coverage, 2 for branch coverage 2. Given the following: Switch PC on Start “outlook” IF outlook appears THEN Send an email  Close outlook   a) 1 test for statement coverage, 1 for branch coverage b) 1 tests for statement coverage, 2 for branch coverage c) 1 tests for statement coverage, 3 for branch coverage d) 2 tests for statement coverage, 2 for branch coverage e) 2 tests for statement coverage, 3 for branch coverage 3. Given the following code, which is true: IF A > B THEN C = A - B ELSE C = ...