What is MOST likely to be a consideration when implementing a new performance test tool?
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
Which statement is correct regarding the use of exploratory testing for safety critical systems?
SELECT ONE OPTION
You need to implement a Java class that validates a password entry field. The validation critena states that the password must:
1. be a minimum of 8 characters
2 contain at least one special character.
You are focusing on validation criterion 1 and have written a test class that checks that a 7 character password entry will fail validation.
You have written code designed to make this test class pass, however, on first execution of the test class it has failed
What should you do next9
SELECT ONE OPTION
Which TWO of the following are generic PRODUCT risk factors that should be considered by a Technical Test Analyst?
a)A high number of performance efficiency defects in the software
b)Inaccurate arithmetic calculations in key business areas cj Particularly complex code
d) Communication issues with geographically distributed teams
e) Usability-’ issues with the design of the user interface
Your team is now accountable for the support and enhancement of a payroll system that has been in production for many years and modified by many different developers. It has been noticed by management that small functional enhancements take much longer than equivalent changes on more recently developed systems. You have been tasked with implementing improved testing approaches that will help to identify the root cause of this problem.
Which of the following is the best technique to apply in this scenario?
You are working for a company that has a product in the field that has reached its capacity. The system cannot handle any more users without a significant degradation in performance and a significant spike in resource requirements. As a result, your new product has strict requirements for performance efficiency and a specific growth requirement that is estimated for the next three years.
What type of testing should you conduct to make sure the future requirements will be met?
A project to replace your company's sales and merchandising system has begun. The old system is still in production but is poorly documented and expensive to maintain: changing it has often produced a large quantity of defects. The new version will be developed using modern techniques and technology.
Requirements include:
Loading sales data, sent electronically from the stores each evening, into a central database where it is then available for other applications.
Producing sales reports for the merchandisers, whose job is to manage stock levels in stores.
Predictions of future demand for each product, based on a combination of sales history and forecasting parameters.
Requirements 1 and 2 are satisfied by the existing system and will be rewritten with no significant changes. Requirement 3 is new: these forecasting reports will be run overnight, and users will request them by entering simple parameters online during the day.
The sales data are loaded in an overnight batch run. There have been problems at peak periods when this run has taken longer than scheduled, so that dependent jobs could not finish before the start of the working day.
As a Technical Test Analyst, you have been asked to contribute to the project's Master Test Plan. The concerns expressed by stakeholders during risk identification include the length of the batch job runs, ease of parameter entry for the users, unauthorized access to stored sales data, and limited time for testing. With these in mind, which TWO of the following quality characteristics sub-characteristics are likely to contain the highest levels of technical risk?
A) Operability.
B) Time behavior.
C) Interoperability.
D) Security.
E) Testability.
You are working on a project to develop an application that allows users to collaborate via bespoke, online whiteboards. The first release, delivering core functionality, highlighted misunderstandings of the user stories between testers, developers and the product owner during sprint development Since that release, the developers have agreed to implement a TDD approach for future software development.
Creation of the product backlog for the second release is underway and you have recommended to the project stakeholders that an atdd approach be adopted for the backlog's user stories. What would be a GOOD REASON for making this recommendation?
SELECT ONE OPTION
Which of the following are activities that the Technical Test Analyst performs when setting up a test automation project?
1.Schedule the manual testing
2.Define interface requirements between tools
3.Perform a code review on the functional specifications
4.Determine whether to use a rule-dnven approach
5.Tram the test analysts to use and supply the data
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 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
MonthEmpidGrossSalTaxRateTaxToPayNetSalTaxPdYTD
212000153001700600
222200204401760880
Table 2
MonthEmpidGrossSalTaxRateTaxToPayNetSalSalPdYTD
2120000.153001700600
2222000.24401760880
Table 3
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
11200030017006003400
12220044017608803520
Table 4
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
21200030017006003400
22220044017608803520
SELECT ONE OPTION
A new reusable software component that handles sensor management has been developed. It will be used in manufacturing processes that work at SIL 2 and avionics systems where failure could lead to a "major" incident. The code contains no loops but does contain decisions with multiple conditions. Which of the following would be the BEST structure-based testing option for the new software?
When planning and specifying security tests which of the following is NOT likely to be a useful part of the approach?
Which of the following statements is true regarding fault seeding and fault injection tools?
Which option correctly states the sequence of tasks to be undertaken when re-factoring test cases?
SELECT ONE OPTION
A new web site has been launched for a testing conference. There are a number of links to other related web sites for information purposes. Participants like the new site but complaints are being made that some (not all) of the links to other sites do not work.
Which type of test tool is most appropriate in helping to identify the causes of these failures?
At which test level would performance efficiency testing most likely be performed?
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 is the minimum quantity of test cases that will give 100% statement coverage?
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?
Given the following code:
If x > y and z = 3 statement!
elseif z = 4 statement
endif;
What is the minimum number of tests needed to achieve 100% decision coverage?
You work for a small supermarket chain which has successfully operated a product inventory application for several years. It has recently purchased a data warehousing solution which provides tailorable profiling of product purchases with the aim of improving its marketing strategy. The decision has been made to host the data warehousing software and database on the same server used by the product inventory application. Based on this decision, two product risks have been cataloged:
The co-existence of both applications on the same server may introduce resource conflicts, resulting in an unacceptable impact on the functionality of the product inventory application
In the event of loss or corruption of product inventory data during transfer to the warehouse, it may not be possible to restore from back-up in the timeframe required, resulting in lost business.
Which TWO non-functional test types should be included in the test plan to mitigate both product risks?
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?
You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.
You have been asked to recommend whether or not the team should take an atdd approach as well as TDD. what would be the BEST recommendation in these circumstances?
SELECT ONE OPTION
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?
You are working on project where re-use of software is an objective. You are involved in the project as a Technical Test Analyst and have been given the task to develop a checklist for code reviews.
Which question from the list below should you implement as part of the code review checklist?
Which of the following is a reason for the Technical Test Analyst to take the time to prepare for a code review?
Which of the following is NOT a common issue with traditional capture/playback test automation?
Which of the following statements about performance testing tools is NOT correct?
Consider the following pseudocode segment:
set a = 1
while a < 12
display “this is loop", a
if a > 10 then
display "loop is > 10’
set a = 5
else
display “loop is < 11*
endif
end while
display “Final value of a is", a
Which of the following issues should be detected in the code review?
Which of the following is a common technical issue that causes automation projects to fail to meet the planned return on investment?
BestFor Incorporated is a rapidly growing online financial services company that offers guidance to its customers on a range of financial products. Its first website, BestForMortgages, was launched two years ago, shortly followed by BestForPensions. The popularity of both sites has driven the company to expand its offerings into other sectors and a third website, BestForFood, has recently been released.
The first two websites have proven to be functionally robust but suffered from performance issues due to:
Underestimation of concurrent user access at peak times in its original operational profiles
Data volumes rapidly growing beyond expectations on a single database shared by both sites.
All three websites share the same web server.
The BestForFood system has been running live for several months, however the following significant non-functional defects have been recorded:
A) The layout and navigation of the BestForFood website was not considered by the users as consistent with BestForPensions and BestForMortgages
B) Soon after delivering the BestForFood system the performance of both BestForPensions and BestForMortgages noticeably slowed
C) The time taken to diagnose, repair and re-test production defects did not meet BestForFood service level agreements
D) BestForFood performance was adversely impacted by unexpected growth in data volumes
E) The time taken to install monthly builds into the production system exceeded agreed timescales.
Which TWO of these defects might have been prevented had portability testing and compatibility testing been employed?
When conducting a data flow analysis of following section of pseudo code:
Declare Function_Biggest integer (inputl integer. Input2 Integer) }
Declare output Integer
Set output = inputl
If input2 > output then
Set output = input2
Endif
Return output
}
Which of the variables utilized above has a potential anomalie?
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-existing member of the application to a Group will result in an error. Members can also be removed from an existing Group.
Existing Groups can also be deleted but only if there are no current members attached to it.
Which keyword-driven input table provides an adequate test of this enhancement?
You are working on a project that is integrating code from multiple development groups. There have been numerous integration problems, particularly regarding reliability, error recovery and transactional integrity. You are now responsible for planning the performance efficiency testing for this product. There Is a strong feeling among the development managers that some parts of the code are weaker than others and will tend to exhibit problems during the performance efficiency testing. To identify these problematic areas as soon as possible, which type of testing should you do?
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
Which of the following statements BEST describes how tools support model-based testing?
Which of the following is a true statement regarding a continuous integration environment?
You are working on a complex systems integration project that will soon be deployed to the production environment. This system is replacing a system that was popular with the users and had no outstanding non-functional issues. There are multiple components that interact and these have been developed by various development and testing groups including some outsourced groups. You will be leading the performance testing effort. Although you would prefer to have a dedicated test system for this effort, you will have to use the production system. You can do this testing at a low usage time, but there will be some users on the system and you will be using real data for the tests. You are now planning your performance testing. Unfortunately, there are no requirements for the performance requirements of the system. How do you determine the acceptable performance levels for the various operational profiles?
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?
Consider the pseudo code provided below regarding a customer request for cash withdrawal from an ATM.
If the customer has sufficient funds in their account
OR the customer has the credit granted
THEN the ATM machine pays out the requested amount to the customer
Which of the following test cases would be the result of applying multiple condition testing, but would NOT be the result of applying modified condition/decision testing?
A major Caribbean bank typically develops their own banking software using an Agile methodology. However, for some specific components COTS software is acquired and used. The bank does not want to create a dependency on any external COTS supplier.
As part of the test approach, portability testing will be performed. Which portability sub-characteristic is especially relevant for the Caribbean bank?
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
Given the following code:
If x > y and z = 3 statement!
elself z = 4
statement2
endif;
What is the minimum number of tests needed to achieve 100% statement coverage?
Which statement about test automation being applied to a reactive test approach, is CORRECT’
SELECT ONE OPTION