Sample Exam Set C Flashcards

(29 cards)

1
Q

Question #1 (1 Point)

Which of the following is a typical test objective?

a) Validating that documented requirements are met
b) Causing failures and identifying defects
c) Initiating errors and identifying root causes
d) Verifying the test object meets user expectations

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Question #2 (1 Point)

Which of the following statements BEST describes the difference between testing and debugging?

a) Testing causes failures while debugging fixes failures
b) Testing is a negative activity while debugging is a positive activity
c) Testing determines that defects exist while debugging removes defects
d) Testing finds the cause of defects while debugging fixes the cause of defects

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Question #3 (1 Point)

The ‘absence-of-defects fallacy’ is one of the principles of testing. Which of the following is an example of addressing this principle in practice?

a) Explaining that it is not possible for testing to show the absence of defects
b) Supporting the end users to perform acceptance testing
c) Ensuring that no implementation defects remain in the delivered system
d) Modifying tests that cause no failures to ensure few defects remain

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Question #4 (1 Point)

Which of the following test activities are MOST likely to involve the application of boundary value analysis and equivalence partitioning?

a) Test implementation
b) Test design
c) Test execution
d) Test monitoring
e) Test analysis

Select TWO options.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Question #5 (1 Point)

Given the following testware:
1. Coverage items
2. Change requests
3. Test execution schedule
4. Prioritized test conditions

And the following test activities
A. Test analysis
B. Test design
C. Test implementation
D. Test completion

Which of the following BEST shows the testware produced by the activities?
a) 1B, 2D, 3C, 4A
b) 1B, 2D, 3A, 4C
c) 1D, 2C, 3A, 4B
d) 1D, 2C, 3B, 4A

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Question #6 (1 Point)

Which of the following statements about the different testing roles is MOST likely to be CORRECT?

a) In Agile software development, the test management role is the primary responsibility of the team, while the testing role is primarily the responsibility of a single individual from outside the team
b) The testing role is primarily responsible for test monitoring and control, while the test management role is primarily responsible for test planning and test completion
c) In Agile software development, test management activities that span multiple teams are handled by a test manager outside the team, while some test management tasks are handled by the team itself
d) The test management role is primarily responsible for test analysis and test design, while the testing role is primarily responsible for test implementation and execution

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Question #7 (1 Point)

Which of the following is an advantage of the whole-team approach?

a) Teams with no testers
b) Improved team dynamics
c) Specialist team members
d) Larger team sizes

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Question #8 (1 Point)

Which of the following statements about the independence of testing is CORRECT?

a) Independent testers will find defects due to their different technical perspective from developers, but their independence may lead to an adversarial relationship with the developers
b) Developers’ familiarity with their own code means they only find a few defects in it, however their shared software background with testers means these defects would also be found by the testers
c) Independent testing requires testers who are outside the developer’s team and ideally from outside the organization, however these testers find it difficult to understand the application domain
d) Testers from outside the developer’s team are more independent than testers from within the team, but the testers from within the team are more likely to be blamed for delays in product release

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Question #9 (1 Point)

Which of the following is a good testing practice that applies to all software development lifecycles?

a) For each test level, there is a corresponding development level
b) For each test objective, there is a corresponding development objective
c) For every software test activity, there is a corresponding user activity
d) For every software development activity, there is a corresponding test activity

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Question #10 (1 Point)

Which of the following is an example of a test-first approach to development?

a) Component Test-Driven Development
b) Integration Test-Driven Development
c) System Test-Driven Development
d) Acceptance Test-Driven Development

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Question #11 (1 Point)

Which of the following provides the BEST description of the shift-left approach?

a) When agreed by the developers, manual activities on the left-hand side of the test process are automated to support the principle of ‘early testing saves time and money’
b) Where cost-effective, test activities are moved to be performed earlier in the software development lifecycle (SDLC) to reduce the total cost of quality by reducing the number of defects found later in the SDLC
c) When they have spare time available, testers are required to automate tests for regression testing, starting with component tests and component integration tests
d) When available, testers are trained to perform tasks early in the SDLC to allow more test activities to be automated later in the SDLC

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Question #12 (1 Point)

Which of the following is LEAST likely to occur as a result of a retrospective?

a) The quality of future test objects improves by identifying improvements in development practices
b) Test efficiency improves by speeding up the configuration of test environments through automation
c) End users’ understanding of the development and test processes is improved
d) Automated test scripts are enhanced through feedback from developers

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Question #13 (1 Point)

Which of the following test levels is MOST likely being performed if the testing is focused on validation and is not being performed by testers?

a) Component testing
b) Component integration testing
c) System integration testing
d) Acceptance testing

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Question #14 (1 Point)

The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be performed?

a) Only confirmation testing
b) Confirmation testing then regression testing
c) Only regression testing
d) Regression testing then confirmation testing

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Question #15 (1 Point)

Given the following example defects:

i. Two different parts of the design specification disagree due to the complexity of the design
ii. A response time is too long and so makes users lose patience
iii. A path in the code cannot be reached during execution
iv. A variable is declared but never subsequently used in the program
v. The amount of memory needed by the program to generate a report is too high
Which of the following BEST identifies example defects that could be found by static testing (rather than dynamic testing)?

a) ii, v
b) iii, v
c) i, ii, iv
d) i, iii, iv

Select ONE option.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Question #16 (1 Point)

