CS608 – Software Verification and Validation: Midterm Important MCQs (74 Solved Questions)
Computer Science • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS608 Course Page · CS608 Subjective Pack (30 Q&As)
-
According to the professional view of quality, any deviation from the clearly stated requirements is regarded as a:
Topic: Introduction to Software Quality Assurance
- Feature
- Defect ✓ Correct answer
- Enhancement
- Failure
-
According to the professional view, quality means:
Topic: Introduction to Software Quality Assurance
- Something good but not quantifiable
- Something luxury and classy
- Conformance to requirements and fitness for use ✓ Correct answer
- Maximum features at any cost
-
The ISO 8402 definition of quality is:
Topic: Introduction to Software Quality Assurance
- The degree to which a system meets specified requirements
- The totality of features and characteristics of a product or service that bear on its ability to satisfy stated or implied needs ✓ Correct answer
- Conformance to schedule and budget
- The absence of defects in the delivered product
-
Which of the following is NOT one of the six quality characteristics of the ISO 9126 model?
Topic: Introduction to Software Quality Assurance
- Functionality
- Reliability
- Maintainability
- Testability ✓ Correct answer
-
"Quality is Zero Defects" is one of the:
Topic: Introduction to Software Quality Assurance
- ISO 9126 quality characteristics
- Four Absolutes of quality ✓ Correct answer
- IEEE definitions of software quality
- Objectives of SQA
-
Which of the following is a benefit of software quality?
Topic: Introduction to Software Quality Assurance
- Increased rework
- More defects and errors
- Reduced development and maintenance cost ✓ Correct answer
- Lower customer satisfaction
-
According to the IEEE definition, software quality is the degree to which a system, component, or process meets:
Topic: Introduction to Software Quality Assurance
- Only the budgetary requirements
- Only the developer's expectations
- Specified requirements, and customer or user needs or expectations ✓ Correct answer
- Only the implied needs of users
-
From the customer's perspective, software quality is mainly concerned with:
Topic: Introduction to Software Quality Assurance
- Cost and schedule
- Detection and correction times
- Complete requirements (functional and non-functional) ✓ Correct answer
- Infrastructure and tools
-
Software Quality Assurance provides adequate confidence that the software process conforms to:
Topic: Introduction to Software Quality Assurance
- Only the functional technical requirements
- Established functional technical requirements as well as managerial requirements of keeping the schedule and operating within the budget ✓ Correct answer
- Only the customer's implied needs
- Only the documentation standards
-
Which unique characteristic of software means that missing parts of the product are not obvious and defects may not be noticeable for years?
Topic: Introduction to Software Quality Assurance
- High complexity
- Invisibility of the product ✓ Correct answer
- Required teamwork
- Being contracted
-
Quality Assurance is:
Topic: SQA in SDLC, Verification and Validation
- Product oriented and focuses on defect identification
- Process oriented and focuses on defect prevention ✓ Correct answer
- A reactive quality process
- Concerned only with the finished product
-
Quality Control is a set of activities for ensuring quality in products, and its activities focus on:
Topic: SQA in SDLC, Verification and Validation
- Preventing defects in the development process
- Improving the test process
- Identifying defects in the actual products produced ✓ Correct answer
- Periodic conformance audits of the system
-
Quality Assurance is a proactive process, whereas Quality Control is a:
Topic: SQA in SDLC, Verification and Validation
- Proactive process
- Preventive process
- Reactive process ✓ Correct answer
- Static process
-
The goal of Quality Assurance is to:
Topic: SQA in SDLC, Verification and Validation
- Identify defects after the product is developed and before it is released
- Improve development and test processes so that defects do not arise when the product is being developed ✓ Correct answer
- Fix the bugs reported by customers
- Certify that testing is complete
-
During the requirements phase, the SQA activity includes:
Topic: SQA in SDLC, Verification and Validation
- Verifying that all bugs in the bug tracking system are resolved
- Ensuring that the user/client requirements are captured correctly and finding out the risks in the requirements ✓ Correct answer
- Verifying that all design documents are kept in the project repository
- Compiling the test reports
-
Verification is best described by the question:
Topic: SQA in SDLC, Verification and Validation
- "Are we building the right product?"
- "Are we building the product right?" ✓ Correct answer
- "Is the product completely free of defects?"
- "Does the user accept the product?"
-
Validation checks that:
Topic: SQA in SDLC, Verification and Validation
- The software conforms to its specification
- The documents follow the organizational standards
- The software does what the user really requires ✓ Correct answer
- The code compiles without errors
-
Code and document inspections, which analyse the static representation of the system to discover problems, are an example of:
Topic: SQA in SDLC, Verification and Validation
- Dynamic verification and validation
- Static verification and validation ✓ Correct answer
- Acceptance testing
- Regression testing
-
In dynamic verification and validation (software testing):
Topic: SQA in SDLC, Verification and Validation
- Documents are reviewed by peers without executing the system
- The system is executed with test data and its operational behaviour is observed ✓ Correct answer
- Only the source code structure is analysed
- The specification is checked against standards
-
During the testing phase, SQA certifies that:
Topic: SQA in SDLC, Verification and Validation
- All captured requirements are allocated to software components
- The verification matrix is updated regularly
- Testing is complete according to the plan ✓ Correct answer
- The components are ready to start testing
-
In the error-defect-failure chain, an error is:
Topic: Quality Management, Principles, Practices and Standards
- A human mistake ✓ Correct answer
- An improper program condition
- A difference from the intended behaviour
- A defect found during inspection
-
A failure is:
Topic: Quality Management, Principles, Practices and Standards
- A human mistake made by the developer
- An improper program condition resulting from an error
- The difference between the actual behaviour and the intended behaviour of the system ✓ Correct answer
- A defect removed during inspection
-
An inspection is:
Topic: Quality Management, Principles, Practices and Standards
- The execution of software with test data to observe its behaviour
- A rigorous team review of a work product by peers of the producer of the work product ✓ Correct answer
- An audit performed by top management
- An automated analysis of the source code
-
Software Quality Management (SQM) comprises which three processes?
Topic: Quality Management, Principles, Practices and Standards
- Quality planning, testing and deployment
- Verification, validation and reviews
- Quality planning, quality assurance and quality control ✓ Correct answer
- Standards, audits and metrics
-
The starting point for the quality planning process is:
Topic: Quality Management, Principles, Practices and Standards
- The project schedule
- The standards followed by the organization ✓ Correct answer
- The test plan
- The customer's contract
-
A quality plan sets out:
Topic: Quality Management, Principles, Practices and Standards
- Only the project budget and schedule
- Only the testing tools to be used
- The desired product qualities, how these are assessed, and the most significant quality attributes ✓ Correct answer
- Only the development methodology
-
Product standards define:
Topic: Quality Management, Principles, Practices and Standards
- How the software process should be enacted
- Characteristics that all components should exhibit, e.g. a common programming style ✓ Correct answer
- The quality goals of the project
- How defects are reported and tracked
-
Which of the following is a problem associated with standards?
Topic: Quality Management, Principles, Practices and Standards
- They encapsulate best practice
- They provide continuity for new staff
- They involve too much bureaucratic form filling ✓ Correct answer
- They provide a framework for the quality assurance process
-
Quality reviews are:
Topic: Quality Management, Principles, Practices and Standards
- An automated software assessment technique
- The principal method of validating the quality of a process or of a product ✓ Correct answer
- A form of dynamic testing
- Performed only by the SQA group
-
Defects per function point or defects per KLOC are examples of:
Topic: Quality Management, Principles, Practices and Standards
- SQA principles
- Quality plan inputs
- Normalized defect data used in defect quality measurement ✓ Correct answer
- Inspection roles
-
"Testing is the process of executing a program or system with the intent of finding errors." This definition of testing was given by:
Topic: Software Testing
- Hetzel (1973)
- Myers (1979) ✓ Correct answer
- Popper (1965)
- Hetzel (1983)
-
According to Myers, a test is said to be successful if it:
Topic: Software Testing
- Proves that the program has no errors
- Discovers an error ✓ Correct answer
- Executes all the statements of the program
- Passes all the test cases
-
The objective of testing is to:
Topic: Software Testing
- Show the absence of defects in the software
- Show the presence of a defect, not the absence of it ✓ Correct answer
- Prove the correctness of the program formally
- Execute the program at least once
-
Exhaustive testing of software is not possible because:
Topic: Software Testing
- Testers do not have the required skills
- Testing tools are not available
- It is too expansive and needs virtually infinite resources ✓ Correct answer
- Programs are too small to test
-
In the SDLC versus STLC comparison, development is a creative activity while testing is a:
Topic: Software Testing
- Support activity
- Destructive activity ✓ Correct answer
- Managerial activity
- Documentation activity
-
Which document is the starting point and base document for both testing and development?
Topic: Software Testing
- Test plan
- Bug report
- Functional specification document ✓ Correct answer
- Design document
-
After the development team fixes a defect and sends the patch, the testing team:
Topic: Software Testing
- Closes the defect immediately
- Runs the same test case/scenario again and closes the defect only if the problem does not appear again ✓ Correct answer
- Writes a new functional specification
- Stops the testing process
-
Which of the following is a category of testing techniques?
Topic: Software Testing
- Requirement based testing
- Schedule based testing
- Specification based (black box) testing ✓ Correct answer
- Budget based testing
-
Black box testing ignores:
Topic: Black Box Testing
- The outputs generated by the system
- The internal mechanism of a system or component ✓ Correct answer
- The specified functional requirements
- The execution conditions
-
Black box testing is also known as:
Topic: Black Box Testing
- Structural testing
- Glass box testing
- Specification based testing ✓ Correct answer
- Code based testing
-
In black box testing, test cases can be designed:
Topic: Black Box Testing
- Only after the coding is complete
- As soon as the functional specifications are complete ✓ Correct answer
- Only after unit testing is done
- Only during the acceptance phase
-
The aim of Equivalence Partitioning is to:
Topic: Black Box Testing
- Test every possible input value
- Treat groups of inputs as equivalent and select one representative input to test them all ✓ Correct answer
- Test only the boundary values of inputs
- Test all the state transitions of the system
-
For the condition "VALUE is between 1 and 100 (inclusive)", which of the following is a boundary value?
Topic: Black Box Testing
- 50
- 37
- 1 ✓ Correct answer
- 75
-
Boundary Value Analysis operates on the basis that:
Topic: Black Box Testing
- Errors occur randomly in the input domain
- Errors are most likely to exist at the boundaries between partitions ✓ Correct answer
- All inputs in a partition behave differently
- Exhaustive testing is possible at boundaries
-
Decision table testing is especially useful for:
Topic: Black Box Testing
- Measuring code coverage
- Testing simple input ranges
- Complex business rules where different combinations of inputs result in different actions ✓ Correct answer
- Testing the format of input data
-
State transition testing is used for:
Topic: Black Box Testing
- Batch processing systems
- Real time systems with various states and transitions involved ✓ Correct answer
- Database query testing
- Compiler testing
-
In use case testing, the test cases based on use cases are referred to as:
Topic: Black Box Testing
- Partitions
- Rules
- Scenarios ✓ Correct answer
- Tables
-
Syntax testing prepares test cases to exercise:
Topic: Black Box Testing
- All the paths of the program
- The rules governing the format of data in a system, e.g. a postal code or a telephone number ✓ Correct answer
- The state transitions of the system
- The complex business logic of the system
-
Which of the following is a demerit of black box testing?
Topic: Black Box Testing
- The tester must know the implementation and programming languages
- It may leave many program paths untested ✓ Correct answer
- Tests are done from the developer's point of view
- The tester and developer cannot work independently
-
Quality planning activities should be carried out:
Topic: Software Quality Planning
- After the regular QA activities
- Before carrying out the regular QA activities ✓ Correct answer
- Only during the testing phase
- Only at project closure
-
Setting quality goals involves:
Topic: Software Quality Planning
- Selecting the test tools for the project
- Identifying quality views and attributes meaningful to target customers and users, selecting direct quality measures, and quantifying these measures ✓ Correct answer
- Writing the glossary of the SQA plan
- Scheduling the software reviews
-
"The ability of a system to remain operational over time" is the definition of:
Topic: Software Quality Planning
- Availability
- Reliability ✓ Correct answer
- Scalability
- Testability
-
Availability defines:
Topic: Software Quality Planning
- The proportion of time that the system is functional and working ✓ Correct answer
- The ability of the system to handle increases in load
- The degree of ease with which the system can undergo changes
- How easy it is to create test criteria for the system
-
Scalability is the ability of a system to:
Topic: Software Quality Planning
- Prevent disclosure or loss of information
- Be reused in other applications and scenarios
- Handle increases in load without impact on the performance of the system ✓ Correct answer
- Provide information helpful for identifying and resolving issues
-
The SQA Plan structure, containing sections such as Purpose, Reference Documents, Management, Documentation, Standards, Software Reviews and Test, is defined in which standard?
Topic: Software Quality Planning
- ISO 8402
- IEEE 730-2002 ✓ Correct answer
- ISO 9126
- IEEE 829
-
Which section of the SQA Plan (IEEE 730) describes the practices and procedures to be followed for reporting, tracking, and resolving problems?
Topic: Software Quality Planning
- Test
- Media control
- Problem reporting and corrective action ✓ Correct answer
- Supplier control
-
Testability is:
Topic: Software Quality Planning
- The responsiveness of a system to execute an action within a given time interval
- The ability of different systems to communicate and exchange information with each other
- A measure of how easy it is to create test criteria for the system and its components, and to execute these tests to determine if the criteria are met ✓ Correct answer
- The capability of a system to prevent malicious or accidental actions
-
Gray box testing is a combination of:
Topic: Gray Box and White Box Testing
- Unit testing and system testing
- White box testing and black box testing ✓ Correct answer
- Static testing and dynamic testing
- Manual testing and automated testing
-
In gray box testing, the tester:
Topic: Gray Box and White Box Testing
- Has complete knowledge of the internal structure of the system
- Is unaware of the internal structure of the system
- Partially knows the internal structure and algorithms of the system ✓ Correct answer
- Knows only the outputs of the system
-
Regression testing is:
Topic: Gray Box and White Box Testing
- Preparing the status report of the project
- Re-running of the test cases if new changes are made ✓ Correct answer
- Using a subset of all possible combinations of inputs
- Testing only the newly added functionality
-
Orthogonal array testing is used as:
Topic: Gray Box and White Box Testing
- The complete set of all input combinations
- A status reporting technique
- A subset of all possible combinations ✓ Correct answer
- A code coverage measurement technique
-
White box testing is also known as:
Topic: Gray Box and White Box Testing
- Specification based testing
- Structural or glass box testing ✓ Correct answer
- Acceptance testing
- Behavioural testing
-
White box testing is typically undertaken:
Topic: Gray Box and White Box Testing
- At the system test phase by the users
- At the component and component integration test phases by development teams ✓ Correct answer
- At the requirements phase by analysts
- At the acceptance phase by customers
-
Statement coverage is calculated as:
Topic: Gray Box and White Box Testing
- Number of decisions executed / total number of decisions x 100
- Number of statements executed / total number of statements in the source code x 100 ✓ Correct answer
- Number of paths executed / total number of paths x 100
- Number of functions executed / total number of functions x 100
-
A program contains 7 statements in total. A test set executes 5 of these statements. The statement coverage is:
Topic: Gray Box and White Box Testing
- 85.2%
- 71% ✓ Correct answer
- 50%
- 100%
-
Decision coverage (branch coverage) aims to ensure that:
Topic: Gray Box and White Box Testing
- Every statement in the code is executed at least once
- Each possible branch from each decision point is executed at least once, i.e. every decision is taken each way, true and false ✓ Correct answer
- Every path through the program is executed
- Every function is called at least once
-
The main drawback of statement testing is that:
Topic: Gray Box and White Box Testing
- It is too expensive to perform
- It cannot test the false condition of a decision ✓ Correct answer
- It requires no knowledge of the code
- It can only be applied at the system level
-
An organization's software process assets include:
Topic: Software Quality and Process Management
- Only the source code of projects
- Standard processes, SDLCs, methodologies and tools, standards, tailoring guidelines and a library of best practices ✓ Correct answer
- Only the project schedules
- Only the test reports
-
Proper process management requires an organization to:
Topic: Software Quality and Process Management
- Use exactly the same process for every project without any change
- Define a standard process, ensure that each project uses an appropriate version of it, and use results to improve the standard process ✓ Correct answer
- Avoid taking measurements of the process
- Allow every team to invent its own process
-
"You cannot improve something if you cannot measure it" is the basis of:
Topic: Software Quality and Process Management
- Defect prevention
- Standard process measurements ✓ Correct answer
- Technology innovation
- Process change management
-
Defect prevention is concerned with:
Topic: Software Quality and Process Management
- Detecting defects after the product is released
- Identifying and eliminating the sources of defects that are inherent in the software process, or of defects that occur repeatedly ✓ Correct answer
- Measuring the code coverage of tests
- Writing test cases for new functionality
-
At the organizational level, defect sources for defect prevention can be identified from:
Topic: Software Quality and Process Management
- Only the complaints of customers
- Only the code reviews of projects
- Project wind-up reports, organizational metrics analysis, and audit and assessment reports ✓ Correct answer
- Only the test reports of the current project
-
Which of the following is a source of input for process change?
Topic: Software Quality and Process Management
- Marketing and sales reports
- Reports from audits and assessments, lessons learnt, change proposals from staff, and process and product measurement data ✓ Correct answer
- Competitor analysis reports
- Customer purchase data
-
Technology innovation (technology change) in an organization helps to:
Topic: Software Quality and Process Management
- Increase the number of defects
- Achieve quality standards resulting in a decrease in defects, reduced process cycle times and increased process effectiveness ✓ Correct answer
- Remove the need for a standard software process
- Eliminate the need for process measurements