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?
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 unit test should be deterministic. Which option correctly describes the meaning of 'deterministic' as a characteristic of a unit test9
SELECT ONE OPTION
A project to replace your company's sales and merchandising system has begun. The old system is still in production but is poorly documented and expensive to maintain: changing it has often produced a large quantity of defects. The new version will be developed using modern techniques and technology.
Requirements include:
Loading sales data, sent electronically from the stores each evening, into a central database where it is then available for other applications.
Producing sales reports for the merchandisers, whose job is to manage stock levels in stores.
Predictions of future demand for each product, based on a combination of sales history and forecasting parameters.
Requirements 1 and 2 are satisfied by the existing system and will be rewritten with no significant changes. Requirement 3 is new: these forecasting reports will be run overnight, and users will request them by entering simple parameters online during the day.
The sales data are loaded in an overnight batch run. There have been problems at peak periods when this run has taken longer than scheduled, so that dependent jobs could not finish before the start of the working day.
As a Technical Test Analyst, you have been asked to contribute to the project's Master Test Plan. The concerns expressed by stakeholders during risk identification include the length of the batch job runs, ease of parameter entry for the users, unauthorized access to stored sales data, and limited time for testing. With these in mind, which TWO of the following quality characteristics sub-characteristics are likely to contain the highest levels of technical risk?
A) Operability.
B) Time behavior.
C) Interoperability.
D) Security.
E) Testability.