Unit 3: Test Administration - Practice Quiz

CSE376 — Automated Testing 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main goal of test planning?

Goal of Test Planning Easy
A. To install the operating system
B. To define how testing will be performed
C. To write the application code
D. To design the user interface

2 Which activity is supported by a test plan?

Goal of Test Planning Easy
A. Replacing all software requirements
B. Creating customer invoices
C. Coordinating testing activities
D. Managing employee salaries

3 Why are testing resources identified during test planning?

Goal of Test Planning Easy
A. To avoid documenting test results
B. To remove the need for software testing
C. To increase the number of software defects
D. To ensure needed people and tools are available

4 Which item is commonly included in a test plan?

Test Planning Topics Easy
A. Employee vacation history
B. Testing scope
C. Office building design
D. Product advertising slogan

5 What does a test schedule describe?

Test Planning Topics Easy
A. Where customers purchase software
B. How source code is compiled
C. When testing activities will occur
D. Why a company hires employees

6 Which topic identifies conditions for starting or stopping testing?

Test Planning Topics Easy
A. User interface color
B. Network cable length
C. Entry and exit criteria
D. Database normalization

7 What is a primary goal of test case planning?

Goals of Test Case Planning Easy
A. To reduce the number of requirements
B. To decide what needs to be tested
C. To eliminate all project documentation
D. To replace developers with testers

8 Why should test cases be linked to requirements?

Goals of Test Case Planning Easy
A. To confirm that requirements are covered
B. To prevent testers from recording results
C. To change requirements without approval
D. To make the application run faster

9 What does test case planning help testers identify?

Goals of Test Case Planning Easy
A. Employee attendance
B. Required test data
C. Marketing targets
D. Company tax rates

10 What is a test case?

Test Case Planning Overview Easy
A. A software installation package
B. A set of steps and expected results
C. A project budget document
D. A list of programming languages

11 Which information is normally defined before executing a test case?

Test Case Planning Overview Easy
A. The expected result
B. The tester's lunch time
C. The office seating plan
D. The company's logo size

12 What is a test scenario?

Test Case Planning Overview Easy
A. A completed salary report
B. A high-level situation to be tested
C. A detailed source code comment
D. A hardware replacement order

13 Why are test cases organized into groups?

Test Case Organization and Tracking Easy
A. To prevent them from being executed
B. To remove their expected results
C. To make them easier to find and manage
D. To hide failed test results

14 Which status usually indicates that a test case produced the expected result?

Test Case Organization and Tracking Easy
A. Blocked
B. Skipped
C. Failed
D. Passed

15 What does a failed test case indicate?

Test Case Organization and Tracking Easy
A. The software has no requirements
B. The test case was written in a spreadsheet
C. The actual result differs from the expected result
D. The test case has no assigned identifier

16 What should a well-designed test case be?

Test Case Design Easy
A. Unrelated and informal
B. Clear and repeatable
C. Hidden and incomplete
D. Random and undocumented

17 Which test design technique checks values at the edges of an input range?

Test Case Design Easy
A. Code formatting
B. Screen prototyping
C. Boundary value analysis
D. Version labeling

18 Which item is commonly included in a manual test case?

Building Manual Test Cases Easy
A. Network ownership record
B. Compiler source code
C. Test steps
D. Advertising budget

19 What should a tester record after executing a manual test case?

Building Manual Test Cases Easy
A. The team holiday plan
B. The actual result
C. The application price
D. The office telephone list

20 Which tool is commonly used as a Java unit testing framework?

Building Automated Test Cases Using Java Framework Tools Easy
A. Excel
B. JUnit
C. PowerPoint
D. Photoshop

21 A team has limited time before release and cannot execute every planned test. How should test planning address this constraint?

Goal of Test Planning Medium
A. Remove all tests that require complex test data
B. Prioritize tests according to product risk and business impact
C. Execute test cases in the order in which they were written
D. Ask each tester to select tests based only on personal preference

22 During planning, the team discovers that the performance environment will not be available until two days before release. What is the most appropriate planning response?

Goal of Test Planning Medium
A. Replace performance testing with additional user-interface testing
B. Keep the schedule unchanged and document the issue after release
C. Mark every performance test as passed because the environment is unavailable
D. Record the dependency and arrange an alternative or revise the schedule

23 Which planning item defines the conditions that must be satisfied before system testing can begin?

Test Planning Topics Medium
A. Execution summary
B. Defect severity
C. Exit criteria
D. Entry criteria

