Q1. A review of the following pseudo code is to be performed using a checklist: Module Vowel Counter Message: array of Characters M, N: Integer ACount, ECount, ICount, OCount, UCount: Integer BEGIN I=1 Read Nextchar While Nextchar 'S' DO Message (I) = Nextchar I = I+1 Read Nextchar ENDWHILE FOR M = 1 To I DO Print (Message(M)) IF Message (M) = 'E' THEN ECount = ECount + 1 ELSE IF Message (M) = 'A' THEN ACount = ACount + 1 ELSE IF Message (M) = 'I' THEN ICount = ICount + 1 ELSE IF Message (M) = 'O' THEN OCount = OCount + 1 ELSE IF Message (M) = 'U' THEN UCount = UCount + 1 ENDIF ENDIF ENDIF ENDIF ENDIF ENDFOR Print ('Message contains ' ACount + ECount + ICount + OCount + UCount ' vowels') END Which of the following checklist items would find code errors in this scenario? A) Are all variables properly declared? B) Are all loops, branches, and logic constructs complete, correct, and properly nested? C) Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses? D) Are loop termination conditions obvious and invariably achievable? E) Are there any redundant or unused variables?
A.b and c
B. a and e
C. c and d
D. a and d
Correct Answer: A
Q2. You are working on a project that is integrating code from multiple development groups. There have been numerous integration problems, particularly regarding reliability, error recovery and transactional integrity. You are now responsible for planning the performance efficiency testing for this product. There Is a strong feeling among the development managers that some parts of the code are weaker than others and will tend to exhibit problems during the performance efficiency testing. To identify these problematic areas as soon as possible, which type of testing should you do?
A.Load testing
B. Interoperability testing
C. Stress testing
D. Scalability testing
Correct Answer: C
Q3. Which of the following is a reason for the Technical Test Analyst to take the time to prepare for a code review?
A.Allows the reviewer time to consider the Interaction of the item being reviewed with other items In the system
B. Allows time to prepare the test data
C. Allows time to gather the test metrics for management review
D. Allows time to plan the design and implementation of the item being reviewed
Correct Answer: A
Q4. You are working on a project that is integrating code from multiple development groups. There have been numerous integration problems, particularly regarding reliability, error recovery and transactional integrity. You are now responsible for planning the performance efficiency testing for this product. There Is a strong feeling among the development managers that some parts of the code are weaker than others and will tend to exhibit problems during the performance efficiency testing. To identify these problematic areas as soon as possible, which type of testing should you do?
A.Load testing
B. Interoperability testing
C. Stress testing
D. Scalability testing
Correct Answer: C
$ 39
Reviews
There are no reviews yet.