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. The system shall be user friendly.

  2. system shall contain 0 faults.

  3. The response time shall be less than one second

  4. The system shall be built to be portable

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

The requirement 'The response time shall be less than one second' is testable because it specifies a measurable performance criterion. Requirements like 'user friendly' and 'portable' are subjective and untestable. The requirement '0 faults' is unrealistic and untestable since zero defects cannot be guaranteed or verified.

Multiple choice elements of accounts applications of computers in accounting introduction to computer and accounting information system meaning of computerised accounting system application of computerised accounting system

When would an auditor typically not perform additional tests of a computer systems controls?

  1. When the assessed level of control risk is at a minimum.

  2. When computer controls appear to be strong and risk is at a minimum.

  3. When controls appear to be weak.

  4. When inherent risk is at a maximum.

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

If controls are weak, an auditor typically performs substantive testing rather than relying on the controls, as testing weak controls is inefficient and ineffective.

Multiple choice elements of accounts applications of computers in accounting introduction to computer and accounting information system meaning of computerised accounting system application of computerised accounting system

Which of the following statements is not true of the test data approach in a test of computerised accounting system?

  1. Test data tests only those controls which the auditor wishes to rely

  2. Test data should consist of data related to all controls prevalent in the organization

  3. The result of test data indicates that all the application and general controls are functioning properly

  4. Test data processed by the client's computer programme under the auditor's control

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

The test data approach involves using a sample of data to test specific controls. It is not intended to verify that all application and general controls are functioning properly, as it only tests the specific logic covered by the test data.

Multiple choice elements of accounts overview of computerised accounting system accounting software concepts and types of computerized accounting system types of accounting software

If an auditor is using test data in a client's computer system to test the integrity of the system's output, which of the following type of controls is the auditor testing.

  1. General controls

  2. User controls

  3. Quantitative test controls

  4. Application controls

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

Testing the integrity of system output using test data is a classic method for verifying application controls, which ensure that data is processed correctly.

Multiple choice elements of accounts overview of computerised accounting system accounting software concepts and types of computerized accounting system types of accounting software

Which of the following would not be an appropriate procedure for testing the general control activities of an information system?

  1. Inquiries of client personnel

  2. Inspecting computer logs

  3. Testing for the serial sequence of source documents

  4. Examination of the organizational chart to determine the segregation of duties

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

Testing for the serial sequence of source documents is an application control (input control), not a general control. General controls focus on the environment, such as segregation of duties or access logs.

Multiple choice elements of accounts overview of computerised accounting system accounting software concepts and types of computerized accounting system types of accounting software

____________ is called as check output validity.

  1. Processing

  2. Storage

  3. Revalidation

  4. Information

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

Revalidation is the process of verifying that the output generated by a system is correct and consistent with the input data. It acts as a final check to ensure the validity of the processed information.

Multiple choice organization of commerce and management employee selection process meaning and steps in selection meaning, importance, methods and procedure of selection steps in employee selection process

Work sampling test is also known as ________.

  1. polygraph test

  2. graphology test

  3. achievement test

  4. interest test

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

Work sampling test is also known as achievement test.A typing test shows typing proficiency, such proficiency tests are also known as work sampling test.Work sampling test is a selection test where in the job applicant's ability to do a small portion of the job.

Multiple choice
  1. It is an open source framework.

  2. All of the above.

  3. It provides Annotation to identify the test methods.

  4. It provides Assertions for testing expected results.

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

JUnit is an open-source unit testing framework for Java. It uses annotations to identify test methods and lifecycle phases, and assertions to verify expected outcomes, making all the listed statements correct.

Multiple choice
  1. Process of writing tests first, then ensuring the tests pass

  2. The process of writing tests at the end of development

  3. The process of having end users test out the application and report bugs

  4. The process of automating deployment of the application and then testing

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

Test-Driven Development (TDD) is a development methodology where developers write automated test cases before writing the actual production code. The cycle involves writing a failing test, writing the minimum code to make it pass, and then refactoring the code.

Multiple choice
  1. Manually testing your application through the GUI or the command line

  2. Testing the smallest components of the application in isolation.

  3. A way of testing the integration of many different components

  4. Having the end users of the application try it out and report bugs

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

Unit testing involves testing the smallest testable parts of an application, such as individual methods or classes, in complete isolation from other parts of the system. This ensures that each individual component functions correctly on its own.

Multiple choice
  1. An integration testing framework for Java

  2. A unit test framework for any programming language

  3. A unit testing framework for Java

  4. A testing library which provides a few helper methods

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

JUnit is a widely-used, open-source unit testing framework specifically designed for the Java programming language. It is not intended for any programming language and is primarily for unit testing rather than integration testing.

Multiple choice
  1. Provide stand-in objects for dependencies to isolate tested code.

  2. Modify the tested class state at runtime.

  3. Assert values to ensure they meet expectations.

  4. Fake unit tests so that they pass regardless of code stability.

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

In unit testing, mock objects simulate the behavior of complex, real dependencies (such as databases or external APIs). This allows developers to isolate the code being tested and verify its behavior independently of external factors.