WorksheetsSoftware Testing
Total questions: 25
Worksheet time: 13mins
1. In Performance Testing, what is throughput
A. The length of time between sending of an inquiry from the client, to the display of the last byte of the response at a user terminal.
B. The amount of work that can be performed by a computer system or component in a given period of time.
C. How many concurrent users do we currently sustain or expect in a given time period?
D. All of above
6. A software calculates parking fees as follows: First hour: 10,000 VND Hours 2–5: 5,000 VND/hour From hour 6 onward: 3,000 VND/hour Which group of values belongs to the same equivalence class?
A. 0.5h; 1h; 2h
B. 2h; 4h; 6h
C. 3h; 4h; 5h
D. 1h; 5h; 7h
7. Which testing technique requires drawing a Control Flow Graph (CFG)?
A. Basis Path Testing
B. Branch Testing
C. Loop Testing
D. All of above
8. Which black-box technique organizes test conditions and actions in a table with condition stubs, condition entries, action stubs, and action entries?
A. Boundary Value Analysis
B. Equivalence Partitioning
C. Decision Table
D. State Transition Testing
10. What kind of black box testing that tester must fill data following 4 areas (condition stub, condition entry, action stub and action entry)
A. Boundary testing
B. Equivalence class testing
C. Decision table
D. Error guessing
12. Testing how software behaves across different combinations of operating systems, browsers, and devices is called:
A. Regression Testing
B. Compatibility Testing
C. Usability Testing
D. Configuration Testing
19. Software testing activities should start
A. as soon as the code is written
B. during the design stage
C. when the requirements have been formally documented
D. as soon as possible in the development life cycle
20. In Performance Testing, throughput refers to:
A. Time from request to full response
B. Amount of work processed per unit time
C. Number of concurrent users
D. All of the above
22. Which lines must write test case with branch testing technic?
IF A > B THEN C = A ELSE C = A + B ENDIF READ D IF C = D THEN PRINT "Error" ENDIF
A. 1, 7
B. 1, 2, 7
C. 1, 2, 3, 7
D. All lines
26. What existing standard(s) and guideline(s) that testers may refer when performing high-level reviews of specification.
A. Organization standards, terminology and conventions: software should adopt the common terms and conventions used by the end users.
B. Industry standards: In some industries there are strict standards that software must follow.
C. Government standards, Security standards.
D. All of above
27. A washing machine has three temperature bands for different kinds of fabrics: - Fragile fabrics are washed at temperatures between 10 and 30 degrees Celsius; - Normal fabrics are washed at temperatures between 31 and 60 degrees Celsius; - Heavily soiled and tough fabrics are washed at temperatures between 61 and 100 degrees Celsius. Which of the following contains only values that are in different equivalence partitions?
A. 10, 31, 55
B. 20, 65, 90
C. 25, 45, 77
D. 15, 30, 60
29. What kind of loop is (are) difficult to write testcase?
A. Nested loops: a loop within another loop
B. Concatenated loops: one loop after another loop
C. Unstructured loops
D. All of above
30. If the pseudocode below were a programming language, how many tests are required to achieve 100% statement coverage? IF x > 7 THEN Display "Good value" IF y = 1 THEN Display "Are you sure?" ELSE Display "Pass" ENDIF ELSE Display "See you soon" ENDIF
A. 2
B. 3
C. 4
D. 5
32. Which option lists types of static review techniques?
A. Planning, Rework, Follow-up
B. Inspection, Walkthrough, Peer Desk Check, Ad Hoc Review
C. Education Review, State Review
D. Pair programming, Code reading (only partial)
33. In a system designed to calculate the taxi fee: The fee for first km is 15000. From the second to 10 km the price is 10000. Any further the price is 8000. Which of these groups of numbers would fall into the same equivalence class?v
A. 5km; 7km; 20km
B. 2km; 7km; 8km
C. 0.1km; 0.8km; 2km
D. 0.1km; 2km; 4km
34. Which is non-functional software testing?
A. Unit Testing
B. Block box testing
C. Performance Testing
D. Regression testing
35. What is the typical size of an inspection team?
A. 3–7 participants
B. Over 10
C. As few as possible
D. Exactly 5
36. Which type of loop is most challenging for test case design?
A. Nested loops
B. Concatenated loops
C. Unstructured loops
D. All of above
39. What are the categories of Review?
A. Planning, Overview, Preparation, Meeting, Rework, Follow-up, Analysis
B. Inspection, Team Review, Walkthrough, Peer Desk Check, Ad Hoc Review
C. Education Review, Prepare Review, Peer Review, State Review
D. Inspection, Code reading, Pair programming, Walkthrough
41. The size of inspection team is:
A. 3-7 participants
B. over 10 participants
C. As least as possible
D. Exactly 5 participants
42. The order steps of performance Testing lifecycle are - Analyze Results and Tune System - Create Scripts and Conduct Test - Plan for Performance Test
A. 1, 2, 3
B. 3, 2, 1
C. 1, 3, 2
D. 2, 1, 3
43. Which technic of testing must draw the CFG (Control Flow Graph)
A. Basis Path Testing
B. Branch Testing
C. Loop Testing
D. All of above
44. How many tests are needed for 100% statement coverage of this code? 12345678 IF a > 5 THEN Print "Yes" IF b == 0 THEN Print "Zero" ENDIF ELSE Print "No" ENDIF
A. 1
B. 2
C. 3
D. 4
45. A system accepts ages for school enrollment: Kindergarten: 3–5 years Primary: 6–11 years Secondary: 12–17 years Which set contains one value from each equivalence partition?
A. 5, 6, 12
B. 4, 10, 15
C. 3, 8, 17
D. 2, 6, 18
46. The process of checking the operation of the tested software with all various types of hardware is ...
A. Regression Testing
B. Compatibility Testing
C. Alpha Testing
D. Configuration Testing
