Assume you are involved in testing a Health Insurance Calculation system.
At the main screen one can enter information for a new client. The information to be provided consists of last name, first name and date of birth. After confirmation of the information, the system checks the age of the potential new client and calculates a proposed premium.
The system also has the option to request information for an existing client, using the client’s ID number.
A keyword-driven automation approach is being used to automate most of the regression testing.
Based on the information provided, which TWO of the options provided would be the MOST LIKELY keywords for this application? (Choose two.)
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?
Consider the following section of code:
If ((A > B) or (C > D)) and (E = F) then
print A:
Endif
Which of the following sets of test data can be used to achieve Modified Condition/Decision Coverage with the least number of tests?
You have been given this piece of pseudocode to review Assume that the variables have been declared set and validated in code that precedes this piece that you are reviewing Looking only at this part of the code what requires further discussion?
If a < b then
If a > 12 then
seta = 21
else
set a = 23
endif
If b < 17 then
set a = 24
endif
lfb> 14
set a = 25
set b = 10
else
set a = 5
endif
else
set a = 7
endif
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?
What is MOST likely to be a consideration when implementing a new performance test tool?
Which option below describes the BEST approach for testing a Medium risk mission- or safety-critical system?
SELECT ONE OPTION
When conducting a data flow analysis of following section of pseudo code:
Declare C, F, Z Decimal
Set Z = 32
Read F
SetC = (F-Z) * 5/9
Free C, F. Z
Print F
Which of the variables utilized above has a potential anomalie?
A component has been analysed during a risk-assessment and rated as highly critical. Which of the following white-box test techniques provides the highest level of coverage and could therefore be used to test this component?
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?
The following user story has been written:
As a paying hotel guest
I want to see the charges that have been added to my bill
So that I can monitor my expenditure and know In advance how much I will have to pay when I check out
The notes that have been added to It mention that It must be possible for the guest to get a printout of the bill, see It In a variety of currencies and set a flag in the hotel's billing system against any Item that they wish to challenge.
The following acceptance criteria have been defined:
1.The user shall be able to choose from the most commonly-used currencies.
2.The application must be accessible on most mobile platforms as well as on the hotel room's smart TV.
3.The hotel manager must be notified whenever a bill item is flagged by a hotel guest.
4.End-to-end response time for any individual request submitted by a user must not exceed 7 seconds.
Applying the INVEST technique to this user story, including its acceptance criteria, which of the following statements is correct?
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-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
KeywordGroup IdMember Id
Create.GroupGroup3
Add_MemberGroup3@Member1
Add.MemberGroup3(a)Member2
Delete_GroupGroup3
Remove.MemberGroup3@Memberl
Remove_MemberGroup3@)Member2
Delete.GroupGroup3
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
KeywordGroup IdMember IdResult
Create.GroupGrouplGroup created
Add.MemberGrouplMember4Error - member does not exist
Add.MemberGroupl(©MemberlMember added to Group
Delete.GroupGrouplError - Group not empty
Remove_Member@Member 1Member removed from group
Delete.GroupGrouplGroup deleted
Table 3
KeywordGroup IdMember IdResult
Create.GroupGroup3Group created
Add.MemberGroup3Member9Error - member does not exist
Add.MemberGroup3(©MemberlMember added to Group
Add_MemberGroup 3(©MemberlError - member already in group
Delete.GroupGroup3Error - Group not empty
Remove-MemberGroups(©Member 1Member removed from group
Delete.GroupGroupsGroup deleted
Table 4
KeywordGroup IdMember IdResult
Create.GroupGrouplGroup created
Add.MemberGroupl@Member3Member added to Group
Add.MemberGroupl@Member3Error - member already in group
Delete.GroupGrouplError - Group not empty
Remove.MemberGroupl@Member1Member removed from group
Delete.GroupGrouplGroup deleted
SELECT ONE OPTION
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 asked to provide a practical and pragmatic testing solution for a commercial system where the main user interface is via the Internet. It is critical that the company’s existing good name and market profile are not damaged in any way. Time to market is not a critical issue when appropriate testing solutions are identified to mitigate business risks.
A product risk assessment has revealed the following product risk:
• Abnormal application termination due to connection failure of the main interface.
Which of the following is the appropriate test type to address this risk?
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
Consider the following specification:
If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline’s frequent flier program. If you don’t hold a gold card, there is a possibility that you will get ‘bumped’ off the flight if it is full when you check in late.
This is shown in the control flow graph below. Note that each box (i.e., statement, decision) has been numbered.
Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the level of decision coverage achieved by these three tests?
You have conducted static analysis on several new modules for an existing product. You are now executing test cases and are seeing inconsistent problems including crashes. Intermittent error messages are appearing. Despite all your best efforts, you are not able to find reproducible scenarios to force these errors.
What problem in the code are you likely seeing?
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 section of pseudo code and associated test Input data:
If withdrawal-amount <= amount-on-deposit then Set authorize-transaction = true
Else
If withdrawal-amount <= S100 AND preferred-customer = true then Set authorize-transaction = true
Else
Set authorize-transaction = false
Endif
Endif
Input data set #1
withdrawal-amount = 160
amount-on-deposit = 100
preferred-customer = true
Input data set #2
withdrawal-amount = 500
amount-on-deposit = 500
preferred-customer = false
Input data set #3
withdrawal-amount = 50
amount-on-deposit = 500
preferred-customer = false
What would be the decision coverage achieved if each of these test input data sets were run once?
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?
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?
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
Given the following pseudocode:
Program tax check
BEGIN
yearly := 0
tax := 0
get (monthly)
get (tax_rate)
for I = 1..12 loop
yearly := yearly + monthly
tax := tax - (tax_rate * monthly)
ENDLOOP
salary := monthly * 12
IF salary = yearly THEN
print ("Salary OK")
ELSE
print ("Salary not OK")
ENDIF
year_tax := salary * tax_rate
IF year_tax = tax THEN
print ("Tax Problem")
ENDIF
END tax check
If control flow analysis is performed on the pseudocode, which of the following results is MOST likely?
Consider the pseudo code for the Answer program:
Which of the following statements about the Answer program BEST describes the control flow anomalies to be found in the program?
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
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
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?
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
As Technical Test Analyst on a test automation project covering the acquisition of a commercial test execution tool, what would you MOST likely be responsible for?
Which option below BEST explains the value of a test charter in exploratory testing"5
SELECT ONE OPTION
Which of the following statements BEST describes how tools support model-based testing?
Consider the pseudo code provided below:
Given the following tests, what additional test(s) (if any) would be needed in order to achieve 100% statement coverage, with the minimum number of tests?
Test 1: A = 7, B = 7, Expected output: 7
Test 2: A = 7, B = 5, Expected output: 5
Which option correctly states the sequence of tasks to be undertaken when re-factoring test cases?
SELECT ONE OPTION
What BEST describes how tools can support the practice of Model-Based Testing (MBT)?
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.
Within a new high-end TV project, it has been decided to apply dynamic analysis.
Which of the quality goals listed below is MOST appropriate to the project context?
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?
Consider the following statements regarding Performance Efficiency Testing:
A) Static Analysis tools can analyze code to identify performance bottlenecks
B) Code reviews are an effective way of detecting performance issues
C) Scalability and Load testing are usually performed during the System test level
D) Performance test execution cannot begin until a production-like environment is available
Which TWO of these statements are TRUE?
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 of the following best describes the reason why poorly written code is usually more difficult to maintain than well written code?
What is the earliest stage in the application's SDLC at which performance efficiency testing can be performed?
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?
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 TWO of the following could be identified using Dynamic Analysis?
A) Objects having too much or too little visibility into parent classes.
B) Repetition of code within a single component or module.
C) System memory not released when it is no longer needed.
D) Pointers in a program that are no longer accurate and must not be used. E. Code that cannot be reached and so will not be executed.
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?
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