1.
During testing, a defect was found in which the system crashed when the network got disconnected while receiving data from the server. The defect was fixed by correcting functionality which checks the network availability during data transfer. Existing test cases did cover 100% of the module statements. To verify the fix and ensure more extensive coverage, some tests were designed and added to the test suite. What types of testing are mentioned above?
I. Functional testing
II. Structural testing
III. Confirmation testing
IV. Performance testing
Correct Answer
D. I, II and III
Explanation
The given answer is I, II, and III. This is because:
I. Functional testing is mentioned as the defect was fixed by correcting the functionality that checks the network availability during data transfer.
II. Structural testing is mentioned as existing test cases covered 100% of the module statements, indicating that the testing was done at a structural level.
III. Confirmation testing is mentioned as new tests were designed and added to the test suite to verify the fix and ensure more extensive coverage.
IV. Performance testing is not mentioned in the explanation, so it is not included in the answer.
2.
Which of the following is the standard for the Software product quality
Correct Answer
A. ISO 9126
Explanation
ISO 9126 is the correct answer because it is the international standard that defines the software product quality characteristics and provides a framework for evaluating software quality. It covers six main quality characteristics: functionality, reliability, usability, efficiency, maintainability, and portability. ISO 829 is a standard for software test documentation, ISO 1012 is a standard for software life cycle processes, and ISO 1028 is a standard for software reviews.
3.
Which of the following statements about component testing is not true?
Correct Answer
D. Component testing does not involve regression testing
Explanation
Component testing involves testing individual components or modules in isolation to ensure that they function correctly. This type of testing is typically performed by the development team. It is also known as isolation or module testing. Component testing should have completion criteria planned, which means that specific goals and objectives should be defined for the testing process. However, the statement that component testing does not involve regression testing is not true. Regression testing is an important part of component testing, as it ensures that changes or updates to a component do not introduce new defects or affect the functionality of previously tested components.
4.
What type of testing will you perform on internet banking solution?
Correct Answer
C. Non-functional testing
Explanation
Non-functional testing is the type of testing that focuses on the performance, usability, reliability, and security aspects of a system. In the case of an internet banking solution, non-functional testing would be crucial to ensure that the system can handle a large number of concurrent users, has a user-friendly interface, is secure from potential threats, and meets the required performance standards. This type of testing goes beyond the basic functionality and ensures that the system performs well in real-world scenarios.
5.
The process starting with the terminal modules is called:
Correct Answer
A. Top-down integration
Explanation
Top-down integration is the correct answer because it refers to the process of integrating the higher-level modules or components first, before integrating the lower-level modules. This approach starts with the main or top-level module and gradually incorporates the dependencies and interactions with the lower-level modules. It allows for early testing of the overall system functionality and ensures that the higher-level modules are working correctly before integrating the lower-level ones. This approach is often used when the top-level modules are more critical or have more dependencies on other modules.
6.
Verification is:
Correct Answer
B. Checking that we are building the system right
Explanation
The correct answer is "Checking that we are building the system right." This answer suggests that verification involves ensuring that the system is being developed correctly, adhering to the specified requirements and design. It focuses on the technical aspects of the system development process, ensuring that the implementation is accurate and meets the intended functionality. Verification typically involves activities such as code reviews, inspections, and unit testing to validate the correctness of the system's construction.
7.
The main focus of acceptance testing is:
Correct Answer
D. Testing for a business perspective
Explanation
Acceptance testing is a type of testing that focuses on evaluating the system's functionality and performance from a business perspective. It aims to ensure that the system meets the business requirements and objectives, and is acceptable to all users. This type of testing involves validating the system against predefined criteria and ensuring that it aligns with the organization's goals and objectives. It helps to identify any gaps or discrepancies between the system and the business requirements, enabling stakeholders to make informed decisions about accepting or rejecting the system.
8.
Which one of the following are non-functional testing methods?
Correct Answer
D. Both B & C
Explanation
Both usability testing and performance testing are non-functional testing methods. Usability testing focuses on evaluating the ease of use and user-friendliness of a system, while performance testing aims to assess the system's performance and responsiveness under various conditions. These tests do not directly test the functionality of the system but rather evaluate its non-functional aspects. Therefore, the correct answer is "Both B & C."
9.
Component Testing is also called as :
i. Unit Testing
ii. Program Testing
iii. Module Testing
iv. System Component Testing
Correct Answer
A. I,ii,iii are true and iv is false
Explanation
Component Testing is also known as Unit Testing, Program Testing, and Module Testing. This type of testing focuses on testing individual components or units of code to ensure that they are functioning correctly. It is typically done by the developers themselves and is an important part of the software development process. However, Component Testing is not synonymous with System Component Testing, which refers to testing the integration and interaction of different components within a system. Therefore, the correct answer is that i, ii, and iii are true (Component Testing is also called Unit Testing, Program Testing, and Module Testing), while iv is false (Component Testing is not called System Component Testing).
10.
Verification involves which of the following:
i. Helps to check the Quality of the built product
ii. Helps to check that we have built the right product.
iii. Helps in developing the product
iv. Monitoring tool wastage and obsoleteness.
Correct Answer
B. I is true and ii,iii,iv are false
Explanation
Verification involves checking the quality of the built product, ensuring that it meets the specified requirements and standards. It does not involve checking if the right product has been built or assisting in the development process. Monitoring tool wastage and obsoleteness is not a part of the verification process. Therefore, the correct answer is that i is true and ii, iii, iv are false.
11.
What is beta testing?
Correct Answer
B. Testing performed by potential customers at their own locations.
Explanation
Beta testing is a type of testing where potential customers are given access to a product or service before its official release. This allows them to use the product in their own environments and provide feedback to the developers. This feedback helps the developers identify any issues or areas for improvement before the product is launched to the general public. Therefore, the correct answer is "Testing performed by potential customers at their own locations."
12.
To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.
Correct Answer
B. Driver
Explanation
A driver is a program or code that is written to test a function by calling the function to be tested and passing it test data. The purpose of the driver is to simulate the behavior of the actual program or function and verify its correctness. It helps in identifying any errors or bugs in the function being tested and ensures that it produces the expected output for the given input. A driver is commonly used in software testing to validate the functionality of a program or function.
13.
Use cases can be performed to test
Correct Answer
C. Business scenarios
Explanation
Use cases can be performed to test business scenarios. Use cases are a way to represent interactions between users and a system, and they describe the steps that a user takes to achieve a specific goal. By testing use cases, we can verify if the system behaves correctly in real-life business scenarios, ensuring that it meets the requirements and objectives of the business. This type of testing helps to validate the functionality, usability, and overall effectiveness of the system in supporting the business processes.
14.
Which of the following is NOT part of system testing:
Correct Answer
E. Top-down integration testing
Explanation
Top-down integration testing is a type of integration testing where the higher-level modules are tested first before moving to the lower-level modules. It is a part of the integration testing process and not excluded from it. Therefore, it is not the correct answer for the question which asks for the option that is not a part of system testing.
15.
Which of the following is the main purpose of the integration strategy for integration testing in the small?
Correct Answer
C. To specify which modules to combine when and how many at once
Explanation
The main purpose of the integration strategy for integration testing in the small is to specify which modules to combine when and how many at once. This means that the strategy outlines the specific modules that need to be integrated, as well as the order and quantity in which they should be combined. By having a clear plan for integration, the testing process can be more efficient and effective, ensuring that all necessary modules are properly integrated and tested. This approach helps to identify and address any issues or conflicts that may arise during the integration process.
16.
Which of the following combinations correctly describes a valid approach to component testing:
i) Functional testing of the component in isolation.
ii) Structure-based testing of the code without recording incidents.
iii) Automated tests that are run until the component passes.
iv) Functional testing of the interfaces between modules.
Correct Answer
B. I, ii and iii
Explanation
The correct answer is i, ii and iii. This combination correctly describes a valid approach to component testing. Functional testing of the component in isolation (i) ensures that the component functions as intended. Structure-based testing of the code without recording incidents (ii) helps identify any issues in the code logic. Automated tests that are run until the component passes (iii) ensure that the component meets the desired requirements. Therefore, this combination covers various aspects of component testing and is a valid approach.
17.
Majority of system errors occur in the _________ phase
Correct Answer
A. Requirements pHase
Explanation
The majority of system errors occur in the Requirements Phase because this is the stage where the system's requirements and specifications are gathered and documented. If there are any misunderstandings or miscommunications between the stakeholders and the development team during this phase, it can lead to errors and discrepancies in the final system. Additionally, any errors or omissions in the requirements documentation can result in the development team building the wrong system or missing important functionalities, leading to further errors in later phases of the project.
18.
During this event the entire system is tested to verify that all functional information structural and quality requirements have been met. A predetermined combination of tests is designed that when executed successfully satisfy management that the system meets specifications
Correct Answer
C. User Acceptance Testing
Explanation
User Acceptance Testing (UAT) is the correct answer because it involves testing the system by end users or clients to determine whether it meets their requirements and expectations. UAT is conducted after all other testing phases, such as integration testing and system testing, have been completed. It focuses on validating the system's functionality, usability, and overall performance from the perspective of the end users. UAT helps ensure that the system is ready for deployment and meets the specified requirements.
19.
Where may functional testing be performed?
Correct Answer
B. At all test levels
Explanation
Functional testing can be performed at all test levels. This means that it can be conducted at the unit testing, integration testing, system testing, and acceptance testing levels. Functional testing focuses on testing the functionality of a system or component to ensure that it behaves as expected and meets the specified requirements. By conducting functional testing at all test levels, it helps to identify any functional defects or issues at different stages of the software development lifecycle, ensuring that the system functions correctly and meets the desired functionality.
20.
Which test may not mimic real world situations
Correct Answer
B. Structural Testing
Explanation
Structural testing may not mimic real-world situations because it focuses on the internal structure of the software, such as code coverage and control flow, rather than the actual functionality and behavior of the software. It does not consider how the software interacts with external systems or users, which are important aspects of real-world situations. Functional testing, on the other hand, aims to test the software's functionality in real-world scenarios, making it a more accurate representation of real-world situations. Therefore, the correct answer is structural testing.
21.
Contract and regulation testing is a part of
Correct Answer
B. Acceptance testing
Explanation
Contract and regulation testing is a part of acceptance testing because acceptance testing is performed to determine whether a system meets the requirements and expectations of the end-users or stakeholders. Contract and regulation testing specifically focuses on verifying if the system complies with the contractual agreements and regulations set by the governing bodies. Therefore, it is a subset of acceptance testing, which ensures that the system is acceptable for use in its intended environment.
22.
In any software development life cycle (SDLC) model, which of the following are characteristics of good testing?
I. Providing complete test coverage of all branches of the system code.
II. Having a corresponding testing activity for each development activity.
III. Testers should be involved in reviewing documents as soon as drafts are available.
IV. Each test level has test objectives specific to that level.
Correct Answer
A. II, III and IV
Explanation
Good testing in any software development life cycle (SDLC) model should have a corresponding testing activity for each development activity, involve testers in reviewing documents as soon as drafts are available, and have test objectives specific to each test level. This ensures that testing is integrated throughout the development process, documents are thoroughly reviewed, and each test level has clear objectives to achieve.
23.
Which of the following types of defects is use case testing MOST LIKELY to uncover?
i) Defects in the process flows during real-world use of the system.
ii) Defects in the interface parameters in integration testing.
iii) Integration defects caused by the interaction and interference of different components.
iv) Defects in the system as it transitions between one state and another.
Correct Answer
B. I, iii.
Explanation
Use case testing is a technique that focuses on testing the system's behavior from the perspective of end-users. It involves creating test cases based on real-world scenarios or use cases. Therefore, it is most likely to uncover defects in the process flows during real-world use of the system (i) as it simulates how the system will be used in a real-life situation. Additionally, use case testing can also uncover integration defects caused by the interaction and interference of different components (iii) as it tests the system's behavior when different components interact with each other.