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
-
System Testing
-
Unit Testing
-
White box testing
-
Black box testing
C
Correct answer
Explanation
White box testing involves testing the internal structures or workings of an application, which requires knowledge of the source code and programming logic.
B
Correct answer
Explanation
Penetration testing (often shortened to 'pen test') is a simulated cyberattack against your computer system to check for exploitable vulnerabilities.
Which of the following would not be an appropriate procedure for testing the general control activities of an information system?
-
Inquiries of a client personnel
-
Inspecting computer logs
-
Testing for the serial sequence of source documenyts
-
Examination of the organizational chart to determine the segregation of duties.
C
Correct answer
Explanation
For testing general control activities of an information system, testing for serial sequence of source documents is not an appropriate procedure. It is done only to ensure if financial statements are prepared accurately having all necessary transactions recorded.
When would an auditor typically not perform additional tests of a computer systems controls?
-
When the assessed level of control risk is at a minimum.
-
When computer controls appear to be strong and risk is at a minimum.
-
When controls appear to be weak .
-
When inherent risk is st a maximum.
C
Correct answer
Explanation
Auditors sometimes perform additional tests to ensure that the computer systems control are working perfectly or not. If the controls appear to be weak there is no need to perform additional tests.
Which of the following is a common type of penetration testing report format?
-
Executive summary
-
Technical details
-
Recommendations
-
All of the above
D
Correct answer
Explanation
An executive summary, technical details, and recommendations are all common sections of a penetration testing report.
What is the role of testing in mathematical software development?
-
To ensure the accuracy and reliability of the software.
-
To identify and fix bugs in the software.
-
To improve the performance of the software.
-
All of the above.
D
Correct answer
Explanation
Testing is essential for ensuring the accuracy, reliability, and performance of mathematical software.
What is the role of testing in DfI?
-
To verify the functionality of individual components
-
To validate the interoperability of integrated systems
-
To ensure compliance with standards and regulations
-
All of the above
D
Correct answer
Explanation
Testing in DfI involves verifying the functionality of individual components, validating the interoperability of integrated systems, and ensuring compliance with standards and regulations to ensure the overall success of the integration effort.
What is the term for the practice of writing software that is easy to test?
-
Testable code
-
Testability
-
Test-driven development
-
All of the above
D
Correct answer
Explanation
Testable code, testability, and test-driven development are all terms for the practice of writing software that is easy to test. This involves writing code that is modular, well-structured, and has a clear separation of concerns. It also involves writing unit tests that can be used to automatically verify the correctness of the code.
Which technique is commonly used to identify potential defects and improve product quality?
-
Failure Mode and Effects Analysis (FMEA)
-
Statistical Process Control (SPC)
-
Design of Experiments (DOE)
-
Reliability Testing
A
Correct answer
Explanation
Failure Mode and Effects Analysis (FMEA) is a systematic technique used to identify potential failure modes, their effects, and the associated risks in a product or system.
Which of the following is a common technique used for evaluating product quality and performance?
-
Quality Assurance (QA)
-
Performance Testing
-
Benchmarking
-
All of the above
D
Correct answer
Explanation
Quality Assurance (QA), Performance Testing, and Benchmarking are commonly used techniques for evaluating product quality and performance.
-
A test of a machine's ability to exhibit intelligent behavior that is indistinguishable from that of a human.
-
A test of a machine's ability to solve complex mathematical problems.
-
A test of a machine's ability to play chess.
-
A test of a machine's ability to learn new things.
A
Correct answer
Explanation
The Turing test is a test of a machine's ability to exhibit intelligent behavior that is indistinguishable from that of a human. The test is named after Alan Turing, who proposed it in 1950.
Which of the following is a common SQA activity?
-
Software testing
-
Code reviews
-
Risk analysis
-
All of the above
D
Correct answer
Explanation
SQA activities include software testing, code reviews, risk analysis, and other techniques to assess and improve software quality.
Which of the following is a common type of software testing?
-
Unit testing
-
Integration testing
-
System testing
-
All of the above
D
Correct answer
Explanation
Common types of software testing include unit testing, integration testing, and system testing, each targeting different levels of software components.
Which of the following is a common SQA metric?
-
Defect density
-
Test coverage
-
Mean time to failure
-
All of the above
D
Correct answer
Explanation
Common SQA metrics include defect density, test coverage, mean time to failure, and other measures used to assess and track software quality.
Which of the following is a common SQA certification?
-
Certified Software Quality Engineer (CSQE)
-
Certified Quality Assurance Manager (CQAM)
-
Certified Software Tester (CST)
-
All of the above
D
Correct answer
Explanation
Common SQA certifications include Certified Software Quality Engineer (CSQE), Certified Quality Assurance Manager (CQAM), and Certified Software Tester (CST).