Review 39 CTAL-ATT practice questions with answer explanations and community insights.
Question 1
You are a reviewing the following Java function that determines whether a number, input by the user, is Even or Odd: You are guided by the following checklist: All variables must start with a Capital letter. All output messages must start with a Capital letter. There must be a comment line explaining the purpose of the class. How many checklist items have been fulfilled?
None
1
2
3
Question 2
Which requirements engineering technique would BEST identify how different groups of users may interact with a system, helping to identify gaps and inconsistencies in a user story?
Storyboards
Story Mapping
Personas
Use Cases
Question 3
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 the 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 development 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?
NO, do not use ATDD, because it is not compatible with the developers’ TDD approach.
YES, use ATTD, but for the functional requirements only because it cannot be applied to non-functional or technical requirements.
YES, use ATTD for all requirements including non-functional and technical stories.
NO, do not use ATDD, because it will not work when the acceptance tests are not automated.
Question 4
You need to implement a Java class that validates a password entry field. The validation criteria 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 next?
Develop a test class with a 9 character password containing one special character and re-execute the code.
Refactor the failing code to improve its design and structure.
Repair the failing code and re-execute it for the test class.
Add code to cover special character validation criterion 2.
Question 5
You are defining the test approach for an Agile project that is developing a system that will control traffic lights at busy road junctions based on input from sensors that measure traffic density and flow rates on the roads leading to the junctions. It is a safety-critical application but, because of the skill and experience of the project team, a risk assessment has determined that its risk level is low. Which option in the table below represents the BEST test approach for this release? Key to symbols: ++ (highly recommended) + (recommended) o (neutral / optional) - (not recommended) -- (not to be used)
1
2
3
4
We are moving to a new platform
CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.