You are defining the test approach for an Agile project developing a system to control traffic lights at busy road junctions. The system will use sensors to measure traffic density and flow rates, optimizing traffic flow. While safety-critical, a risk assessment has deemed the project's risk level as low due to the team's expertise.
Which option below represents the BEST test approach for this project?
Key to symbols:
+ (highly recommended)
(recommended)
o (neutral/optional)
* (not recommended)
- (not to be used)

SELECT ONE OPTION
Answer : B
In the scenario described, the project involves developing a system to control traffic lights at busy road junctions, focusing on safety-critical operations but deemed low-risk due to the team's high level of expertise.
Option B (4), characterized by (recommended) for Test Automation and + (highly recommended) for Exploratory Testing (manual) with (recommended) for Black-box Testing, is the most fitting for this project because:
Test Automation (Recommended): For a system managing traffic lights, automated tests can efficiently handle repetitive testing of scenarios involving various traffic densities and flow rates, ensuring consistent and thorough checking of system responses under controlled conditions.
Exploratory Testing (Highly Recommended): Given the critical nature of the system, exploratory testing allows testers to creatively challenge the system beyond pre-defined test cases, identifying potential real-world issues that might not be evident in scripted testing. This is particularly vital in safety-critical systems where unexpected behavior could have severe consequences.
Black-box Testing (Recommended): Black-box testing will ensure that the system meets its external specifications and behaves correctly as perceived from the outside, without the testers needing to know the internal workings. This is essential for verifying that the system's functionality aligns with its intended use in real-world traffic scenarios.
This approach, combining thorough automation with exploratory insights and specification-based validation, supports the project's safety-critical nature while leveraging the team's expertise to manage the identified low risk .
Which statement correctly describes continuous testing'
SELECT ONE OPTION
Answer : D
The correct description of continuous testing is that each new build of the system triggers a pre-defined set of tests to be executed automatically. This approach ensures that any changes or additions to the system are immediately validated, helping to catch issues early and streamline the development process .
The following characteristics were identified during an early product risk-assessment for a software system:
* the software system needs to manage synchronization between various processes
* microcontrollers will be used that will limit product performance
* the hardware that will be used will make use of timeslots
* the number of tasks supported in parallel by the software system is large and are often highly complex.
Based on the information provided, which of the following non-functional test types is MOST appropriate to be performed?
Answer : C
The characteristics listed in the question point towards the need to manage synchronization between processes and make efficient use of limited hardware resources, such as microcontrollers and timeslots. Additionally, the complexity and concurrency of tasks highlight the importance of the software's performance over time. Time-behaviour testing is the most appropriate non-functional test type to perform in this scenario as it focuses on evaluating the timing aspects of the system, such as response times, processing times, and throughput rates. It ensures that the system meets its time-related requirements, which is critical for systems reliant on synchronization and limited by hardware performance constraints.
A new Payroll system calculates the amount of tax that each employee must pay (TaxToPay) on their gross monthly salary (in (), and the net salary (NetSal) that they will receive after that amount of tax has been deducted It also calculates the amounts of tax (TaxPdYTD) and net salary (SalPdYTD) paid in the year to date (YTD) by adding them to the stored amounts from last month (for month 1 these will be zero), inputs Include Employee id (Empid) and Gross Salary this month (GrossSal). Tax Rate is looked up on the key of Employee Id, the amounts of tax and net salary paid in the year to date are looked up on the key of (Employee Id and [month * 1]) except that for month 1 they will be zero.
if both employees were paid the same in month 1 as in the current month 2. for which tax has now to be calculated, which data-driven input and expected output table is correct for this situation?
Table 1
Month Empid GrossSal TaxRate TaxToPay NetSal TaxPdYTD
2 1 2000 15 300 1700 600
2 2 2200 20 440 1760 880
Table 2
Month Empid GrossSal TaxRate TaxToPay NetSal SalPdYTD
2 1 2000 0.15 300 1700 600
2 2 2200 0.2 440 1760 880
Table 3
Month Empid GrossSal TaxToPay NetSal TaxPdYTD SalPdYTD
1 1 2000 300 1700 600 3400
1 2 2200 440 1760 880 3520
Table 4
Month Empid GrossSal TaxToPay NetSal TaxPdYTD SalPdYTD
2 1 2000 300 1700 600 3400
2 2 2200 440 1760 880 3520
SELECT ONE OPTION
Answer : D
Table 2 correctly represents the calculation of tax to pay and net salary for employees of a Payroll system, including accurate representation of tax rates as percentages (not whole numbers), and the correct year-to-date accumulation of salary paid, which aligns with the payroll system's operations as described. It accounts for the logical incrementation of cumulative figures and uses percentage representations for tax rates, which is a standard approach in payroll calculations .
A unit test should be isolated Which option correctly describes the meaning of 'isolated' as a characteristic of a unit test?
SELECT ONE OPTION
Whenever it is run under the same conditions, it should produce the same results.
Answer : C
The term 'isolated' as a characteristic of a unit test means that it should test only the code for which it was originally written. This ensures that the unit test is focused, minimizes dependencies on other parts of the codebase, and errors can be traced back to specific units without ambiguity .
A new application for planning journeys on public transport is being developed that will work on mobile devices. Why would you MOST likely include Compatibility testing in the test plan?
Answer : C
Analysis:
Compatibility testing is essential for applications that are designed to work across various hardware and software environments, particularly for mobile devices which can have diverse specifications and operating systems.
C . To evaluate the degree to which it can effectively and efficiently be adapted for different or evolving hardware environments:
This option addresses the core purpose of compatibility testing for a mobile application. It ensures that the application works as intended across different mobile devices and operating systems, which is crucial for public transport applications that must function reliably on various devices used by the public.
Explanation of Incorrect Options:
A . To evaluate the degree to which it is operational and accessible when required for use:
This is more related to availability and reliability rather than compatibility.
B . To evaluate the degree to which its functions facilitate the accomplishment of specified tasks and objectives:
This pertains to functionality testing, not compatibility.
D . To evaluate the degree to which the system is operational and accessible when required for use:
This duplicates option A and is not directly related to compatibility.
The ISTQB CTAL-TTA syllabus covers compatibility testing and its relevance in ensuring applications function correctly across different environments and hardware configurations.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on compatibility testing practices.
Within the world of consumer electronics, the amount of embedded software is growing rapidly. The amount of software in high-end television sets has increased by a factor of about eight over the last six years. In addition, the market of consumer electronics has been faced with a 5 -10% price erosion per year. The price of a product is, among a number of other things, determined by the microcontroller used. Therefore, the use of ROM and RAM remains under high pressure in consumer electronic products, leading to severe restrictions on code size.
You are a Technical Test Analyst involved in the review of the architecture of this project.
Which of the following issues would be MOST important to focus on during the review and when verifying the correct implementation?
Answer : D
The key context here is the challenge of managing limited resources, particularly ROM and RAM, due to severe restrictions on code size in consumer electronics. Lazy instantiation is a design pattern that defers the creation of an object until the first time it is needed. This approach can significantly reduce the application's memory footprint by avoiding unnecessary pre-allocation of memory, which is particularly valuable in systems where memory resources are constrained. In reviewing the architecture for such a system, it's crucial to ensure that objects are only created when necessary and that memory is optimally managed. Hence, the focus on lazy instantiation would be most important to ensure that the system uses resources efficiently and remains within the restricted code size.