ExamGecko
Home Home / ISTQB / CTAL-TTA

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

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
Reliability and Portability
A.
Reliability and Portability
Answers
B.
Security and Reliability
B.
Security and Reliability
Answers
C.
Performance efficiency and Portability
C.
Performance efficiency and Portability
Answers
D.
Reliability and Performance efficiency
D.
Reliability and Performance efficiency
Answers
Suggested answer: A

Explanation:

Given the stakeholder information provided:

Reliability is important because the system, while not business-critical, still needs a good MTBF to be successful in the market. This is directly mentioned in the stakeholder information.

Portability is essential as the system is expected to run in multiple hardware environments and various network environments, with changes anticipated in the operational environments.

Security is not highlighted as a concern, and performance efficiency, while generally important, is less critical as the system is not used intensively and is not time-critical. Therefore, reliability and portability are the most relevant non-functional quality characteristics to test in this scenario.

Which of the following is a generic risk factor that should be considered by a Technical Test Analyst during a product risk analysis?

A.
Frequency of use of the affected feature by end-users.
A.
Frequency of use of the affected feature by end-users.
Answers
B.
Complexity of new technology.
B.
Complexity of new technology.
Answers
C.
Visibility of failure leading to negative publicity and potential image damage.
C.
Visibility of failure leading to negative publicity and potential image damage.
Answers
D.
High change rate of business requirements.
D.
High change rate of business requirements.
Answers
Suggested answer: B

Explanation:

A Technical Test Analyst during a product risk analysis would consider the complexity of new technology as a generic risk factor. Complex new technology can introduce uncertainties and potential issues that may not be well-understood, which can increase the risk of defects. Frequency of use, visibility of failure, and high change rate of business requirements are also valid considerations, but they are more specific to particular scenarios or aspects of the product rather than the generic technological complexity which is always a concern regardless of the context.

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?

A.
Are all modules, data, and interfaces uniquely identified?
A.
Are all modules, data, and interfaces uniquely identified?
Answers
B.
Can each item be implemented with the techniques, tools, and resources available?
B.
Can each item be implemented with the techniques, tools, and resources available?
Answers
C.
Is it possible during acceptance testing to verity whether the item has been satisfied?
C.
Is it possible during acceptance testing to verity whether the item has been satisfied?
Answers
D.
Are all variables defined with meaningful, consistent and clear names?
D.
Are all variables defined with meaningful, consistent and clear names?
Answers
Suggested answer: A

Explanation:

For a project where the reuse of software components is a key objective, it is essential to ensure that all modules, data, and interfaces are uniquely identified. This facilitates the tracking, maintenance, and reuse of these components in different parts of the software or in other projects. Unique identification helps in preventing confusion and conflicts that may arise due to the reuse of components that have the same name but different functionalities or interfaces.

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

A.
A=6, B=12, Expected output: Bingo! and A=7, B=9, Expected output: 7
A.
A=6, B=12, Expected output: Bingo! and A=7, B=9, Expected output: 7
Answers
B.
A=6, B=12, Expected output: Bingo!
B.
A=6, B=12, Expected output: Bingo!
Answers
C.
A=7, B=9, Expected output: 7
C.
A=7, B=9, Expected output: 7
Answers
D.
No additional test cases are needed to achieve 100% statement coverage.
D.
No additional test cases are needed to achieve 100% statement coverage.
Answers
Suggested answer: D

Explanation:

100% statement coverage means that every line of code is executed at least once during testing. Based on the provided pseudo-code and the test cases given:

Test 1 executes the MIN = B statement when A and B are equal.

Test 2 executes the MIN = A statement and skips the inner IF since B is not equal to 2*A.

All statements within the code have been executed by these two tests, hence no additional test cases are needed to achieve 100% statement coverage.

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?

A.
Performance efficiency testing
A.
Performance efficiency testing
Answers
B.
Portability testing
B.
Portability testing
Answers
C.
Reliability testing
C.
Reliability testing
Answers
D.
Operability testing
D.
Operability testing
Answers
Suggested answer: C

Explanation:

Reliability testing is the process of checking whether the software consistently performs according to its specifications. For a commercial system with a critical internet-based user interface, ensuring that the application can handle connection failures without abnormal terminations is essential. Reliability testing would include testing the system's ability to recover from failures and continue operating, which directly addresses the risk identified.

Consider the code fragment provided below:

How many test cases are needed for the code fragment lines 26 - 37 to achieve 100% modified condition/decision coverage?

A.
2 test cases
A.
2 test cases
Answers
B.
4 test cases
B.
4 test cases
Answers
C.
6 test cases
C.
6 test cases
Answers
D.
8 test cases
D.
8 test cases
Answers
Suggested answer: B

