ISTQB CTAL-TTA Practice Test - Questions Answers, Page 17
List of questions
Question 161

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?
Question 162

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?
Question 163

Considering the following statements:
A) The data used for a test is held external to the automated script
B) The scope of an automated test suite is driven by the range of test data available
C) It uses a high-level language to separate the action to be performed on the test data from the test script
D) A spreadsheet is used to record the actions to be performed instead of the input data
Which of the following options is the correct selection of these statements to describe data-driven and keyword-driven automation?
Question 164

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?
Question 165

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?
Question 166

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
Question 167

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?
Question 168

What BEST describes how tools can support the practice of Model-Based Testing (MBT)?
Question 169

Which statement about component testing tools and build automation tools is TRUE?
Question 170

Which statement is correct with respect to a mobile emulator tool?
Question