Computer Knowledge

Software Testing and Quality Control

2,292 Questions

Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.

Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions

Software Testing and Quality Control Questions

Multiple choice technology mainframe
  1. TAR rules verification

  2. Scorecard Attributes

  3. Tier Cutoffs

  4. All the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All three components are essential to scorecard testing: verifying TAR (Transaction/Account Rating) rules, checking Scorecard Attributes for proper data mapping, and validating Tier Cutoffs ensure correct segmentation.

Multiple choice technology testing
  1. Static test

  2. Dynamic test

  3. Smoke test

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Smoke testing is the standard practice for testing a candidate build before deployment. A smoke test verifies that the most critical functions work - it's a quick sanity check to ensure the build isn't completely broken. Static testing analyzes code without running it, dynamic testing involves detailed runtime analysis, but smoke tests are the standard for deployment validation.

Multiple choice technology testing
  1. TIN

  2. TAC

  3. DEV

  4. All of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Agent testing is always performed in TAC (likely 'Test Agent Console' or similar) environment. DEV is for developer testing, and TIN is for IT/system testing. TAC is specifically designed for agent-level testing with the appropriate interface and permissions that agents would use. This separation ensures agents don't accidentally access development tools or system-level test regions.

Multiple choice technology testing
  1. An input, expected result, precondition and postcondition

  2. The steps to be taken to get the system to a given point

  3. Something that can be tested

  4. A specific state of the software

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

According to standard testing definitions (like ISTQB), a test condition is an item or event of a component or system that can be verified by one or more test cases. Option 1 defines a test case, and option 2 defines a test procedure or test script.

Multiple choice technology testing
  1. Inspection is a form of functional testing

  2. Structural testing is more important than functional testing as it addresses the code

  3. Functional testing is more powerful than static testing as you run the system as see what happens.

  4. Functional testing is useful throughout the life cycle and can be applied by business analyst, testers, developers and users.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Functional testing evaluates the system against requirements by executing it with specified inputs, making it applicable throughout the development lifecycle by various stakeholders. Inspection is a static testing technique, not functional. Structural testing complements rather than competes with functional testing. Comparing functional and static testing as 'more powerful' is misleading - they serve different purposes.

Multiple choice technology testing
  1. A,F,E

  2. D,A,C

  3. B,C,A

  4. E,F,C

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Structure-based (white-box) testing coverage is measured by which code elements have been executed: decision outcomes (branch coverage), statements (line coverage), and conditions within decisions (condition coverage). Partitions, boundaries, and cause-effect graphs relate to black-box specification-based techniques, not structure-based analysis.

Multiple choice technology testing
  1. Breadth and Depth test

  2. Retesting

  3. Confirmation testing

  4. Sanity testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Maintenance testing employs two main methodologies: Breadth testing (testing across multiple areas to ensure changes haven't adversely affected other parts of the system) and Depth testing (thoroughly testing the specific changed area). Retesting and confirmation testing refer to rerunning failed tests after fixes, while sanity testing is a quick subset of regression testing.

Multiple choice technology testing
  1. Structural testing

  2. Design based testing

  3. Error guessing technoque

  4. Experienced based testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

White box testing is also known as structural testing because it focuses on the internal structure, pathways, and logic of the software code. Design-based, error guessing, and experience-based techniques are separate paradigms or black-box/hybrid methodologies.

Multiple choice technology testing
  1. A set of test cases for testing classes of objects

  2. An input or output range of values such that one valuye in the range becomes a test case

  3. An input or output range of values such that each value in the range becomes a test case

  4. An input or output range of values such that every tenth value in the range becomes a test case.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Equivalence partitioning divides input data into groups (partitions) that are expected to be processed similarly. The key principle is that testing one value from each partition is sufficient to find defects affecting that partition, rather than testing every possible value. This makes testing more efficient while maintaining good coverage.

Multiple choice technology testing
  1. Are most useful in uncovering defects in the process flows during real world use of the system

  2. Are most useful in uncovering defects in the process flows during the testing use of the system

  3. Are most useful in covering the defects in the process flows during real world use of the system

  4. Are most useful in covering the defects at the Integration Level

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Use cases describe how users interact with the system to accomplish specific goals in real-world scenarios. Test cases derived from use cases are particularly valuable for discovering defects in actual user workflows and process flows, rather than just testing individual features in isolation. They help validate the system from a user's perspective.

Multiple choice technology testing
  1. Creating test suites from the test cases

  2. Executing test cases either manually or by using test execution tools

  3. Comparing actual results

  4. Designing the Tests

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Designing the tests is part of the Test Design phase, which occurs before Test Implementation and Execution. Creating suites, executing tests, and comparing results are core activities of the implementation and execution phase, making 'Designing the Tests' the correct choice.

Multiple choice technology testing
  1. Statement Testing and coverage

  2. Decision Testing and coverage

  3. Condition Coverage

  4. Boundary value analysis

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

White box testing techniques require visibility into the internal code structure and include statement coverage, decision/branch coverage, and condition coverage. Boundary value analysis is a black box technique because it focuses on input and output values at boundaries without examining internal code logic. It relies on understanding the input domain rather than the code implementation.

Multiple choice technology testing
  1. i. Determine the test technique to be employed

  2. ii. Determine the extent of testing to be carried out

  3. iii. Prioritize testing in an attempt to find critical defects as early as possible.

  4. iv. Determine the cost of the project

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In a risk-based testing approach, identified risks directly inform the extent of testing to be performed. High-risk areas receive more thorough testing attention, while lower-risk components may be tested less extensively. This ensures that limited testing resources are allocated where they'll provide the most value in finding critical defects early.

Multiple choice technology testing
  1. Security Testing

  2. Recovery Testing

  3. Performance Testing

  4. Functionality Testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Security testing is a type of functional testing specifically focused on evaluating system vulnerabilities and protection mechanisms against malicious threats like viruses, malware, and unauthorized access from outsiders. It tests authentication, authorization, encryption, and other security controls. Recovery testing deals with system restoration after failures, performance testing measures system responsiveness under load, and functionality testing validates features work as specified - none of these focus on threat detection.