Which of the following is a generic risk factor that should be considered by a Technical Test Analyst during a product risk analysis?
Which option below BEST explains the value of a test charter in exploratory testing"5
SELECT ONE OPTION
You have been assigned to perform a review on code provided below:
Which type of defect should you report as part of the code review?
Which of the following defect types is NOT an example of a defect type typically found with API testing?
Consider the simplified logic below for crediting money to a bank account.
Receive money and account number to be credited
IF account number is valid
IF customer account is active
Store current account balance as oldBalance
Credit money to account
IF oldBalance < zero
IF balance now >= zero
Set message "Overdraft cleared"
ELSE
Set message "A/c overdrawn"
ENDIF
ELSE
Set message = "You have more money"
ENDIF
IF account holder is VIP customer
Send message by email to customer
ENDIF
ELSE
Set message "A/c inactive"
Send message by email to supervisor
ENDIF
ELSE
Add 1 to count of invalid inputs
ENDIF
What percentage of decision testing coverage has been achieved by the following suite of test cases?
Test Case A - Account number valid, account is active, oldBalance = -100, balance now = +200, not a VIP customer
Test Case B - Account number valid, account is active, oldBalance = -100, balance now = -50, is a VIP customer
You are working for a video game manufacturer You have a new title being released Market interest in the product is at an all time high and everyone in the company has been promised huge bonuses if the launch is successful You are responsible for portability testing Which area, m particular should you emphasize in your testing?
The following user story has been developed:
As a customer of Alpha Airways who has booked a flight
I want to access the flight reservation
So that I can update the booking details
Which BDD scenario written in Gherkin format correctly applies to this user story?
SELECT ONE OPTION
You are conducting security tests on an e-commerce application. Many core areas have been tested and found to have no issues. Protection of users' private information has also been verified. You are now focusing on testing the UI, which captures query information from the user. Which of the following defect types should you target in your testing?
Installability testing is usually conducted during which stage in the application's SDLC and usually includes which other types of testing?
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
The following User story is being developed using the 8DD approach:
As a Purchasing Manager
i want to see a list of all Purchase Orders placed so far this month with their total value
So that I can control the amount of money being spent
Which scenario is BOTH written in correct Gherkin format AND is appropriate for this User Story9
SEI ECT ONE OPTION
There are multiple activities the Technical Test Analyst performs regarding test automation. Which of the following activities is a typical test automation activity that the Technical Test Analyst will perform?
Given the following pseudocode:
Program tax check
Integer: tax_rate
real: tax%
BEGIN
tax% := 0
GET (tax_rate)
WHILE tax_rate > 0 loop
IF tax_rate > 3 THEN
tax_rate := 3
ENDIF
tax% := tax% + (tax_rate / 10)
tax_rate := tax_rate - 1
ENDLOOP
IF tax% > 0.6 THEN
print ("tax rate is high")
ELSEIF tax% < 0.1 THEN
print ("tax rate is zero")
ELSE
print ("tax rate is low")
ENDIF
END tax check
If control flow analysis is performed on the pseudocode, which of the following results is MOST likely?
The last release of a hotel booking website resulted in poor system performance when hotel searches reached peak volumes. To address these problems in the forthcoming release, changes to the system architecture are to be implemented as follows:
Change 1 - Provision of a single Internet service using multiple servers, rather than a single server, to maximize throughput and minimize response time during peak volumes
Change 2 - Prevention of unnecessary database calls for objects that were not immediately needed by the calling applications. Achieved by not automatically creating database connections at the start of processing, instead only just before the data is required.
The system architecture document has been drafted and as Technical Test Analyst you have been invited to participate in its review. Which of the following review checklist items is MOST likely to identify any defects in the proposed system architecture for Change 2?
A review of the following pseudo code is to be performed using a checklist:
Module Vowel Counter
Message: array of Characters
M, N: Integer
ACount, ECount, ICount, OCount, UCount: Integer
BEGIN
I=1
Read Nextchar
While Nextchar <> 'S'
DO
Message (I) = Nextchar
I = I+1
Read Nextchar
ENDWHILE
FOR M = 1 To I
DO
Print (Message(M))
IF Message (M) = 'E'
THEN
ECount = ECount + 1
ELSE
IF Message (M) = 'A'
THEN
ACount = ACount + 1
ELSE
IF Message (M) = 'I'
THEN
ICount = ICount + 1
ELSE
IF Message (M) = 'O'
THEN
OCount = OCount + 1
ELSE
IF Message (M) = 'U'
THEN
UCount = UCount + 1
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDFOR
Print ('Message contains ' ACount + ECount + ICount + OCount + UCount ' vowels')
END
Which of the following checklist items would find code errors in this scenario?
A) Are all variables properly declared?
B) Are all loops, branches, and logic constructs complete, correct, and properly nested?
C) Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses?
D) Are loop termination conditions obvious and invariably achievable?
E) Are there any redundant or unused variables?
Given the following decision: IF X < 5 OR Y > 10 THEN
And the following test inputs: X=6 and Y=12, X=5 and Y=10
Which of the following additional sets of test inputs will ensure that full Multiple Condition coverage is achieved?
Which TWO of the following describe a function of some common web-based testing tools?
A) To generate HTML and XML that is compliant with industry standards such as W3C
B) To provide information on the size of the web pages and on the time necessary to download them
C) To scan and check that no broken or missing hyperlinks are present on a web site
D) To allow applications to be tested by simulating a mobile platform's runtime environment
E) To provide an engine that allows a user to execute a model describing a system's intended run-time behavior
You are testing software that requires you to enter defined order numbers and either add, delete or update the information associated with that order number, which of the following is the minimum set of columns you should see in your keyword-driven input table?
A unit test should be deterministic. Which option correctly describes the meaning of 'deterministic' as a characteristic of a unit test9
SELECT ONE OPTION
Which statement about test automation being applied to a reactive test approach, is CORRECT’
SELECT ONE OPTION
Which statement is correct regarding the use of exploratory testing for safety critical systems?
SELECT ONE OPTION
What is MOST likely to be a consideration when implementing a new performance test tool?
What is the common name for a type of automated testing technique that separates test input data and expected test results from the control script used to execute all of the tests?
Consider the following section of code:
If ((A > B) or (C > D)) and (E = F) then
print A;
Endlf
Which of the following sets of test data can be used to achieve multiple condition coverage with the least number of tests?
A software company based in Spain that develops mobile applications expects many small updates in the future, e.g., due to changing configurations and customer feedback. The company also wants to focus on being able to change the software effectively and efficiently during initial development without introducing new defects.
Which maintainability sub-characteristic should be covered by the test approach during the initial development?
The following user story has been written for a new application being developed to pre-book a space at a National Car Park.
As a vehicle driver
i want to be able to pre-book a car parking space online, selecting a disabled driver's space if needed
So that l can pay in advance and receive confirmation of my parking space number.
The following acceptance criteria have also been written:
•Payment can be made via PayPal, Debit or Credit Card
•Confirmation of payment and car parking details should be sent after the booking process is completed
•Driver information is stored in the reservation database
The database has been built and tested in a previous sprint, but the interface to the different payment methods have yet to be developed
As a tester in an agile team, you have been asked to review the user story You have detected some issues with this story:
1.it needs to cater for different user groups: a driver or disabled driver
2.it needs to cater for different vehicle types: a car. 4x4. van or motorbike
3.There are no acceptance criteria relating to how quick the booking process should be
4.How confirmation is to be sent for payment and space number, and other important details, have not been specified
5.A stub will be needed to test the payment method
Which pair of requirements engineering techniques are you MOST LIKELY to have used to uncover these issues’
SELECT ONE OPTION
What is the earliest stage in the application's SDLC at which performance efficiency testing can be performed?
How many test cases need to be designed to achieve 100% decision coverage in the following piece of pseudo-code which applies discount rates to hotel room bookings?
Read (Loyalty_level)
Read (Room_price)
IF (Room_price > 200)
IF (Loyalty_level = Platinum)
Discount_factor = 80%
ELSE
IF (Loyalty_level = Gold)
Discount_factor = 85%
ELSE
Discount_factor = 95%
ENDIF
ENDIF
ELSE
IF (Room_price > 150)
IF (Loyalty_level = Platinum)
Discount_factor = 85%
ELSE
Discount_factor = 95%
ENDIF
ELSE
Discount_factor = 100%
ENDIF
ENDIF
Room_price = Room_price * Discount_factor
IF (Discount_factor < 100%)
Show message "Congratulations - you have received a discount!"
ENDIF
You are part of an agile team creating a user story.
Which of the following requirements engineering techniques would you use to provide a visual representation of the system and help to see the 'overall* story with the functional flow?
SELECT ONE OPTION
You are working on an internet banking project. Your company is offering this product to the financial market. For each new customer, some customization will typically be needed. To make the product successful there is a strong focus during development on a reliable and maintainable architecture. To support architectural reviews, a checklist will be developed. Within the checklist specific sections will be attributed to reliability and maintainability.
Which question from the list below should you include in the maintainability section of the architectural review checklist?
You are working on the first release or an online dating service product Market research has shown that the site can expect to experience its heaviest usage during the months of January March June October. November and December During these months usage can be 2 to 10 times higher than dunng other times it has also been determined that people win not tolerate a wait time higher than 2 seconds for queries made regarding potential dates who have selected their profile Extensive usability studies have been done by the marketing department, including work with focus groups and comparative analysis of other similar sites The analysis on the project have provided detailed Ul mockups
in reading the design documents, you have discovered that the marketing team plans to run reports to analyze usage patterns to improve the advertising What item on the architecture review checklist will be important to verify to ensure these reports don’t impact the user response time?
You are responsible for planning the non-functional testing for a new product. You will be responsible for the performance testing and you have determined that you will need a simulator to complete your work, Which of the following are considerations when purchasing a simulator?
1.Path testing of the tool
2.Time to test the tool
3.cost of hmng specialists
4.Susceptibility to the "probe effect"
5.Method and bme to upgrade and retest the tool as the software changes
6.Control flow analysis
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
Which of the following is a valid reason for including performance testing in a test approach?
Below is the pseudo-code for the bingo program:
The bingo program contains a data flow anomaly. Which data flow anomaly can be found in this program?
Which of the following best describes the reason why poorly written code is usually more difficult to maintain than well written code?
Your Agile team is developing a web-based system that will allow users to browse and buy online from a store's shopping catalogue. Continuous Integration has been implemented and technically it is working well, running several times per day, but each run is taking almost as much time as the team is prepared to allow. It is clear that after a few more iterations, as the number of tests needed grows with the product, it will be taking too much time.
Which of the four options contains a pair of solutions that will BOTH help to solve this problem?
a.Only include unit and component integration tests in the automated Cl runs.
b.Schedule low priority tests to be the first ones executed in each run, in order to provide rapid build verification.
c.Reduce the extent to which the automated tests go through the user interface, using technical interfaces instead.
d.Reduce the number of Cl cycles run each day.
e.Select a subset of automated tests for the daytime Cl runs, and run as many of the other tests as possible in an overnight cycle.
SELECT ONE OPTION
You are responsible for the non-functional testing of a website supporting a popular restaurant chain. Due to the rapid expansion of the number of restaurants in the chain, the company is expecting the peak number of concurrent website views to more than triple in the next 6 months. As a result, it has purchased two further production servers to support the existing one. A new hardware release has been scheduled for which the following product risk has been recorded:
{Insert Table 2)
Which one of the following non-functional test typos would be BEST to mitigate this risk?
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?
Which of the following does NOT contribute to a more effective review preparation by the Technical Test Analyst?
Consider the following control flow graph:
The control flow represents a software component of a car navigation system. Within the project the maximum cyclomatic complexity to be allowed is set at 5.
Which of the following statements is correct?
Why could test cases need to be refactored in an Agile project?
SELECT ONE OPTION
Consider the following fault attack:
• Force all possible incoming errors from the software/operating system interfaces to the application.
Which of the following is the kind of failure you are looking for when using this attack?
Which of the following statements BEST describes how tools support model-based testing?
You are responsible for the performance testing of a new web application. In particular, you are interested in determining if you have enough and the right type of servers to handle 10,000 concurrent users. Which is the primary consideration when you are selecting your performance testing tools?