You are working on a new product that will provide an online pizza ordering service. Not everyone wants to create a frequent-eater pizza account, so the user can either log in to their existing account, create an account or proceed as a ''guest" user. People with existing accounts have the option to update their accounts including changing address, changing credit card information and changing phone number. New account creation requires the user to enter their address, credit card information and phone number. This information Is validated to be sure the address matches the credit card information.
Once the user logs in, they are able to order their pizz
a. They can request up to five different pizzas and can select different ingredients on each. A user is allowed to pick up to 10 different ingredients per pizza. They can also select from a pre-defined set of ingredients as follows: ''meat lovers", ''all veggie', ''cheese please', and ''throw it all on".
The busiest day of the year for this product will be the day of the final football game of the professional season. In addition to the normal high load, the company will also be running a special on the ''cheese please" pizza (buy 3 get 2 more free). The new product will need to handle a load that Is expected to be twice as high as the load on the old product last year. Given this information, what is an important item that should be addressed In the architectural specification?
Answer : A
Considering the high load expected on the busiest day, particularly with a promotional offer like ''buy 3 get 2 more free'' on a pizza, addressing transaction concurrency in the architectural specifications is crucial. This ensures the system can handle multiple and simultaneous user transactions efficiently without data loss or service degradation. Proper handling of transaction concurrency is essential to maintain system integrity and responsiveness during peak times, which is a critical requirement for the online pizza ordering system on such a high-traffic day.
Below is the pseudo-code for the Win program:
The bingo program contains a data flow anomaly. Which data flow anomaly can be found in this program?
Answer : B
The pseudo-code provided for the 'Win' program reads in variables A, B, C, and D. However, only variables A, B, and C are used in the conditional statements to determine if the output will be 'Win' or 'Loose'. Variable 'D' is never used after it is read, which is a classic example of a 'defined but not used' data flow anomaly. This means that while there is an instruction to read a value into variable 'D', there is no subsequent use of this variable in the program's logic or output.
Which statement is correct with respect to fault injection tools?
Answer : B
Analysis:
Fault injection tools are used to introduce faults into a system to test its robustness and error-handling capabilities.
B . They deliberately introduce incorrect inputs to a system to ensure it can withstand and recover from error conditions:
This statement correctly describes the purpose of fault injection tools, which is to introduce faults or errors to evaluate how well the system can handle and recover from these conditions.
Explanation of Incorrect Options:
A . They modify the code under test in order to check the coverage achieved by specified tests:
This describes code coverage tools, not fault injection tools.
C . They inject defects into the SUT to test the error handling capabilities of test automation software:
Fault injection tools test the system under test (SUT) itself, not the test automation software.
D . They can detect memory leaks and wild pointers when a component is executing:
This describes dynamic analysis tools, not fault injection tools.
The ISTQB CTAL-TTA syllabus covers the use of fault injection tools and their role in testing the robustness of systems.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on fault injection tools.
Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance'
SELECT ONE OPTION
Answer : C
Service virtualization in the context of developing an e-shop application with an external payment gateway (still under development) offers significant benefits. It allows for realistic testing of the System Under Test (SUT) by simulating the behavior of the still-developing payment gateway, thus enabling testing to proceed without the actual service being available. Additionally, it simplifies the test environment by reducing the complexities associated with integrating and maintaining a live external service during development and testing phases .
An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a Group. An attempt to add a non-existent member of the application to a Group will result in an error, as will an attempt to add the same member twice. Members can be removed from an existing Group. An existing Group can be deleted but only if there are no current members attached to it.
Which one of the following Keyword-driven input tables provides the BEST test coverage of this enhancement?
Table 1
Keyword Group Id Member Id
Create.Group Group3
Add_Member Group3 @Member1
Add.Member Group3 (a)Member2
Delete_Group Group3
Remove.Member Group3 @Memberl
Remove_Member Group3 @)Member2
Delete.Group Group3
Result
Group created
Member added to Group
Member added to Group
Error - Group not empty
Member removed from group
Member removed from group
Group deleted
Table 2
Keyword Group Id Member Id Result
Create.Group Groupl Group created
Add.Member Groupl Member4 Error - member does not exist
Add.Member Groupl (Memberl Member added to Group
Delete.Group Groupl Error - Group not empty
Remove_Member @Member 1 Member removed from group
Delete.Group Groupl Group deleted
Table 3
Keyword Group Id Member Id Result
Create.Group Group3 Group created
Add.Member Group3 Member9 Error - member does not exist
Add.Member Group3 (Memberl Member added to Group
Add_Member Group 3 (Memberl Error - member already in group
Delete.Group Group3 Error - Group not empty
Remove-Member Groups (Member 1 Member removed from group
Delete.Group Groups Group deleted
Table 4
Keyword Group Id Member Id Result
Create.Group Groupl Group created
Add.Member Groupl @Member3 Member added to Group
Add.Member Groupl @Member3 Error - member already in group
Delete.Group Groupl Error - Group not empty
Remove.Member Groupl @Member1 Member removed from group
Delete.Group Groupl Group deleted
SELECT ONE OPTION
Answer : B
Table 3 provides the best test coverage for the described scenario, as it includes various key test conditions:
Attempting to add a non-existent member, resulting in an error.
Trying to add a member twice to the same group, leading to an error for duplicate entry.
Removing a member from the group.
Attempting to delete a group that is not empty, which correctly results in an error, and finally deleting a group when it is empty.
This table most comprehensively covers the functionalities and error handling specified in the enhancement details, effectively testing all scenarios including normal and exceptional behavior .
You are ar teviemng the fdbwng Java furxton that deteimates whether a curb*. rput by the user. * Even or Odd Public das Oddorfven {
public state void mair^Strcg [ | args) (
Scarcer read - new ScanrerfSystem inje
System out prim ('Pease enter a rxmber'i;
int Number * reader nextfntO,
if(Number^20)
System out prrrtln "your input number 'Number * is even ).
else
System out prntirfyour input number 'Number * is odd*);
)
}
You are Qj>ded by '.he following checklist
* All variables must start with a Capital letter
* All output messages must start with a Capita letter
* There must De a comment bne e pla ning the purpose of the dess
How many checklist items Mve been fuelled7
SELECT ONE OPTION
Answer : C
Only one of the checklist items has been fulfilled in the Java function provided. Option C is correct.
Checklist Review:
Capitalization of Variables: The variable 'Number' does start with a capital letter, fulfilling this checklist item.
Capitalization of Output Messages: The output messages do not start with a capital letter following the prompt text (e.g., 'your input number...'), failing this checklist item.
Comment Line: There is no comment line explaining the purpose of the class or method, failing this checklist item.
Thus, only the requirement regarding the capitalization of the variable is met, indicating a partial adherence to the specified coding standards .
The stakeholders in a new system want its mean time between failure to be three months or longer, with a mean time to repair the system of ten minutes or less when it does fail. When planning and specifying reliability tests to be performed before release, which ONE of the following is a factor that must be considered?
Answer : B
Analysis:
For a system to meet its reliability requirements, it must maintain a mean time between failure (MTBF) of three months or longer and a mean time to repair (MTTR) of ten minutes or less. When planning and specifying reliability tests, several factors must be considered to ensure these requirements are met.
Key Factor:
B . Determining the target availability for the system:
Availability is a critical factor that encompasses both the MTBF and MTTR. Availability is calculated based on the uptime and downtime of the system, which directly correlates with MTBF and MTTR. Determining the target availability helps ensure that the system can meet the required reliability standards by specifying acceptable levels of uptime and downtime.
Explanation of Incorrect Options:
A . Defining the replaceability requirements:
Replaceability pertains to the ease with which components can be replaced or updated. While important for maintainability, it is not the primary focus for reliability testing in this context.
C . Monitoring reliability in production:
Monitoring in production is important for ongoing reliability assessment but is not a primary consideration when planning and specifying tests before release.
D . Configuring a production-like test environment:
This is essential for accurate testing but is a logistical consideration rather than a direct factor in the reliability requirements.
The ISTQB CTAL-TTA syllabus and standard practices in reliability testing emphasize the importance of availability metrics in planning reliability tests.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on reliability testing and availability.