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
-
Low-Level Recording Mode
-
Normal recording Mode
-
Analog Mode
-
None of the above
A
Correct answer
Explanation
Low-Level Recording captures coordinates and mouse/keyboard operations at the screen level when QuickTest cannot recognize an object. Normal Recording relies on object recognition, while Analog Mode is specifically for continuous mouse movements like drawing.
-
Reporter.log()
-
Reporter.reportevent()
-
Reporter.msgbox()
-
Reporter.report()
B
Correct answer
Explanation
Reporter.ReportEvent() is the correct QTP method for sending information to the test results with a status and description. Reporter.Report() does not exist, Reporter.Log() is not a standard method, and Reporter.MsgBox() displays a message box rather than reporting to results.
-
Synchronize
-
Wait
-
WaitProperty
-
sync
C
Correct answer
Explanation
WaitProperty is a synchronization method that pauses execution until a specified object property achieves the expected value or times out. Synchronize is not a QTP method, Wait is a generic delay, and sync is for browser navigation.
-
check timeout
-
checkpoint interval timeout
-
checkpoint timeout
-
quicktest timeout
C
Correct answer
Explanation
Checkpoint timeout specifies the time interval in seconds during which QuickTest attempts to perform a checkpoint operation successfully. Check timeout and checkpoint interval timeout are not standard QTP terms.
-
On Error Resume Next
-
On Error Raise Next
-
On Error Next
-
none of the above
A
Correct answer
Explanation
On Error Resume Next is the VBScript statement used to continue test execution after encountering a runtime error, preventing the test from halting. The other options are not valid VBScript error handling statements.
-
Status Code
-
Check Condition
-
Sense Data
-
KCQ
A
Correct answer
Explanation
SCSI commands return a Status Code byte to indicate whether the command completed successfully or encountered an error. The Status Code is the primary mechanism for determining command outcome - GOOD indicates success, while CHECK CONDITION signals an error that requires reading Sense Data for details. Check Condition is one specific status code, not the general mechanism, and KCQ is not a standard SCSI term.
-
Status Code
-
Check Condition
-
Sense Data
-
KCQ
A
Correct answer
Explanation
Status Code is the immediate indicator returned by a SCSI device to show whether a command succeeded or failed. Sense Data provides additional error details only when requested.
-
Analyzer
-
VuGen
-
Controller
-
Generator
C
Correct answer
Explanation
The Controller is the central console for managing and executing load tests in LoadRunner. It orchestrates load generators, manages the test execution, and monitors results. VuGen creates scripts, Analyzer analyzes results after test completion, and Generator is not a standard component.
-
Load runner
-
J Meter
-
QTP
-
Rad view webload
C
Correct answer
Explanation
QTP (QuickTest Professional, now UFT) is a functional/automation testing tool, not a performance testing tool. LoadRunner, JMeter, and RadView WebLoad are all performance testing tools used for load and stress testing applications.
-
Synchronize
-
Wait
-
WaitProperty
-
Pause
C
Correct answer
Explanation
In QTP/UFT, synchronization ensures tests wait for specific application states before proceeding. WaitProperty pauses execution until a specified object property matches an expected value or times out, providing robust synchronization for dynamic applications.
-
Checking that we are building the right system
-
Checking that we are building the system right
-
Performed by an independent test team
-
Making sure that it is what the user really wants
B
Correct answer
Explanation
Verification is the process of checking that we are building the system right - that is, ensuring the system is being built correctly according to specifications and requirements. Validation (option A) is checking that we're building the right system - that it meets user needs. Option C describes a specific organizational approach, not the definition. Option D describes validation, not verification.
-
Error guessing
-
Walkthrough
-
Data flow analysis
-
Inspections
A
Correct answer
Explanation
Static testing techniques involve examining code and documentation without running the software. Walkthroughs, data flow analysis, and inspections are all static testing techniques. Error guessing is a dynamic testing technique where testers guess likely error conditions based on experience - it requires executing the software.
-
Execution
-
Design
-
Planning
-
Check Exit criteria completion
C
Correct answer
Explanation
Identifying and resolving faults during the planning phase is highly cost-effective because requirements and design issues can be corrected before code is written. Fixing defects in later stages like design, execution, or exit criteria review requires significantly more time, effort, and resources.
-
Project plan
-
Business plan
-
Support plan
-
None of the above
A
Correct answer
Explanation
The test plan is primarily derived from the project plan, which contains scope, schedule, resources, and risk information needed for test planning. Business plans focus on financial/projection aspects. Support plans are for maintenance. The project plan provides the foundational information for developing an appropriate test strategy.
-
Interim Test report
-
Final test report
-
Project status report
-
Management report
C
Correct answer
Explanation
A Function/Test Matrix (also called a Traceability Matrix) maps test cases to requirements or functions. In many project management and testing frameworks, this matrix serves as a project status report showing coverage progress. The other options are specific report types, while the matrix is a broader status tracking tool.