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 define how testing will be performed
B. To install the operating system
C. To design the user interface
D. To write the application code

2 Which activity is supported by a test plan?

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

3 Why are testing resources identified during test planning?

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

4 Which item is commonly included in a test plan?

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

5 What does a test schedule describe?

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

6 Which topic identifies conditions for starting or stopping testing?

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

7 What is a primary goal of test case planning?

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

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. Required test data
B. Company tax rates
C. Marketing targets
D. Employee attendance

10 What is a test case?

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

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

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

12 What is a test scenario?

Test Case Planning Overview Easy
A. A high-level situation to be tested
B. A completed salary report
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 make them easier to find and manage
B. To prevent them from being executed
C. To remove their expected results
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. Passed
B. Blocked
C. Failed
D. Skipped

15 What does a failed test case indicate?

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

16 What should a well-designed test case be?

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

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

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

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

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

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

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

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

Building Automated Test Cases Using Java Framework Tools Easy
A. JUnit
B. Excel
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. Ask each tester to select tests based only on personal preference
B. Remove all tests that require complex test data
C. Prioritize tests according to product risk and business impact
D. Execute test cases in the order in which they were written

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. Keep the schedule unchanged and document the issue after release
B. Replace performance testing with additional user-interface testing
C. Record the dependency and arrange an alternative or revise the schedule
D. Mark every performance test as passed because the environment is unavailable

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

Test Planning Topics Medium
A. Execution summary
B. Entry criteria
C. Defect severity
D. Exit 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. Resource allocation
B. Test-case ownership
C. Exit criteria
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. Defect classifications
C. Requirement identifiers
D. Test deliverables

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. Execution speed
B. Defect resolution
C. Requirements coverage
D. Environment stability

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. Allow each tester to maintain a separate copy indefinitely
C. Combine login testing with every unrelated feature test in one large end-to-end procedure
D. Execute all duplicate cases to increase the total pass count

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. Identify test conditions and expected outcomes from the requirement
B. Execute random passwords until the account becomes locked
C. Create a defect report for the untested requirement
D. Write automation code before defining the expected result

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. Delay all planning until the user interface is completely frozen
B. Automate every screen coordinate and visual action immediately, including elements expected to change
C. Define expected results only after the first production release
D. Plan logical test conditions before finalizing detailed execution steps

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 traceability matrix linking requirements and test cases
B. A folder containing only execution screenshots
C. A dashboard showing the total number of test steps
D. A list of tester names sorted alphabetically

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. Failed
B. Passed
C. Blocked
D. Retired

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. Overwrite the case and delete all previous execution records
B. Reuse the identifier for a different feature to limit database growth
C. Store the changed steps only in a tester's private notes
D. Create a new version while preserving the execution history

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

Test Case Design Medium
A. 1, 25, 50, 75, 100, 125
B. 0, 1, 2, 99, 100, 101
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. One supported country and one unsupported country
B. Every supported country in alphabetical order
C. Only the first and last supported countries
D. Several supported countries, every unsupported country, and all possible differences in letter casing

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. Error guessing
B. Decision table testing
C. State transition testing
D. Random 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 tester confirms that the application looks acceptable
B. The account is created and the user is taken to the welcome page
C. The system creates all required internal records, performs every relevant validation, and behaves according to unspecified business expectations
D. The registration process should work correctly

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. Require testers to remember which cases modify the account
B. Change the expected result depending on the execution order
C. Remove the test from the suite because dependent tests cannot be documented reliably
D. Add explicit preconditions and cleanup steps for account state

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. @TestFactory
C. @AfterEach
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. Catch the failure and mark the test as passed
B. Repeat the entire test continuously until one execution succeeds
C. Add a fixed 30-second delay before every interaction
D. Use an explicit wait for the button to become enabled

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. Copy the login code into a shared text document
B. Encapsulate the page locators and actions in a Page Object
C. Generate a new locator at random each time the login page is opened
D. Place every test and locator in one large Java method

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. Allocate effort according to product risk, release constraints, and required evidence
C. Automate the largest test cases first regardless of their business impact
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. Meeting frequency and daily status distribution lists
B. Programming standards and source review procedures
C. Exit criteria and test completion reporting rules
D. Defect naming conventions and attachment formats

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. Source control branching, code ownership, and build artifact retention
D. Product branding, deployment notes, and customer training materials

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 defect dashboard showing daily counts grouped by assigned developer
D. A naming standard that embeds priority in every test case identifier

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. Ensuring every requirement maps to exactly one independent test case
D. Maximizing the percentage of tests executed without test data

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. Remove every manual case because automated cases always provide broader coverage
B. Retain cases that maximize distinct risk and coverage per unit execution cost
C. Remove all cases that previously detected defects because they have succeeded
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. Translate the statement into measurable workload, latency, and percentile criteria
B. Select random query terms and record whichever response times are observed
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. Store results in comments while keeping requirement mappings outside the repository
B. Version the case and preserve execution links to requirement baselines
C. Duplicate the case without relationships and rename both copies by date
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. Combine passed, failed, and blocked tests because each received execution effort
B. Treat blocked tests as failures because neither status provides release confidence
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. Store one logical case with explicit platform configurations and separate executions
B. Keep unrelated copies and remove the shared requirement from one of the cases
C. Merge both execution results into one status without recording the database platform
D. Delete one case because identical inputs guarantee identical database behavior

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. Equivalence partitioning based only on valid and invalid passwords
B. State transition testing using states, events, guards, and transitions
C. Pairwise testing across browser, operating system, and account type
D. Boundary testing applied only to the password character count

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 use-case narrative containing one typical premium purchase workflow
C. A boundary table containing only cart values near the $100 threshold
D. A decision table covering conditions and resulting discount actions

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. Define isolated preconditions, controlled data identifiers, and post-test cleanup
B. Repeat failed downstream tests until the shared records happen to become usable
C. Allow each tester to select any customer record that appears inactive at runtime
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. Place the withdrawal in @BeforeEach and mark the test passed if setup fails
B. Use assertDoesNotThrow, then inspect the exception through a global listener
C. Catch Exception, print its message, and skip the balance assertion on failure
D. Use assertThrows, then assert the balance separately after the invocation

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 explicit wait for the button's required state before interacting
B. Increase the fixed sleep to the maximum delay observed in production
C. Use an implicit wait and retain the fixed sleep for additional protection
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. Provide each test thread with an isolated driver and deterministic teardown
B. Reuse one browser window but assign a different tab to each test method
C. Add retries around navigation until each test reaches its expected application page
D. Synchronize every assertion while leaving navigation and setup unsynchronized