ExamGecko
Home Home / ISTQB / CTAL-TTA

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

Question list
Search
Search

List of questions

Search

Related questions











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.
Will the system use n-version programming for critical components?
A.
Will the system use n-version programming for critical components?
Answers
B.
Will the user interface be implemented independently from the other software modules?
B.
Will the user interface be implemented independently from the other software modules?
Answers
C.
Does the system have user-friendly error messages?
C.
Does the system have user-friendly error messages?
Answers
D.
Does the password protection of the system adhere to the latest regulations?
D.
Does the password protection of the system adhere to the latest regulations?
Answers
Suggested answer: B

Explanation:

In the context of an internet banking project where reliability and maintainability are emphasized, a key factor for maintainability is the modularity of the system. Implementing the user interface independently from other software modules (answer B) can significantly enhance maintainability. This is because it allows changes to be made to the user interface without impacting the underlying business logic or data access layers, making the system more adaptable to change. This kind of separation of concerns is a recognized best practice in software design for maintainability. The other options (A, C, and D) relate more to reliability and security aspects than to maintainability.

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?

A.
Review tool
A.
Review tool
Answers
B.
Hyperlink tool
B.
Hyperlink tool
Answers
C.
Static analysis tool
C.
Static analysis tool
Answers
D.
Dynamic analysis tool
D.
Dynamic analysis tool
Answers
Suggested answer: B

Explanation:

When users complain about issues with links on a website, the most appropriate test tool to identify the causes of these failures is a hyperlink tool (answer B). Hyperlink tools are specifically designed to check the validity of links on web pages. They can automatically identify broken or dead links, which is essential for maintaining the quality and user experience of a website. Review tools, static analysis tools, and dynamic analysis tools do not primarily focus on hyperlink verification.

Which of the following statements is TRUE regarding tools that support component testing and the build process?

A.
Component testing and build automation tools are only used by developers.
A.
Component testing and build automation tools are only used by developers.
Answers
B.
Build automations tools facilitate manual testing at a low level by allowing the change of variables values during test execution.
B.
Build automations tools facilitate manual testing at a low level by allowing the change of variables values during test execution.
Answers
C.
Component testing tools are typically specific to the programming language and may be used to automate unit testing.
C.
Component testing tools are typically specific to the programming language and may be used to automate unit testing.
Answers
D.
Component testing tools are the basis for a continuous integration environment.
D.
Component testing tools are the basis for a continuous integration environment.
Answers
Suggested answer: C

Explanation:

Component testing tools, which are often specific to a programming language, are used to automate unit tests (answer C). These tools help to validate the functionality of individual components or units of code in isolation from the rest of the application. While build automation tools are indeed used by developers and are related to continuous integration (answers A and D), and they can facilitate testing at various levels (answer B), component testing tools' primary purpose is to support the testing of individual components, often through automated unit tests, which can be specific to the language in which the components are written.

Which of the following defect types is NOT an example of a defect type typically found with API testing?

A.
Data handling issues
A.
Data handling issues
Answers
B.
Timing problems
B.
Timing problems
Answers
C.
High architectural structural complexity
C.
High architectural structural complexity
Answers
D.
Loss of transactions
D.
Loss of transactions
Answers
Suggested answer: C

Explanation:

In the context of API testing, the defect types generally found are related to the specific interactions with the API, such as issues with data formatting, handling, validation, and the sequencing or timing of API calls. Architectural structural complexity is not typically a defect that would be identified at the API testing level. API tests are concerned with the interface and immediate integration points, not the overarching system architecture, which would be more relevant to design or system-level testing.

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?

A.
Variable 'A' is not assigned a value before using it.
A.
Variable 'A' is not assigned a value before using it.
Answers
B.
Variable 'D' is defined but subsequently not used.
B.
Variable 'D' is defined but subsequently not used.
Answers
C.
The program does not contain any comments.
C.
The program does not contain any comments.
Answers
D.
It is recommended to use a variable instead of the hard-coded print results 'Win' and *Loose'.
D.
It is recommended to use a variable instead of the hard-coded print results 'Win' and *Loose'.
Answers
Suggested answer: B

Explanation:

The pseudo-code provided for the 'Win' program reads in variables A, B, C, and D. However, only variables A, B, and C are used in the conditional statements to determine if the output will be 'Win' or 'Loose'. Variable 'D' is never used after it is read, which is a classic example of a 'defined but not used' data flow anomaly. This means that while there is an instruction to read a value into variable 'D', there is no subsequent use of this variable in the program's logic or output.

At which test level would performance efficiency testing most likely be performed?

A.
Component testing
A.
Component testing
Answers
B.
Integration testing
B.
Integration testing
Answers
C.
System testing
C.
System testing
Answers
D.
User acceptance testing
D.
User acceptance testing
Answers
Suggested answer: C

