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
  1. Regression testing is an integral part of the extreme programming software development method.

  2. Regression testing includes rerunning previously completed tests.

  3. Regression testing seeks to uncover new software bugs.

  4. Regression testing can be used for tracking the quality of output.

  5. Regression tests can be broadly categorized as non-functional tests.

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

Regression tests can be broadly categorized as functional tests or unit tests. Functional tests exercise the complete program with various inputs. Unit tests exercise individual functions, subroutines, or object methods. Both functional testing tools and unit testing tools tend to be third-party products that are not part of the compiler suite, and both tend to be automated. A functional test may be a scripted series of program inputs, possibly even involving an automated mechanism for controlling mouse movements and clicks. A unit test may be a set of separate functions within the code itself, or a driver layer that links to the code without altering the code being tested.

Multiple choice
  1. Debugging

  2. Verification

  3. Task analysis

  4. Walk-through

  5. Static program analysis

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

A Walk-through is a form of software peer review in which a designer or programmer leads members of the development team and other interested parties through a software product, and the participants ask questions and make comments about possible errors, violation of development standards, and other problems.

Multiple choice
  1. Alpha testing

  2. Operational acceptance testing (OAT)

  3. User acceptance testing

  4. Beta testing

  5. Contract and regulation acceptance testing

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

Beta testing takes place at customers' sites, and involves testing by a group of customers who use the system at their own locations and provide feedback, before the system is released to other customers. It is often called “field testing”.

Multiple choice
  1. Debugger

  2. Control statement

  3. Exception

  4. Breakpoint

  5. Stack trace

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

In software development, a breakpoint is an intentional stopping or pausing place in a program, put in place for debugging purposes.More generally, a breakpoint is a means of acquiring knowledge about a program during its execution. During the interruption, the programmer inspects the test environment (general purpose registers, memory, logs, files, etc.) to find out whether the program is functioning as expected. In practice, a breakpoint consists of one or more conditions that determine when a program's execution should be interrupted.

Multiple choice
  1. Compatibility testing

  2. Graphical user interface testing

  3. White-box testing

  4. Usability testing

  5. Performance testing

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

White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings of an application, as opposed to its functionality.

Multiple choice
  1. Unit testing

  2. Stub testing

  3. Integration testing

  4. System testing

  5. Acceptance testing

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

This test in system analysis is the one in which the programmer simulates each program conclusion or result and exhibits a message to specify whether or not the program is executed in a successful manner.

Multiple choice
  1. Debugging

  2. Compiling

  3. Testing

  4. Running

  5. None of these

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

Testing is the systematic process of finding errors or defects in software code. It involves executing the program with test cases to verify that it behaves correctly and meets requirements, helping identify bugs before the software is released.

Multiple choice
  1. Compatibility testing

  2. Stress testing

  3. Scalability testing

  4. Cyclomatic complexity

  5. Accomplishment

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

This testing is to ensure that software is well suited with various hardware platforms, operating systems, other software packages and even previous releases of the same software.