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 security
  1. ASAP Team

  2. Development Team

  3. Testing Team

  4. Project Management

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

Security vulnerabilities are defects in code that must be fixed by the team that owns the codebase. The Development Team writes and maintains the application code, so they bear responsibility for implementing remediation. Testing teams (including specialized security teams like ASAP) identify issues but do not fix them.

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

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

During the testing and rollout phase, the ASAP team conducts penetration testing to identify exploitable vulnerabilities in the running application. Penetration testing simulates real-world attacks by attempting to actively exploit security flaws. Unit testing is done by developers during coding, system and integration testing are QA activities - penetration testing is the specialized security testing performed by the ASAP team.

Multiple choice technology security
  1. Its a TCS proprietary methodology

  2. Its a security framework

  3. Its about security testing

  4. Its a product from TCS

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

TCS ASAP is a security framework that provides a structured methodology for integrating security throughout the application development lifecycle. While it is TCS proprietary (option A) and involves security testing activities (option C), neither captures the full scope - it's an overarching framework providing structure, processes, and guidance, not just a testing service or product.

Multiple choice technology security
  1. During testing

  2. During development

  3. During design

  4. During all phases of application development

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

Application security must be considered throughout the entire software development lifecycle, not just at one phase. Thinking about security only during testing, development, or design is insufficient because vulnerabilities can be introduced at any stage. A holistic approach from requirements through deployment ensures security is built in rather than bolted on later.

Multiple choice technology security
  1. Ounce

  2. DevInspect

  3. Fortify

  4. PMD

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

PMD is a well-known open source static code analysis tool for Java that checks for common programming flaws and unused code. It uses a ruleset-based approach to identify potential problems like unused variables, empty catch blocks, or inefficient object creation. Ounce and Fortify are commercial static analysis tools, while DevInspect is not a recognized static analyzer.

Multiple choice technology security
  1. White-box testing is performed by an independent programmer team

  2. Black-box testing uses the bottom-up approach

  3. Black-box testing involves the business units

  4. White-box testing examines the program internal logical structures

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

White-box testing (also called glass-box or clear-box) examines internal program structures, code, logic flows, and algorithms. Black-box testing treats software as a opaque box, testing only inputs and outputs without seeing internal code. The color refers to visibility - white means you can see inside, black means you cannot.

Multiple choice technology security
  1. Grey-box testing

  2. Black-box testing

  3. White-box testing

  4. None of these

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

Scanning source code with regex patterns to identify suspicious functions, inputs, or outputs is inherently a white-box testing technique - it requires access to and analysis of internal code. Black-box testing examines only external behavior without code access, and gray-box testing combines partial internal knowledge with external testing.

Multiple choice technology architecture
  1. OWB Design Browser Client

  2. OWB Repository

  3. OWB Client

  4. OWB Runtime Assistant

  5. OWB Runtime Audit Browser

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

The OWB Design Browser Client is a web-based interface for viewing metadata objects, generating reports, and performing lineage analysis (tracing data flow) and impact analysis (determining effects of changes). It provides read-only access to the metadata repository. The OWB Client is for design, Repository is storage, Runtime tools are for execution.

Multiple choice technology architecture
  1. OWB Deployment Manager

  2. OWB Repository

  3. OWB Client

  4. OWB Mapping Compiler

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

The OWB Deployment Manager is the runtime component responsible for deploying mapping definitions and other objects to the target environment, and for executing the deployed ETL processes. It manages the connection between the design-time repository and the runtime execution engine, handling both deployment and execution of data integration workflows. The Repository stores metadata, the Client is for design, and there is no separate Mapping Compiler component.

Multiple choice technology testing
  1. Add-Ons

  2. Add-Ins

  3. Add-Froms

  4. Add-tool

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

In automated testing with QTP/UFT, Add-Ins must be installed and loaded to enable the tool to recognize and interact with test objects of specific technologies in the target application. Add-Ons, Add-Froms, and Add-tools are incorrect terms and do not represent the required environment packages.

Multiple choice technology testing
  1. retesting

  2. regression testing

  3. Web based testing

  4. GUI testing

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

QTP/UFT is primarily designed for regression testing, which involves repeatedly running existing automated tests to verify that previously working functionality still works after code or configuration changes. While it can do GUI testing and web testing, its main strength and industry use case is automating regression test suites.

Multiple choice technology testing
  1. object identification

  2. objest properties

  3. object verification

  4. objects

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

The Object Spy feature in QTP/UFT is used to view and analyze the properties, methods, and hierarchy of test objects and runtime objects in the application under test. While it helps with object identification, its primary purpose is to inspect object properties and methods, not to perform identification or verification operations.

Multiple choice technology testing
  1. run-time

  2. test object

  3. both a&b

  4. none

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

The Object Spy in HP/Micro Focus UFT allows users to view both test object properties (static properties stored in the repository) and run-time object properties (dynamic properties of the actual object in the running application) along with their values.

Multiple choice technology testing
  1. GetVisibleText

  2. GetROProperty

  3. SetROProperty

  4. GetTOProperty

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

GetROProperty (Get Runtime Object Property) retrieves the current actual property value of objects from the application during runtime. GetTOProperty gets test object properties (descriptive), while GetVisibleText retrieves visible text content.

Multiple choice technology testing
  1. Checkpoint

  2. All the above

  3. Output Value

  4. Compare the object property

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

A checkpoint compares a specified property's current value during test execution with its expected stored value. Output values capture data for later use, while 'Compare the object property' is not a standard QTP feature.