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 web technology
  1. CellData(Row, Column)

  2. TableCellData(Row, Column)

  3. CellDataValue(Row, Column)

  4. GetCellData(Row, Column)

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

GetCellData(Row, Column) is the correct QTP method to extract a specific cell value from a WebTable when you know the row and column numbers. The other options (CellData, TableCellData, CellDataValue) are not valid QTP methods.

Multiple choice technology testing
  1. to find faults in software

  2. to prove that software has no faults

  3. to give confidence in the software

  4. to find performance problems

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

Testing cannot prove software has no faults - it can only demonstrate the presence of faults. Complete absence of faults is theoretically impossible to prove through testing alone. Finding faults, building confidence, and identifying performance problems are all valid testing objectives.

Multiple choice technology testing
  1. Statement Testing

  2. Path Testing

  3. Data flow Testing

  4. State Transition Testing

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

State Transition Testing is a black-box technique because it tests the system's external behavior as it transitions between different states without knowledge of internal code structure. The other options are all white-box techniques: Statement Testing examines code execution paths, Path Testing analyzes logical paths through code, and Data Flow Testing tracks how variables are used and defined throughout the code.

Multiple choice technology testing
  1. True

  2. False

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

The statement is false because Alpha Testing is conducted internally at the developer's site, NOT at the customer site. Alpha testing is performed before release by the development team or internal testers. Beta Testing is the phase that occurs at customer sites after alpha testing is complete. This distinction is important in the software release lifecycle.

Multiple choice technology testing
  1. to find faults in software

  2. to prove that software has no faults

  3. to give confidence in software

  4. to find performance problems

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

Option B is NOT a reasonable test objective because it's impossible to prove software has absolutely no faults - testing can only demonstrate the presence of defects, not their absence (Dijkstra's principle). The other options ARE reasonable: finding faults (A) is testing's primary purpose, giving confidence (C) through thorough testing is valid, and finding performance problems (D) helps ensure quality.

Multiple choice technology testing
  1. True

  2. False

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

Static white box testing involves analyzing the internal structure, design, and source code of an application without actually running the program. This includes code reviews, inspections, and walkthroughs to identify logic errors or security vulnerabilities early in the development cycle.

Multiple choice technology testing
  1. Static White-box

  2. Dynamic White-box

  3. Static Black-box

  4. Dynamic Black-box

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

Code coverage is a Dynamic White-box testing technique. It requires executing the code with test cases (dynamic) and analyzing the internal structure/branches (white-box). Static analysis examines code without execution, while black-box testing ignores internal structure.

Multiple choice technology testing
  1. Repetition Testing

  2. Stress Testing

  3. Data Testing

  4. Load Testing

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

Test-to-fail techniques intentionally push systems beyond normal operating conditions to expose weaknesses. Stress testing (overload), Repetition testing (endurance), and Load testing (volume) all target failure points. Data testing typically focuses on validation within normal parameters.

Multiple choice technology testing
  1. Parameterization

  2. Correlation

  3. Rendezvous

  4. None of the above

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

Parameterization is the technique of replacing hard-coded values in test scripts with variables that can take different values for each Vuser or iteration. This simulates real users entering different data (like different usernames, product IDs, or form entries) rather than all Vusers entering identical data.

Multiple choice technology testing
  1. web_reg_save_param

  2. . lr_set_debug

  3. lr_think_time()

  4. None of the above

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

web_reg_save_param is the LoadRunner function (in web Vuser scripts) that captures and saves dynamic values from server responses into parameters. These parameters can then be used in subsequent requests. lr_set_debug is for debugging settings, lr_think_time simulates user think time.

Multiple choice technology web technology
  1. Node Agent

  2. Web server Plug-in

  3. Caching proxy

  4. Deployment Manager

  5. Load Balancer

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

Web server plug-ins distribute incoming requests across multiple application server instances, while load balancers distribute network traffic across multiple servers. Both are essential for managing workload distribution and preventing overload on any single component.

Multiple choice technology web technology
  1. Create a design using multiple machines that handle the full production load, enabling the use

  2. Utilize load balancers between the Web servers and the application servers to provide failover

  3. Place the Authentication servers outside of the intrusion firewall with the Web servers, since

  4. Use the largest processor engines and least number of physical machines for the application

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

The best practice for high availability is using multiple machines each capable of handling the full production load, allowing for failover when one machine fails. Load balancers alone between web and app servers don't provide complete HA. Authentication servers should be behind firewalls, not outside. Using fewer, larger machines creates a single point of failure.