You are ar teviemng the fdbwng Java furxton that deteimates whether a curb*. rput by the user. * Even or Odd Public da»s Oddorfven {
public state void mair^Strcg [ | args) (
Scarcer read - new ScanrerfSystem inje
System out prim (’Pease enter a rxmber'i;
int Number • reader nextfntO,
if(Number^2»»0)
System out prrrtln "your input number 'Number ♦ * is even ).
else
System out prntirfyour input number 'Number ♦ * is odd*);
)
}
You are Qj>ded by ’.he following checklist
•All variables must start with a Capital letter
•All output messages must start with a Capita letter
•There must De a comment bne e« pla ning the purpose of the dess
How many checklist items Mve been fuelled7
SELECT ONE OPTION
Why could test cases need to be refactored in an Agile project?
SELECT ONE OPTION
Your Agile team is developing a web-based system that will allow users to browse and buy online from a store's shopping catalogue. Continuous Integration has been implemented and technically it is working well, running several times per day, but each run is taking almost as much time as the team is prepared to allow. It is clear that after a few more iterations, as the number of tests needed grows with the product, it will be taking too much time.
Which of the four options contains a pair of solutions that will BOTH help to solve this problem?
a.Only include unit and component integration tests in the automated Cl runs.
b.Schedule low priority tests to be the first ones executed in each run, in order to provide rapid build verification.
c.Reduce the extent to which the automated tests go through the user interface, using technical interfaces instead.
d.Reduce the number of Cl cycles run each day.
e.Select a subset of automated tests for the daytime Cl runs, and run as many of the other tests as possible in an overnight cycle.
SELECT ONE OPTION
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 i s 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
+♦ (highl y recommended)
+ (recommended)
o (neutial / optional)
- (not recommended) - (not to be used)
Option NumberTest AutomationExploratory Testing(manual) Black-box testing
1++++
2-
♦+♦
34-4-+
40+++
SELECT ONE OPTION
which statement about test automation is TRUE?
SELECT ONE OPTION
You are working on a project to develop an application that allows users to collaborate via bespoke, online whiteboards. The first release, delivering core functionality, highlighted misunderstandings of the user stories between testers, developers and the product owner during sprint development Since that release, the developers have agreed to implement a TDD approach for future software development.
Creation of the product backlog for the second release is underway and you have recommended to the project stakeholders that an atdd approach be adopted for the backlog's user stories. What would be a GOOD REASON for making this recommendation?
SELECT ONE OPTION
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-’
SELECT ONE OPTION
You need to implement a Java class that validates a password entry field. The validation critena 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 next9
SELECT ONE OPTION
A unit test should be deterministic. Which option correctly describes the meaning of 'deterministic' as a characteristic of a unit test9
SELECT ONE OPTION
PDF + Testing Engine
|
---|
$66 |
Testing Engine
|
---|
$50 |
PDF (Q&A)
|
---|
$42 |
iSQI Free Exams |
---|
![]() |