24 A test plan states that testing will end when 95% of critical test cases pass and no open critical defects remain. This statement primarily defines:

Test Planning Topics Medium
A. Exit criteria
B. Test-case ownership
C. Resource allocation
D. A complete procedure for deciding how every failed test will be debugged and repaired

25 A payment feature depends on an external banking sandbox that is occasionally unavailable. In which part of the test plan should this concern and its mitigation be recorded?

Test Planning Topics Medium
A. Risks and contingencies
B. Test deliverables
C. Requirement identifiers
D. Defect classifications

26 A requirements review finds that one security requirement has no associated test case. Which test case planning goal has not been achieved?

Goals of Test Case Planning Medium
A. Environment stability
B. Defect resolution
C. Execution speed
D. Requirements coverage

27 Three testers independently create nearly identical login tests. Which planning action would best reduce this duplication?

Goals of Test Case Planning Medium
A. Review planned coverage and assign ownership before implementation
B. Execute all duplicate cases to increase the total pass count
C. Allow each tester to maintain a separate copy indefinitely
D. Combine login testing with every unrelated feature test in one large end-to-end procedure

28 A requirement states that an account is locked after five consecutive failed login attempts. What should the team do first when planning test cases for this behavior?

Test Case Planning Overview Medium
A. Write automation code before defining the expected result
B. Identify test conditions and expected outcomes from the requirement
C. Create a defect report for the untested requirement
D. Execute random passwords until the account becomes locked

29 A feature is still changing frequently, but its business rules are stable. Which approach is most suitable during initial test case planning?

Test Case Planning Overview Medium
A. Plan logical test conditions before finalizing detailed execution steps
B. Define expected results only after the first production release
C. Delay all planning until the user interface is completely frozen
D. Automate every screen coordinate and visual action immediately, including elements expected to change

30 A requirement changes after several related test cases have already been created. Which mechanism best helps the team identify the affected cases?

Test Case Organization and Tracking Medium
A. A list of tester names sorted alphabetically
B. A folder containing only execution screenshots
C. A dashboard showing the total number of test steps
D. A traceability matrix linking requirements and test cases

31 Test case TC-104 fails because the test environment is offline, so the application behavior cannot be evaluated. Which execution status is most appropriate?

Test Case Organization and Tracking Medium
A. Blocked
B. Retired
C. Failed
D. Passed

32 A test case is updated after a workflow change, but previous execution results must remain auditable. What is the best tracking practice?

Test Case Organization and Tracking Medium
A. Create a new version while preserving the execution history
B. Overwrite the case and delete all previous execution records
C. Store the changed steps only in a tester's private notes
D. Reuse the identifier for a different feature to limit database growth

33 A quantity field accepts integer values from 1 through 100 inclusive. Which set best applies boundary value analysis?

Test Case Design Medium
A. 0, 1, 2, 99, 100, 101
B. 1, 25, 50, 75, 100, 125
C. 0, 20, 40, 60, 80, 100
D. 2, 3, 50, 98, 99, 100

34 A shipping form accepts countries from a supported list and rejects all other country values. Which test set best represents equivalence partitioning?

Test Case Design Medium
A. Several supported countries, every unsupported country, and all possible differences in letter casing
B. Only the first and last supported countries
C. Every supported country in alphabetical order
D. One supported country and one unsupported country

35 A discount is applied only when a customer is a premium member and the cart total is at least $100. Which technique is most useful for covering combinations of these conditions?

Test Case Design Medium
A. State transition testing
B. Error guessing
C. Random testing
D. Decision table testing

36 Which expected result is most suitable for a manual test that submits a valid registration form?

Building Manual Test Cases Medium
A. The registration process should work correctly
B. The tester confirms that the application looks acceptable
C. The system creates all required internal records, performs every relevant validation, and behaves according to unspecified business expectations
D. The account is created and the user is taken to the welcome page

37 A manual test passes when executed alone but fails when run after another test because account data remains modified. How should the case be improved?

Building Manual Test Cases Medium
A. Change the expected result depending on the execution order
B. Add explicit preconditions and cleanup steps for account state
C. Remove the test from the suite because dependent tests cannot be documented reliably
D. Require testers to remember which cases modify the account

38 A JUnit test needs a fresh WebDriver instance before every test method. Which JUnit 5 annotation should be used on the setup method?

Building Automated Test Cases Using Java Framework Tools Medium
A. @BeforeAll
B. @AfterEach
C. @TestFactory
D. @BeforeEach

