ExamGecko
Home Home / ISTQB / CTAL-TTA

ISTQB CTAL-TTA Practice Test - Questions Answers, Page 10

Question list
Search
Search

List of questions

Search

Related questions











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.
C and Z
A.
C and Z
Answers
B.
None of the variables
B.
None of the variables
Answers
C.
AI1 fthe variables
C.
AI1 fthe variables
Answers
D.
F
D.
F
Answers
Suggested answer: D

Explanation:

Analyzing the given pseudocode for potential anomalies in data flow:

Declare C, F, Z Decimal Set Z = 32 Read F Set C = (F-Z) * 5/9 Free C, F, Z Print F

The potential anomaly is with variable F. It is used after being freed, which typically indicates an error in managing the variable's lifecycle within the code.

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?

A.
Loop termination is not achievable
A.
Loop termination is not achievable
Answers
B.
Rounding errors on the loop counters could cause problems
B.
Rounding errors on the loop counters could cause problems
Answers
C.
Variables are used before they are initialized
C.
Variables are used before they are initialized
Answers
D.
Some of the code could be moved to re-usable functions
D.
Some of the code could be moved to re-usable functions
Answers
Suggested answer: A

Explanation:

The pseudocode provided includes a while loop that adjusts the loop variable a within the loop's conditional code block. This adjustment, set a = 5, occurs when a > 10. Because the loop checks a < 12 as its continuation condition, and a is reset to 5 repeatedly once it exceeds 10, the loop will execute indefinitely, preventing termination. This creates an infinite loop situation since the condition a < 12 will perpetually remain true once a exceeds 10. This is a critical logic error needing correction for proper execution flow.

Which of the following can be executed by model-based testing tools?

A.
A finite state machine
A.
A finite state machine
Answers
B.
An operational profile
B.
An operational profile
Answers
C.
A computational model
C.
A computational model
Answers
D.
A use case profile
D.
A use case profile
Answers
Suggested answer: A

Explanation:

Model-based testing tools are specifically designed to simulate and verify various computational models, including finite state machines (FSM). FSMs are a core part of model-based testing, allowing the definition of system behavior under different inputs and states. Model-based testing tools use these machines to ensure that all states and transitions are covered during testing, providing a systematic approach to test automation and validation.

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.
Action, Expected Result, Error Message
A.
Action, Expected Result, Error Message
Answers
B.
Action, Order ID
B.
Action, Order ID
Answers
C.
Action, Order ID, Expected Result
C.
Action, Order ID, Expected Result
Answers
D.
Order ID. Expected Result
D.
Order ID. Expected Result
Answers
Suggested answer: C

Explanation:

For a keyword-driven testing approach involving operations on an order number, the minimal essential columns for the input table would be 'Action', 'Order ID', and 'Expected Result'. This setup supports clearly defined operations (Action) on specific entities (Order ID) and validation against expected outcomes (Expected Result), thereby facilitating structured and efficient testing. This configuration provides the required information for executing actions and verifying outcomes without redundancy or ambiguity.

How many independent paths are shown in the control flow diagram below?

A.
6
A.
6
Answers
B.
3
B.
3
Answers
C.
4
C.
4
Answers
D.
2
D.
2
Answers
Suggested answer: C

Explanation:

Upon analyzing the control flow diagram provided, there are four distinct paths through the program, considering the flow between decision points and actions. Each path represents a unique sequence of execution through the system logic, dictated by the decision outcomes at various points. This information is critical for ensuring comprehensive testing coverage, as each path may expose different behaviors or outcomes in the application.

Which of the following is a generic risk factor that the Technical Test Analyst must consider?

A.
Integration of a new technology into the product
A.
Integration of a new technology into the product
Answers
B.
Compliance requirements for local disability laws
B.
Compliance requirements for local disability laws
Answers
C.
Errors in the business rules in the specifications
C.
Errors in the business rules in the specifications
Answers
D.
Lack of an oracle for interest calculations
D.
Lack of an oracle for interest calculations
Answers
Suggested answer: A

Explanation:

A generic risk factor that a Technical Test Analyst must consider is the integration of new technology into a product. This is because new technologies can introduce complexities and unknowns in performance, compatibility, and security, which can impact the overall quality and reliability of the product. Evaluating such integration risks is crucial for preparing effective test strategies and ensuring that the product meets its intended functionality and quality standards.

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?

A.
Wild pointers
A.
Wild pointers
Answers
B.
Poor error handling
B.
Poor error handling
Answers
C.
Undefined variables
C.
Undefined variables
Answers
D.
Instrumented code
D.
Instrumented code
Answers
Suggested answer: A

Explanation:

Experiencing inconsistent problems such as crashes and intermittent error messages that do not have reproducible scenarios likely points to an issue with wild pointers. Wild pointers are pointers that do not point to a valid object of the appropriate type, often due to being uninitialized, pointing to deallocated memory, or having been overwritten accidentally.

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?

A.
Data-based testing
A.
Data-based testing
Answers
B.
Keyword-driven testing
B.
Keyword-driven testing
Answers
C.
Model-driven testing
C.
Model-driven testing
Answers
D.
Behavior-based testing
D.
Behavior-based testing
Answers
Suggested answer: B

Explanation:

The common name for the automated testing technique that separates test input data and expected results from the control script is Keyword-driven testing. In this approach, test scripts are written using keywords related to the application under test, which are easy to read and can be interpreted by a script engine to perform testing actions.

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

A.
1,4,6
A.
1,4,6
Answers
B.
2, 3, 5
B.
2, 3, 5
Answers
C.
4, 5,6
C.
4, 5,6
Answers
D.
1,2, 3, 4, 6
D.
1,2, 3, 4, 6
Answers
Suggested answer: B

Explanation:

When purchasing a simulator for performance testing, considerations should include:

Time to test the tool -- How long it will take to validate the simulator itself.

Cost of hiring specialists -- The financial aspect of requiring specialized knowledge to operate or customize the simulator.

Method and time to upgrade and retest the tool as the software changes -- How the simulator can be kept up-to-date with the software it is meant to simulate and the effort involved in retesting it after updates.

These points focus on practical and economic aspects of using a simulator in testing environments.

Which of the following is a true statement regarding a continuous integration environment?

A.
Builds are done regularly every night
A.
Builds are done regularly every night
Answers
B.
Automation tools are used to verify the results of the build
B.
Automation tools are used to verify the results of the build
Answers
C.
Unit testing is performed manually by the developers prior to code check in
C.
Unit testing is performed manually by the developers prior to code check in
Answers
D.
Performance efficiency testing is conducted for every accepted build
D.
Performance efficiency testing is conducted for every accepted build
Answers
Suggested answer: B

Explanation:

In a continuous integration environment, it's true that automation tools are used to verify the results of the build. This practice ensures that as new code integrations occur, they do not disrupt existing functionality and that all tests pass successfully before further deployments.

Total 129 questions
Go to page: of 13