Computer Knowledge

Software Testing and Quality Control

2,598 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 testing
  1. A black box testing technique than can only be used during system testing

  2. A white box testing technique appropriate for component testing

  3. A black box testing technique used only by developers

  4. A black box testing technique appropriate to all levels of testing

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

Equivalence partitioning is a black-box testing technique that divides input data into partitions of equivalent data. It is highly versatile and can be applied at all levels of testing, from unit testing to system testing.

Multiple choice technology testing
  1. will help ensue unchanged areas of the software have not been affected

  2. can only be run during user acceptance testing

  3. will help ensure changed areas of the software have not been affected

  4. will always be automed

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

Regression testing verifies that recent code changes haven't adversely affected existing functionality. It targets unchanged areas to ensure no unintended side effects occurred. It's not limited to UAT (runs throughout testing), doesn't validate changed areas (that's unit/system testing), and isn't always automated (often manual). Note: 'automed' appears to be a typo for 'automated'.

Multiple choice technology testing
  1. Does not meet people needs

  2. Loss of control over reallocation of resources

  3. Cultural difference

  4. Relinquishments of control

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

When testing software developed by contractors in different countries, cultural differences significantly impact communication, work practices, requirements interpretation, and testing approaches. These differences can lead to misunderstandings about specifications, testing standards, and defect reporting. Options A and D are not inherent differences of international contracting, while resource reallocation (B) is a general management concern, not specific to international vs domestic.

Multiple choice technology testing
  1. 2 is a valid reason; 1,3,4&5 are not

  2. 1,2,3,4 are valid reasons; 5 is not

  3. 1,2,3 are valid reasons; 4&5 are not

  4. All of them are valid

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

A system failure can be caused by various issues, including testing faults, software bugs, design flaws, environment configuration issues, or incorrect documentation. Therefore, all of these are valid reasons for a failure.

Multiple choice technology testing
  1. After Coding

  2. After external design

  3. After internal design

  4. After freezing the requirements

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

Starting testing after requirements are frozen allows test planning and design to align with stable specifications, enabling early identification of issues and more comprehensive test coverage. Testing should begin as early as possible in the lifecycle - waiting until after coding (A), internal design (C), or external design (B) is complete delays defect detection and increases cost. Requirements freezing marks when specs are stable enough to begin detailed test preparation.

Multiple choice technology testing
  1. it may be difficult to repeat the test

  2. It will be difficult to decide if the test has passed or failed

  3. We cannot run the test

  4. We cannot automate the user inputs

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

Without a specified acceptance criterion or expected result, a tester cannot objectively compare the actual outcome of a test against a standard, making it difficult to determine whether the test passed or failed.

Multiple choice technology testing
  1. Shorten the time required for testing

  2. Find more faults

  3. Do more effective testing

  4. Do the best testing in the time available

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

Test prioritization ensures the most critical and high-risk tests are executed when time is limited, maximizing the value of testing within constraints. Shortening time (A) is about efficiency, not prioritization. Finding more faults (B) depends on test quality, not order. Being more effective (C) is vague - the key is doing the best possible testing given available time (D). Prioritization accepts that not everything can be tested.

Multiple choice technology testing
  1. Having good attention to detail

  2. Being diplomatic

  3. Able to be relied on

  4. Able to write software

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

A tester must be reliable and dependable - this means consistently following through, reporting accurately, and being trusted by the team. While attention to detail (A) is important, it's a skill that can be learned. Being diplomatic (B) helps with communication but isn't fundamental. Software writing ability (D) is not required for testers. Reliability (C) is foundational - without trust, a tester's findings lose credibility.

Multiple choice technology testing
  1. Test Factors

  2. Functions/subroutines

  3. All of the above

  4. None of the above

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

Test data should comprehensively capture what was tested and how. Test factors include environmental conditions, configurations, and variables that affect test results. Functions/subroutines identify what code units were exercised. Both types of metadata are essential for reproducibility, coverage analysis, and debugging. The data serves as an audit trail, so collecting both dimensions (C) ensures complete documentation.

Multiple choice technology testing
  1. Checking that we are building the right system

  2. Checking that we are building the system right

  3. Performed by an independent test team

  4. Making sure that it is what the user really wants

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

Verification confirms we are building the system right - that it meets specifications and is implemented correctly (B). Validation checks we are building the right system - that it meets user needs (A, D). Independent testing (C) is not required for verification, which can be done by developers. The key distinction is verification = build correctly, validation = build correct thing.

Multiple choice technology enterprise content management
  1. Library Services

  2. Federated Services

  3. Content Storage Services

  4. Application Integration Services

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

Content Storage Services (CSS) is the Documentum service that enables automated movement of content between different storage tiers based on policies. This allows organizations to optimize storage costs by moving less frequently accessed content to cheaper storage tiers.

Multiple choice technology performance
  1. Web Controller

  2. Performance Online

  3. Performance Center

  4. Load Runner Controller v.9.x

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

Performance Center is the web-based version of LoadRunner Controller. It provides a browser-based interface for managing and monitoring load tests, whereas the traditional Controller requires a desktop client installation.

Multiple choice technology testing
  1. True

  2. False

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

In QC, defects are typically added through the Defects module and follow a specific workflow. While you might be able to access defect creation from various modules, the statement 'any modules at any stage' is too broad - QC has structured workflows and permissions that govern when and how defects can be created.