Skip to main content

Posts

Showing posts with the label Exam Paper 1

Statement Coverage and Pseudo Code, Question Papers

Statement Coverage and Pseudo Code, Question Papers. 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 ...