Explanation:

Performance efficiency testing is most commonly associated with system testing. This is the level at which the complete, integrated system is evaluated, and it is typically where performance, load, and stress testing are conducted to assess the system's behavior under various conditions and loads. Performance efficiency testing at this level helps to ensure that the system meets the necessary performance criteria as a whole.

There are multiple activities the Technical Test Analyst performs regarding test automation. Which of the following activities is a typical test automation activity that the Technical Test Analyst will perform?

A.
Define the business process keywords and related actions.
A.
Define the business process keywords and related actions.
Answers
B.
Execute the test cases and analyze any failures that may occur.
B.
Execute the test cases and analyze any failures that may occur.
Answers
C.
Train the Test Analyst and Business Analyst to use and supply data for the test scripts.
C.
Train the Test Analyst and Business Analyst to use and supply data for the test scripts.
Answers
D.
Decide regarding a test automation project based on a business case.
D.
Decide regarding a test automation project based on a business case.
Answers
Suggested answer: B

Explanation:

A Technical Test Analyst is primarily involved in the technical aspects of test preparation and execution. One of their typical activities includes the execution of test cases, particularly those that are automated, and the subsequent analysis of any test failures to identify defects and issues. This activity is more technical than defining business processes or training other analysts, and while making decisions based on a business case may be part of their role, it is not an activity directly related to test automation.

Consider the pseudo code provided below:

Which of the following options provides a set of test cases that achieves 100% decision coverage for this code fragment, with the minimum number of test cases?

Assume that in the options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable ''a'', the second number represents variable ''b'', and the third number represents variable ''c''.

A.
(5. 3,2)
A.
(5. 3,2)
Answers
B.
(5. 3, 2); (6, 4, 2); (5, 4, 0)
B.
(5. 3, 2); (6, 4, 2); (5, 4, 0)
Answers
C.
(5. 4, 0); (3, 2, 5); (4, 5, 0)
C.
(5. 4, 0); (3, 2, 5); (4, 5, 0)
Answers
D.
(4,5. 0); {5, 4, 5)
D.
(4,5. 0); {5, 4, 5)
Answers
Suggested answer: B

Explanation:

To achieve 100% decision coverage with the minimum number of test cases, we need to ensure that every branch of the decision is taken at least once. For the code provided:

The first condition (a>b) is true for the first two test cases and false for the third.

The second condition (b>c) is true for the first test case, false for the second, and does not matter for the third since the first condition is false.

Therefore, with these three test cases, we cover all possible outcomes of the decision, ensuring 100% decision coverage.

Which of the following statements is TRUE regarding tools that support component testing and the build process?

A.
Both are used to examine source code before a program is executed. This is done by analysing a section of code against a set (or multiple sets) of coding rules.
A.
Both are used to examine source code before a program is executed. This is done by analysing a section of code against a set (or multiple sets) of coding rules.
Answers
B.
Both are used to reduce the costs of test environments by replacing real devices.
B.
Both are used to reduce the costs of test environments by replacing real devices.
Answers
C.
Both provide run-time information on the state of the software code, e.g., unassigned pointers and the use and de-allocation of memory.
C.
Both provide run-time information on the state of the software code, e.g., unassigned pointers and the use and de-allocation of memory.
Answers
D.
Both provide an environment for unit testing in which a component can be tested in isolation with suitable stubs and drivers.
D.
Both provide an environment for unit testing in which a component can be tested in isolation with suitable stubs and drivers.
Answers
Suggested answer: D

Explanation:

Tools that support component testing and the build process are designed to provide a controlled environment where individual units or components of the software can be tested in isolation. This is typically done using stubs, which simulate the behavior of missing components, and drivers, which simulate the behavior of a user or calling program. This isolated environment is essential for unit testing because it allows testers to find defects within the boundaries of a single component before integrating it into the larger system.

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.
Variable 'MIN' is not assigned a value before using it.
A.
Variable 'MIN' is not assigned a value before using it.
Answers
B.
Variable 'AB is defined but subsequently not used.
B.
Variable 'AB is defined but subsequently not used.
Answers
C.
An invalid value is assigned to variable 'B'.
C.
An invalid value is assigned to variable 'B'.
Answers
D.
The hard-coded value '2' should not be used.
D.
The hard-coded value '2' should not be used.
Answers
Suggested answer: A

Explanation:

In the provided pseudo-code for the Bingo program, the variable MIN is used in the statement MIN = MIN + A without being initialized with a value beforehand. This represents a classic 'use before define' anomaly, as the variable MIN must have an initial value before any operation like addition can be performed on it.

Total 129 questions
Go to page: of 13