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
-
Installing the iProcess Engine on one server that uses multiple database instances
-
Installing the iProcess Engine on multiple servers that use one same database instance
-
Installing the iProcess Engine on multiple servers that use multiple database instances
-
All of above
B
Correct answer
Explanation
A node cluster architecture in iProcess involves multiple iProcess Engine server instances (nodes) sharing a single database instance. This allows for load balancing and high availability across multiple physical or virtual servers.
-
Web server
-
Applications
-
Data
-
None
B
Correct answer
Explanation
In Cognos 8 three-tier architecture, the Applications tier contains the Cognos BI server components including dispatchers (handle requests) and Content Manager (manages content store). Web tier is for web servers, Data tier for databases.
-
a. Central point from which to manage the domain.
-
b. Distributed control over a domain
-
c. All the above
-
d. None of the above
A
Correct answer
Explanation
The Administration Server acts as the central control point for managing the entire WebLogic domain - you configure, monitor, and manage all resources from it. 'Distributed control' would imply multiple points of control, which contradicts the centralized administration model. The Administration Server provides centralized, not distributed, control.
-
When testing needs to continue
-
When system is ready for delivery
-
When testing has been completed
-
All of the above
C
Correct answer
Explanation
Exit criteria define the specific conditions, coverage targets, and quality thresholds that must be met to determine when a test level or testing phase has been completed.
-
Boundary conditions, state machines, and load generators
-
Risk management and impact of serious test escapes on the reputation and revenues of the company
-
a & b
-
None of the above
C
Correct answer
Explanation
Test reporting should focus on both technical details (boundary conditions, state machines, load generators) AND business impact (risk management, reputation, revenue impact from test escapes). Option C correctly combines both aspects.
-
Functional testing
-
Structural testing
-
Performance testing
-
Requirements testing
A
Correct answer
Explanation
Black box testing focuses on inputs and outputs without knowledge of internal implementation - this is the definition of functional testing. Structural testing (glass box) requires code knowledge, performance testing measures speed/scalability, and requirements testing validates against specifications (though all functional tests ultimately trace to requirements).
-
The one who finds the most bugs.
-
The one who embarrasses the most programmers.
-
The one who gets the most bugs fixed.
-
a & c
C
Correct answer
Explanation
The best tester is measured by bugs FIXED, not found. A tester who finds 100 bugs that get ignored is less valuable than one who finds 10 critical bugs that all get fixed. The goal is improving software quality, which only happens when bugs are actually resolved. Option D (a & c) would be correct if both A and C were right, but finding the most bugs alone doesn't make someone the best.
-
Black box testing
-
Structural testing
-
Path testing
-
None of the above
D
Correct answer
Explanation
Static testing involves evaluating software artifacts without executing code. Options A, B, and C (black box, structural, path testing) are all dynamic testing techniques that require running the program. Therefore D (None of the above) is correct - none of the listed options are static testing methods.
-
Business process-based testing.
-
Performance, load and stress testing.
-
Usability testing.
-
Top-down integration testing.
D
Correct answer
Explanation
System testing validates the entire integrated system against requirements. Options A, B, and C (business process testing, performance/load/stress testing, usability testing) are all system-level activities. Top-down integration testing is an integration testing strategy, not system testing - it's about combining modules, not testing the complete system.
-
Appraisal
-
Walkthrough
-
Assessment
-
Gap Analysis
B
Correct answer
Explanation
Walkthrough is a form of static testing where peers review documents or code informally to find defects. Appraisal, Assessment, and Gap Analysis are not standard static testing techniques. Walkthroughs, inspections, and technical reviews are the primary static testing methods.
-
The system shall be user friendly.
-
The safety-critical parts of the system shall contain 0 faults.
-
The response time shall be less than one second for the specified design load.
-
The system shall be built to be portable.
C
Correct answer
Explanation
A testable requirement must be objective, quantifiable, and measurable. Specifying a response time of 'less than one second for the specified design load' provides a clear, measurable threshold, unlike subjective terms like 'user friendly' or 'portable'.
-
involves testers look for various types of bugs in the entire system, fully integrated.
-
involves testers looking for bugs in the relationships and interfaces between pairs and components of groups of components in the system under test.
-
Occurs often in a staged fashion.
-
B & C.
D
Correct answer
Explanation
Integration testing focuses on relationships and interfaces between components. Option B correctly describes this - testing bugs in relationships and interfaces between pairs and groups of components. Option C is also correct because integration testing often happens in stages (incremental integration). Therefore D (B & C) is the correct answer.
-
Glass box testing.
-
Proper selection of program or subprogram paths.
-
Feeding the component input and examining the output.
-
Exercised during the battery of tests.
C
Correct answer
Explanation
Structural testing (also called glass box or white box testing) involves examining internal code structure and selecting specific paths through the program. Option C describes black box testing - feeding inputs and examining outputs without knowledge of internal structure. Since structural testing DOES involve internal knowledge, C is what it is NOT.
-
Metrics from previous similar projects.
-
Discussions with the development team
-
Time allocated for regression testing.
-
a&b.
D
Correct answer
Explanation
Estimating re-testing effort should be based on historical data from similar projects (metrics) AND discussions with the development team about expected changes and code quality. Time allocated for regression testing is a result of the estimate, not an input to it. Therefore D (a & b) correctly combines the two estimation approaches.
-
a.)Open Source Framework
-
b.)Regression-Testing Framework
-
c.)Java Application Development Framework
-
d.)Web Application Framework
A,B
Correct answer
Explanation
JUnit is an open-source framework (Option A) designed specifically for regression testing (Option B) in Java applications. It is NOT a general Java application development framework (Option C) - that would be something like Spring or Java EE. It is also NOT a web application framework (Option D) - that would be frameworks like JSF or Spring MVC.