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
-
Script
-
Group
-
Scenario
-
Analysis
C
Correct answer
Explanation
In LoadRunner, a Scenario file defines the overall execution details of a load test, including the specific Vusers, load generators, and test goals. In contrast, Scripts contain the actions recorded for Vusers, and the Analysis tool is used to analyze results post-run.
-
Analysis
-
Controller
-
File server
-
Load generator/host
D
Correct answer
Explanation
The load generator (also called the host) is the machine that actually executes Vuser scripts and collects performance metrics during the test run. It monitors system resources, response times, and other performance data locally, then sends this data to the Controller. Analysis tool processes data after the run, and Controller orchestrates but doesn't store raw monitoring data.
-
At the end of the action section
-
At the beginning of the action section
-
Immediately after the rendezvous function
-
Immediately before the rendezvous function
C
Correct answer
Explanation
The Ir_start transaction should be placed immediately after the rendezvous point to measure the performance of the synchronized action. Rendezvous points cause Vusers to wait until all arrive, then proceed simultaneously. Starting the transaction after this point captures the combined load impact of all concurrent users. Placing it before would measure waiting time, and end/beginning of action would miss the synchronization effect.
-
Debug
-
Full Load
-
Top Time
-
Scalability
C
Correct answer
Explanation
During full load tests, standard logging is recommended to balance troubleshooting capability with generator performance. However, standard logging is specifically recommended for benchmark or run-time execution tests like 'Top Time' or load tests to prevent I/O overhead. Extended logging is preferred during debug runs.
-
HTML-Based with A Script describing User actions mode
-
HTML-Based with A Script containing explicit URLs only mode
-
URL-Based with Web Custom Request only mode
-
None of the above
-
SAP-Web
-
Web(HTTP/HTML)
-
Web(Click and Script)
-
Web Services
B
Correct answer
Explanation
Webtop is a web-based application that runs over HTTP/HTTPS. LoadRunner's 'Web (HTTP/HTML)' protocol is designed to record and replay web browser traffic by capturing the underlying HTTP requests, which is the correct protocol for testing Documentum's web interface.
-
Checkout only no need to do Checkin
-
Checkin only no need to do Checkout
-
Checkout followed by Checkin
-
Checkin followed by Checkout
C
Correct answer
Explanation
When load testing checkout and checkin actions, they must be performed as a sequence: checkout followed by checkin. Performing only one action would lead to dirty states or resource locks, and performing checkin first is impossible if the resource is not already checked out.
-
a.Unit Testing
-
b.Black Box Testing
-
c.Performance Testing
-
d.Regression Testing
C
Correct answer
Explanation
Performance testing evaluates system characteristics like speed, scalability, and stability, which are non-functional aspects of software. Unit, regression, and black box testing are functional testing types because they verify if the software functions correctly according to its business logic and specification requirements.
-
a.Unit Testing
-
b.Black Box Testing
-
c.Performance Testing
-
d.Regression Testing
C
Correct answer
Explanation
Non-functional testing evaluates software quality attributes rather than specific behaviors. Performance testing checks how well the system performs under various conditions, which is a non-functional requirement. Unit testing, black box testing, and regression testing can test functional or non-functional aspects.
-
a.Endurance Test
-
b.Component Test
-
c.Stress Test
-
d.Baseline Test.
B
Correct answer
Explanation
Performance testing types include endurance testing (long-term stability), stress testing (breaking point), and baseline testing (performance benchmark). Component testing tests individual units/modules, making it a functional testing type, not a performance testing type.
B
Correct answer
Explanation
Performance testing should focus on critical, high-risk, and highly frequented business scenarios rather than all functional flows. Testing every single functional flow is impractical, time-consuming, and cost-prohibitive, as many low-use features do not present a significant performance risk to the overall application infrastructure.
-
a.HP Loadrunner
-
b.Borland’s Silk Performer
-
c.Jmeter
-
d.Winrunner
D
Correct answer
Explanation
WinRunner is a functional testing tool for GUI automation, while LoadRunner, Silk Performer, and JMeter are dedicated performance/load testing tools that simulate multiple users to measure system performance under load.
-
a.Controller
-
b.Load Generator
-
c.Vugen
-
d.Load Controller
B
Correct answer
Explanation
In performance testing, the Load Generator is the component responsible for simulating multiple virtual users to generate the actual traffic and load on the target system. The Controller manages and coordinates the test execution, while VuGen is used for scripting the user behaviors.
-
to filter data during extraction
-
to join two tables of heterogeneous source
-
none of the above
-
Both 1& 2
A
Correct answer
Explanation
SQL override in Source Qualifier transformation allows you to write custom SQL queries to filter data during extraction from the source. While it can also join tables from the same homogeneous source, joining heterogeneous sources (different database types) is typically done through joiner transformations, not SQL override alone.
-
Import/Replace into source analyser and then to target designer.
-
Import/Replace into target designer and then to source analyser.
-
Both a and b.
-
None of these.
A
Correct answer
Explanation
Tables should first be imported or replaced in the Source Analyzer, and then copied to the Target Designer. This maintains proper metadata relationships and object hierarchy.