39 A Selenium test fails intermittently because it checks a button before an asynchronous request enables it. What is the best improvement?

Building Automated Test Cases Using Java Framework Tools Medium
A. Use an explicit wait for the button to become enabled
B. Catch the failure and mark the test as passed
C. Repeat the entire test continuously until one execution succeeds
D. Add a fixed 30-second delay before every interaction

40 Several Selenium tests repeat the same locators and interaction methods for the login page. Which Java test design change best improves maintainability?

Building Automated Test Cases Using Java Framework Tools Medium
A. Encapsulate the page locators and actions in a Page Object
B. Generate a new locator at random each time the login page is opened
C. Place every test and locator in one large Java method
D. Copy the login code into a shared text document

41 A payment platform must release in six weeks, but complete testing would require ten weeks. Failure impact varies sharply across features. Which planning decision best fulfills the primary goal of test planning?

Goal of Test Planning Hard
A. Assign equal testing time to every feature to preserve procedural fairness
B. Automate the largest test cases first regardless of their business impact
C. Allocate effort according to product risk, release constraints, and required evidence
D. Execute every existing test once and defer all failures until after release

42 Midway through a project, the team discovers that the planned performance environment will not be available before release. Which response best preserves the intent of the test plan?

Goal of Test Planning Hard
A. Reassess performance risk and document substitute evidence, limits, and residual risk
B. Replace performance tests with additional functional tests covering the same workflows
C. Remove performance testing because the original environment cannot be obtained
D. Keep the plan unchanged so that baseline commitments remain formally consistent

43 A test plan defines scope, environments, schedules, roles, and entry criteria, but stakeholders still disagree about whether testing is complete. Which missing planning topic most directly caused the disagreement?

Test Planning Topics Hard
A. Defect naming conventions and attachment formats
B. Meeting frequency and daily status distribution lists
C. Programming standards and source review procedures
D. Exit criteria and test completion reporting rules

44 A system depends on a third-party identity provider whose test service is available only two hours per day and occasionally returns stale data. Where should this constraint primarily be addressed in the test plan?

Test Planning Topics Hard
A. Defect severity definitions, coding standards, and unit test naming
B. Test data, environment dependencies, scheduling, and contingency planning
C. Product branding, deployment notes, and customer training materials
D. Source control branching, code ownership, and build artifact retention

45 A project has 800 requirements and limited time. The plan proposes testing only requirements labeled critical, but labels were assigned without a documented method. What is the most important addition to the plan?

Test Planning Topics Hard
A. A larger test repository with folders organized by requirement identifier
B. A formal risk model linking likelihood, impact, and planned test intensity
C. A naming standard that embeds priority in every test case identifier
D. A defect dashboard showing daily counts grouped by assigned developer

46 A suite achieves 100% requirements traceability, yet a production failure occurs because two individually tested requirements interact incorrectly. Which test case planning goal was inadequately addressed?

Goals of Test Case Planning Hard
A. Covering behavioral interactions and risk scenarios beyond direct traceability
B. Minimizing the number of identifiers assigned to each test case
C. Maximizing the percentage of tests executed without test data
D. Ensuring every requirement maps to exactly one independent test case

47 A regression suite contains many overlapping cases and takes 18 hours, while the release pipeline permits 4 hours. Which test case planning objective best guides rational reduction?

Goals of Test Case Planning Hard
A. Retain cases that maximize distinct risk and coverage per unit execution cost
B. Remove all cases that previously detected defects because they have succeeded
C. Remove every manual case because automated cases always provide broader coverage
D. Retain cases in identifier order until the execution window becomes full

48 A requirement states: "The search response should be fast for normal traffic." What should occur before detailed test cases are written?

Test Case Planning Overview Hard
A. Select random query terms and record whichever response times are observed
B. Translate the statement into measurable workload, latency, and percentile criteria
C. Create UI scripts first and derive expected performance from their average duration
D. Mark the requirement covered because performance belongs to operational monitoring

49 A feature has stable business rules but an unstable user interface that changes weekly. Which test case planning approach best limits rework while retaining coverage?

Test Case Planning Overview Hard
A. Delay all test design until the user interface is permanently frozen after release
B. Define logical scenarios independently, then map them to reusable interface actions
C. Embed current selectors directly into every scenario to make each case self-contained
D. Replace expected outcomes with screenshots so interface changes need no maintenance

