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 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 proprietary security framework that provides structured methodology for application security assessment. It defines processes, engagement models, and best practices for integrating security into the software development lifecycle.

Multiple choice technology usability
  1. User Analysis stage

  2. Task Analysis stage

  3. Testing Stage

  4. Development Stage

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

Heuristic evaluation is a usability testing method performed by experts to identify design flaws. While best conducted iteratively throughout the design lifecycle, it functions as an evaluation and testing process to critique interfaces and prototypes before public release.

Multiple choice technology security
  1. Black box security testing

  2. White box security testing

  3. Gray box security testing

  4. Blue box security testing

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

AppScan operates as a black-box tool, testing applications from the outside by sending HTTP requests and analyzing responses without accessing source code or internal state. It simulates an external attacker's perspective.

Multiple choice technology security
  1. Inform the user population about the test

  2. Inform the QA and system administers about the test

  3. Backup the database

  4. Shut down the configured SMPT servers

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Before testing, you must communicate (notify users and administrators so they're aware of potential disruptions), protect data (backup the database to enable recovery if the test causes issues), and document (though not listed here, documentation is also critical). SMTP servers should remain running unless specifically testing email handling. The question tests standard test preparation protocols.

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 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. 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.