Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Software Testing

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

1. In Performance Testing, what is throughput

a)

 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)

B. The amount of work that can be performed by a computer system or component in a given period of time.

c)

C. How many concurrent users do we currently sustain or expect in a given time period?

d)

D. All of above

2.

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)

A. 0.5h; 1h; 2h

b)

B. 2h; 4h; 6h

c)

C. 3h; 4h; 5h

d)

D. 1h; 5h; 7h

3.

7. Which testing technique requires drawing a Control Flow Graph (CFG)?

a)

A. Basis Path Testing

b)

B. Branch Testing

c)

C. Loop Testing

d)

D. All of above

4.

8. Which black-box technique organizes test conditions and actions in a table with condition stubs, condition entries, action stubs, and action entries?

a)

A. Boundary Value Analysis

b)

B. Equivalence Partitioning

c)

C. Decision Table

d)

D. State Transition Testing

5.

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)

A. Boundary testing

b)

B. Equivalence class testing

c)

C. Decision table

d)

D. Error guessing

6.

12. Testing how software behaves across different combinations of operating systems, browsers, and devices is called:

a)

A. Regression Testing

b)

B. Compatibility Testing

c)

C. Usability Testing

d)

D. Configuration Testing

7.

19. Software testing activities should start

a)

A. as soon as the code is written

b)

B. during the design stage

c)

C. when the requirements have been formally documented

d)

D. as soon as possible in the development life cycle

8.

20. In Performance Testing, throughput refers to:

a)

A. Time from request to full response

b)

B. Amount of work processed per unit time

c)

C. Number of concurrent users

d)

D. All of the above

9.

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)

A. 1, 7

b)

B. 1, 2, 7

c)

C. 1, 2, 3, 7

d)

D. All lines

10.

26. What existing standard(s) and guideline(s) that testers may refer when performing high-level reviews of specification.

a)

A. Organization standards, terminology and conventions: software should adopt the common terms and conventions used by the end users.

b)

B. Industry standards: In some industries there are strict standards that software must follow.

c)

C. Government standards, Security standards.

d)

D. All of above

11.

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)

A. 10, 31, 55

b)

B. 20, 65, 90

c)

C. 25, 45, 77

d)

D. 15, 30, 60

12.

29. What kind of loop is (are) difficult to write testcase?

a)

A. Nested loops: a loop within another loop

b)

B. Concatenated loops: one loop after another loop

c)

C. Unstructured loops

d)

D. All of above

13.

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)

A. 2

b)

B. 3

c)

C. 4

d)

D. 5

14.

32. Which option lists types of static review techniques?

a)

A. Planning, Rework, Follow-up

b)

B. Inspection, Walkthrough, Peer Desk Check, Ad Hoc Review

c)

C. Education Review, State Review

d)

D. Pair programming, Code reading (only partial)

15.

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)

A. 5km; 7km; 20km

b)

B. 2km; 7km; 8km

c)

C. 0.1km; 0.8km; 2km

d)

D. 0.1km; 2km; 4km

16.

34. Which is non-functional software testing?

a)

A. Unit Testing

b)

B. Block box testing

c)

C. Performance Testing

d)

D. Regression testing

17.

35. What is the typical size of an inspection team?

a)

A. 3–7 participants

b)

B. Over 10

c)

C. As few as possible

d)

D. Exactly 5

18.

36. Which type of loop is most challenging for test case design?

a)

A. Nested loops

b)

B. Concatenated loops

c)

C. Unstructured loops

d)

D. All of above

19.

39. What are the categories of Review?

a)

A. Planning, Overview, Preparation, Meeting, Rework, Follow-up, Analysis

b)

B. Inspection, Team Review, Walkthrough, Peer Desk Check, Ad Hoc Review

c)

C. Education Review, Prepare Review, Peer Review, State Review

d)

D. Inspection, Code reading, Pair programming, Walkthrough

20.

41. The size of inspection team is:

a)

A. 3-7 participants

b)

B. over 10 participants

c)

C. As least as possible

d)

D. Exactly 5 participants

21.

42. The order steps of performance Testing lifecycle are - Analyze Results and Tune System - Create Scripts and Conduct Test - Plan for Performance Test

a)

A. 1, 2, 3

b)

B. 3, 2, 1

c)

C. 1, 3, 2

d)

D. 2, 1, 3

22.

43. Which technic of testing must draw the CFG (Control Flow Graph)

a)

A. Basis Path Testing

b)

B. Branch Testing

c)

C. Loop Testing

d)

D. All of above

23.

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)

A. 1

b)

B. 2

c)

C. 3

d)

D. 4

24.

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)

A. 5, 6, 12

b)

B. 4, 10, 15

c)

C. 3, 8, 17

d)

D. 2, 6, 18

25.

46. The process of checking the operation of the tested software with all various types of hardware is ...

a)

A. Regression Testing

b)

B. Compatibility Testing

c)

C. Alpha Testing

d)

D. Configuration Testing