Explanation:

Modified condition/decision coverage (MC/DC) requires each condition in a decision to be shown to independently affect the decision's outcome. For the code fragment provided, we have three independent conditions that need to be evaluated both as true and false. The minimum number of test cases needed to satisfy MC/DC for three conditions is four, which would allow each condition to be shown to independently affect the outcome of the decision.

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?

A.
60%
A.
60%
Answers
B.
67%
B.
67%
Answers
C.
75%
C.
75%
Answers
D.
80%
D.
80%
Answers
Suggested answer: B

Explanation:

The control flow graph provided illustrates the decision points for an airline's upgrade and boarding process. Decision coverage is a measure of the percentage of decision points executed during testing:

Test 1 covers the decision points: Gold card? (Yes) and Business full? (No).

Test 2 covers: Gold card? (No) and Economy full? (No).

Test 3 covers the decision that leads to being bumped from the flight, which is Economy full? (Yes) and Business full? (Yes).

From the given tests, the decision points for Gold card? (No) and Business full? (No) are not tested, leaving us with 4 out of 6 decision points covered, which is approximately 67% decision coverage.

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?

A.
Portability
A.
Portability
Answers
B.
Maintainability
B.
Maintainability
Answers
C.
Usability
C.
Usability
Answers
D.
Performance Efficiency
D.
Performance Efficiency
Answers
Suggested answer: B

Explanation:

The comment frequency in a code fragment relates to the number of comments in relation to the code size. A good level of comment frequency can significantly contribute to the maintainability of the software. Maintainability is a non-functional quality characteristic that refers to the ease with which a software system can be modified to correct defects, update features, improve performance or other attributes, or adapt to a changed environment. Comments in the code help developers understand the logic, purpose, and functionality of the code, which is crucial when modifications are required. This does not directly contribute to portability, usability, or performance efficiency, which are concerned with different aspects of the software's operation and user interaction.

Which of the following is a valid reason for including performance testing in a test approach?

A.
To reduce the threat of code insertion into a web page which may be exercised by subsequent users.
A.
To reduce the threat of code insertion into a web page which may be exercised by subsequent users.
Answers
B.
To evaluate the system's tolerance to faults in terms of handling unexpected input values.
B.
To evaluate the system's tolerance to faults in terms of handling unexpected input values.
Answers
C.
To mitigate the risk of long response times to defects reported by users and/or customers.
C.
To mitigate the risk of long response times to defects reported by users and/or customers.
Answers
D.
To evaluate the ability of a system to handle increasing levels of load.
D.
To evaluate the ability of a system to handle increasing levels of load.
Answers
Suggested answer: D

Explanation:

Performance testing is a key part of ensuring that a system can handle the expected load and perform well under high demand. This type of testing is designed to test the robustness, speed, scalability, and stability of the system under a given workload. It is not primarily concerned with security threats such as code insertion (Option A), nor with fault tolerance in terms of unexpected input values (Option B), nor with the speed of addressing user-reported defects (Option C), although these may be tangential benefits. Performance testing is focused on ensuring that the system meets performance criteria and can handle increasing loads without degradation of service, which is essential for providing a good user experience and for the system's reliability.

Which of the following statements best captures the difference between data-driven and keyword-driven test automation?

A.
Data-driven test automation extends keyword-driven automation by defining data corresponding to business processes.
A.
Data-driven test automation extends keyword-driven automation by defining data corresponding to business processes.
Answers
B.
Keyword-driven test automation extends data-driven automation by defining keywords corresponding to business processes.
B.
Keyword-driven test automation extends data-driven automation by defining keywords corresponding to business processes.
Answers
C.
Data-driven test automation is more maintainable than keyword-driven test automation.
C.
Data-driven test automation is more maintainable than keyword-driven test automation.
Answers
D.
Keyword-driven test automation is easier to develop than data-driven test automation.
D.
Keyword-driven test automation is easier to develop than data-driven test automation.
Answers
Suggested answer: B

Explanation:

Keyword-driven test automation is a framework where test cases are written using keywords that represent the actions or tests to be performed on the system. This is an extension of data-driven test automation, which focuses on separating test scripts from the test data, allowing the same test script to be run with various sets of data. Keyword-driven test automation further abstracts the process by allowing tests to be written in a more human-readable form that corresponds to business processes. This approach can improve maintainability and readability of test cases, making them easier to understand and modify. It's not necessarily the case that one is more maintainable or easier to develop than the other (Options C and D); rather, they serve different purposes in test automation strategy.

Total 129 questions
Go to page: of 13