What BEST describes how tools can support the practice of Model-Based Testing (MBT)?
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
A risk-based approach is being taken to test a new web-based retail application. Which of the following activities is the Technical Test Analyst NOT usually expected to perform?
Which of the following statements BEST describes how tools support model-based testing?
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?
Given the following pseudo code for a program to solve quadratic equations:
program Quadratic Formula
integer: a, b, c, d
floating point: r1, r2
READ (a)
READ (b)
READ (c)
d := (b * b) - (4 * a * c)
IF d < 0 THEN
PRINT ("Imaginary Roots")
ELSE
r1 := (-b + sqrt(d)) / (2 * a)
r2 := (-b - sqrt(d)) / (2 * a)
PRINT ("first root is: " r1)
PRINT ("second root is: " r2)
ENDIF
END program Quadratic_Formula
Which of the following checklist items is MOST likely to indicate a problem in this program?
Consider the code fragment provided below:
The comment frequency of the code fragment is 13%.
To which non-functional quality characteristic does a good level of comment frequency especially contribute?
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?
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?
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
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?
Which option below describes the BEST approach for testing a Medium risk mission- or safety-critical system?
SELECT ONE OPTION
which statement about test approaches is TRUE7
SELECT ONE OPTION
Which TWO of the following statements about Maintainability testing are TRUE?
A) It should start as soon as the draft design documents are available for review
B) An application can be considered maintainable when static analysis and code review defects have been fixed
C) It tests the regression impact of software or environmental changes to an operational system
D) It can be performed during Operational Acceptance Testing by multiple departments
E) It can be performed during User Acceptance Testing to ensure business processes can be maintained
A medical company has performed a safety criticality analysis using the IEC61508 standard. The software components to be developed have been categorized by Safety Integrity Level (SIL). Most components have been rated at SIL 1 or 2, and a few components at SIL 4.
After some discussions with the QA manager, the project has decided to adhere to the recommendations for test coverage provided by the IEC61508 standard.
Which level and type of test coverage should at least be used for the components rated at Safety Integrity Level (SIL) 2?
Which statement about test automation being applied to a reactive test approach, is CORRECT’
SELECT ONE OPTION
Which statement about component testing tools and build automation tools is TRUE?
Given the following decision: IF X < 5 OR Y > 10 THEN
Which of the following sets of test inputs will achieve full MC/DC coverage?
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?
You are involved in testing a system in the medical domain. Testing needs to comply with the FDA requirements and is rated as being safety critical. A product risk assessment has been performed and various mitigation actions have been identified. Reliability testing is one of the test types that needs to be performed throughout the development lifecycle.
Based on the information provided, which of the following activities would need to be addressed in the test plan?
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?
Consider the following code segments.
Segment 1:
If a > b then setc = 12
elseif c >7 set c = 5
endif
Segment 2: setc= 12 for n = 1 to c
display c
endfor
Segment 3:
If (a > b) or (c < d) then
set c = 12
else
set c = 5
endlf
Segment 4:
set y = 4
call (segments)
segments:
start
for I = 1 to y
print y
endfor
end
Which segment would receive the highest cyclomatic complexity value?
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 1?
You are a Technical Test Analyst preparing load test scripts. You have been invited to a technical review of the system's operational profile document produced by the business. The meeting is next week, during your preparation you notice that volumetric data covering projected transaction volumes will be held in a separate document that will not be available before the meeting. What would be the BEST course of action?
At which test level would reliability testing most likely be performed?
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 F in the mnemonic FIRST stands for Fast Which option correctly states the meanings of the other four letters (IRST)?
SELECT ONE OPTION
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
Why might static analysis be used on an Agile project’
SELECT ONE OPTION
In order to create a shareable testing service from server or network traffic log data, which of the following types of tool would you use?
SELECT ONE OPTION
Which statement about test automation is TRUE7
SELECT ONE OPTION
Subject to testing is a software system (COTS) for Project Administration and Control (PACS). PACS is a multi-project system for controlling the project time, e.g., in terms of scheduling and tracking, and managing the productivity of projects, e.g., in terms of effort and deliverables.
During various interviews with stakeholders the following information was gathered:
• Using PACS is not business critical. There is no impact such as high financial losses or problems to the operational continuity of an organization. Its application is not critical since the software package does not support directly the operational, or the primary, business processes of an organization. It supports (project) management in the project planning and tracking process. Of course, it will be highly annoying for users if the system “goes down” from time to time. Although this does not have a high impact for the business process as a whole, the Mean Time Between Failures (MTBF) still needs to be at a good level to be successful in the market.
• Users of PACS typically have an academic educational level, but have no prior experience with this particular type of project management software. The system will be used by a large number of users within an organization.
• The system will be used on a regular basis, e.g., several times per day by project managers and several times per week by project employees. This means that the system will not be used very intensively, often only for some data input or an information request. Its usage is not considered to be very time-critical.
• The data is recorded on-line and real-time. The system is expected to run in multiple hardware environments in various network environments. It is also expected that changes in the operational environments will happen in the upcoming period that also need to be supported.
Based on the information provided by the stakeholder, which combination of non-functional quality characteristics should you propose to test as part of your test approach?
Which of the following is a generic risk factor that should be considered by a Technical Test Analyst during a product risk analysis?
What is the purpose of an HTML checker?
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?
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, is currently under development.
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 will share the same web server.
In consideration of the problems encountered with the first two websites, which TWO of the following types of testing should be performed on the BestForFood website to see whether similar defects exist?
A) Load Testing
B) Stress Testing
C) Scalability testing
D) Portability Testing
E) Recoverability testing
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.
Which of the following statements best captures the difference between data-driven and keyword-driven test automation?
Which of the following is a valid reason for including security testing in a test approach?
Which statement is correct regarding the use of exploratory testing for safety critical systems?
SELECT ONE OPTION
Which requirements engineering technique would BEST identify how different groups of users may interact with a system, helping to identify gaps and inconsistencies in a user story-’
SELECT ONE OPTION
Which of the following defect types is NOT an example of a defect type typically found with API testing?
The following epic has been written:
As a vehicle driver
I want to find an available space In a car park
So that I can pay in advance to reserve that space
This epic will be used to develop user stories for a new National Car Parking application Both public and private car park owners will be able to utilise the system, allowing drivers of all kinds to guarantee an available car parking space on arrival at their chosen car park, according to the kind of vehicle that they may drive
There will be multiple stakeholders including different car park owners, different user groups including disabled drivers and different vehicle types such as car. van and motorbike.
From this epic, multiple user stories will be written. The following acceptance criteria have been written for the epic, and will be applicable to all user stories (each user story will also have its own acceptance cntena):
1.End-to-end response time for any individual request submitted by a user must not exceed 5 seconds
2.All correspondence with stakeholders must be via email and text message
3.The application must be accessible on most mobile technology
4.A user cannot submit a form unless all mandatory fields are entered
5.Payment method can be made using the most popular electronic options
Applying the INVEST technique to this epic, including its acceptance criteria, which of the following statements is correct?
SELECT ONE OPTION
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?
which statement about test automation is TRUE7
SELECT ONE OPTION
You are a senior Technical Test Analyst on a new government project for the Air Force. The software you are testing is used to control the hydraulics for the landing gear for a supersonic, stealth aircraft. You are responsible for organizing the white-box testing that will be performed for this project.
Which of the following would be the most appropriate technique to apply in this situation?
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.
Which of the following is a true statement regarding a continuous integration environment?
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
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?
Which of the following statements is true regarding API and GUI testing?
Which statement correctly describes service virtualization’’
SELECT ONE OPTION