50 A test case validates requirements R1 and R2. R2 changes, the case is revised, and the old release must remain auditable. Which tracking model best supports impact analysis and historical evidence?

Test Case Organization and Tracking Hard
A. Duplicate the case without relationships and rename both copies by date
B. Store results in comments while keeping requirement mappings outside the repository
C. Version the case and preserve execution links to requirement baselines
D. Overwrite the case and retain only its current requirement references

51 A dashboard reports 95% test execution, but 30% of executed tests are blocked and counted as completed. Which metric representation is most accurate?

Test Case Organization and Tracking Hard
A. Treat blocked tests as failures because neither status provides release confidence
B. Combine passed, failed, and blocked tests because each received execution effort
C. Exclude blocked tests from both totals so the completion rate remains stable
D. Report execution attempts and conclusive outcomes as separate status measures

52 Two test cases cover the same requirement and inputs, but one runs on PostgreSQL and the other on Oracle. Which organization strategy best avoids false duplication while preserving traceability?

Test Case Organization and Tracking Hard
A. Keep unrelated copies and remove the shared requirement from one of the cases
B. Delete one case because identical inputs guarantee identical database behavior
C. Merge both execution results into one status without recording the database platform
D. Store one logical case with explicit platform configurations and separate executions

53 An input accepts integers from 10 through 99 inclusive. Values outside this range are rejected. Which set provides complete robust boundary value coverage for this single input?

Test Case Design Hard
A.
B.
C.
D.

54 An account is locked after three consecutive failed logins. A successful login resets the failure count, and a locked account rejects all attempts. Which design technique most directly derives cases for this behavior?

Test Case Design Hard
A. Boundary testing applied only to the password character count
B. Equivalence partitioning based only on valid and invalid passwords
C. State transition testing using states, events, guards, and transitions
D. Pairwise testing across browser, operating system, and account type

55 A discount applies when a customer is premium and the cart exceeds $100, except when an excluded product is present. Which technique best exposes missing combinations and contradictory rules?

Test Case Design Hard
A. A state diagram representing the customer's navigation between pages
B. A decision table covering conditions and resulting discount actions
C. A boundary table containing only cart values near the $100 threshold
D. A use-case narrative containing one typical premium purchase workflow

56 A manual test step says, "Verify that the report looks correct." Which revision makes the case most reproducible without overprescribing irrelevant presentation details?

Building Manual Test Cases Hard
A. Capture a screenshot and pass the case whenever no obvious visual issue appears
B. Confirm the report contains the specified records, totals, period, and sort order
C. Ask the tester to inspect every visible element and approve the overall appearance
D. Confirm the report looks professional and resembles reports from earlier releases

57 A destructive manual test modifies shared customer records, causing later tests to fail unpredictably. Which case design change best addresses the underlying problem?

Building Manual Test Cases Hard
A. Allow each tester to select any customer record that appears inactive at runtime
B. Define isolated preconditions, controlled data identifiers, and post-test cleanup
C. Repeat failed downstream tests until the shared records happen to become usable
D. Move the destructive test to the end and leave all modified records unchanged

58 A JUnit 5 test must verify that withdraw(150) throws InsufficientFundsException and that the balance remains unchanged. Which structure is most appropriate?

Building Automated Test Cases Using Java Framework Tools Hard
A. Catch Exception, print its message, and skip the balance assertion on failure
B. Use assertDoesNotThrow, then inspect the exception through a global listener
C. Use assertThrows, then assert the balance separately after the invocation
D. Place the withdrawal in @BeforeEach and mark the test passed if setup fails

59 A Selenium Java suite frequently fails because it uses Thread.sleep(5000) before checking a dynamically loaded button. Which replacement most directly improves reliability and execution time?

Building Automated Test Cases Using Java Framework Tools Hard
A. Use an implicit wait and retain the fixed sleep for additional protection
B. Use an explicit wait for the button's required state before interacting
C. Increase the fixed sleep to the maximum delay observed in production
D. Retry the entire test class whenever the button cannot be located

60 A Java test suite shares one mutable WebDriver instance across parallel JUnit executions. Failures show tests navigating each other's browser sessions. Which redesign best preserves parallelism?

Building Automated Test Cases Using Java Framework Tools Hard
A. Reuse one browser window but assign a different tab to each test method
B. Provide each test thread with an isolated driver and deterministic teardown
C. Synchronize every assertion while leaving navigation and setup unsynchronized
D. Add retries around navigation until each test reaches its expected application page