Which of the following is a benefit of early and frequent stakeholder feedback?

a) Changes to requirements are understood and implemented earlier
b) It ensures business stakeholders understand user requirements
c) It allows product owners to change their requirements as often as they want
d) End users are told which requirements will not be implemented prior to release

Select ONE option.

17
Q

Question #17 (1 Point)

Given the following review types:

  1. Technical review
  2. Informal review
  3. Inspection
  4. Walkthrough

And the following descriptions:

A. Includes objectives such as gaining consensus, generating new ideas, and motivating authors to improve
B. Includes objectives such as educating reviewers, gaining consensus, generating new ideas and detecting potential defects
C. The main objective is detecting potential defects and it requires metrics collection to support process improvement
D. The main objective is detecting potential defects and it generates no formal documented output
Which of the following BEST matches the review types and the descriptions?

a) 1A, 2B, 3C, 4D
b) 1A, 2D, 3C, 4B
c) 1B, 2C, 3D, 4A
d) 1C, 2D, 3A, 4B

Select ONE option.

18
Q

Question #18 (1 Point)

Which of the following is a factor that contributes to a successful review?

a) Ensure management participate as reviewers
b) Split large work products into smaller parts
c) Set reviewer evaluation as an objective
d) Plan to cover one document per review

Select ONE option.

19
Q

Question #19 (1 Point)

What is the MAIN difference between black-box test techniques and experience-based test techniques?

a) The test object
b) The test level at which the test technique is used
c) The test basis
d) The software development lifecycle (SDLC) in which the test technique can be used

Select ONE option.

20
Q

Question #20 (1 Point)

You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:

Variable: PIN code length
* The partition “length correct” - four-digit PINs
* The partition “length incorrect” - PINs with length other than 4

Variable: Number of different digits
* The partition “number of different digits correct” - PINs with at least two different digits
* The partition “number of different digits incorrect” - PINs with all digits being the same

Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?

a) 1, 1111, 1234, 12345, 1
b) 111, 1111, 1112
c) 1, 12345
d) 12345, 1234

Select ONE option.

21
Q

Question #21 (1 Point)

W A developer was asked to implement the following business rule:

INPUT: value (integer number)
IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect”
ELSE write “value OK”

You design the test cases using 2-value boundary value analysis.

Which of the following sets of test inputs achieves the greatest coverage?

a) 100, 150, 200, 201
b) 99, 100, 200, 201
c) 98, 99, 100, 101
d) 101, 150, 199, 200

Select ONE option.

22
Q

Question #22 (1 Point)

You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table.

What test data will show that there are contradictory rules in the decision table?

a) C1 = T, C2 = T, C3 = F
b) C1 = T, C2 = F, C3 = T
c) C1 = T, C2 = T, C3 = T and C1 = F, C2 = T, C3 = T
d) C1 = F, C2 = F, C3 = F

Select ONE option.

23
Q

Question #23 (1 Point)

You are designing test cases based on the following state transition diagram:

What is the MINIMUM number of test cases required to achieve 100% valid transitions coverage?

a) 3
b) 2
c) 5
d) 6

Select ONE option.

24
Q

Question #24 (1 Point)

You want to apply branch testing to the code represented by the following control flow graph.

How many coverage items do you need to test?
a) 2
b) 4
c) 8
d) 7

Select ONE option.

25
# Question #25 (1 Point) How can white-box testing be useful in support of black-box testing? a) White-box coverage measures can help testers evaluate black-box tests in terms of the code coverage achieved by these black-box tests b) White-box coverage analysis can help testers identify unreachable fragments of the source code c) Branch testing subsumes black-box test techniques, so achieving full branch coverage guarantees achieving full coverage of any black-box technique d) White-box test techniques can provide coverage items for black-box techniques | Select ONE option.
26
# Question #26 (1 Point) Consider the following list: * Correct input not accepted * Incorrect input accepted * Wrong output format * Division by zero What test technique is MOST PROBABLY used by the tester who uses this list when performing testing? a) Exploratory testing b) Fault attack c) Checklist-based testing d) Boundary value analysis | Select ONE option.
27
# Question #27 (1 Point) Which of the following BEST describes how using checklist-based testing can result in increased coverage? a) Checklist items can be defined at a sufficiently low level of detail, so the tester can implement and execute detailed test cases based on these items b) Checklists can be automated, so each time an automated test execution covers the checklist items, it results in additional coverage c) Each checklist item should be tested separately and independently, so the elements cover different areas of the software d) Two testers designing and executing tests based on the same high-level checklist items will typically perform the testing in slightly different ways | Select ONE option.
28
# Question #28 (1 Point) Which of the following provides the BEST example of a scenario-oriented acceptance criterion? a) The application must allow users to delete their account and all associated data upon request b) When a customer adds an item to their cart and proceeds to checkout, they should be prompted to log in or create an account if they haven’t already done so c) IF (contain(product(23).Name, cart.products())) THEN return FALSE d) The website must comply with the ICT Accessibility 508 Standards and ensure that all content is accessible to users with disabilities | Select ONE option.
29
# Question #29 (1 Point) You are using acceptance test-driven development and designing test cases based on the following user story: ``` As a Regular or Special user, I want to be able to use my electronic floor card, to access specific floors. Acceptance Criteria: AC1: Regular users have access to floors 1 to 3 AC2: Floor 4 is only accessible to Special users AC3: Special users have all the access rights of Regular users ```