Practice Study Guide Questions with
Distinction level Marking scheme version
2024/2025
Which text represents an algorithm? - correct answer Insert
key, turn key, open door.
Shake bulb; if it rattles, replace it. - correct answer Which
text represents an algorithm?
Input 99, 0, 5. Ensure output is "Not OK." - correct answer An
algorithm should output "OK" if a list's numbers are all non-zero,
else the output is "Not OK." Which test is a valid test of the
algorithm?
Testing - correct answer Which phase of a waterfall approach
would create a sequence diagram that specifies the required
order of events between completed program components?
Testing - correct answer Which phase of an agile approach
would define a hypothesis to find a problem in a program
Implementation - correct answer Which phase of an agile
approach would create an executable program
, Design - correct answer Which phase of an agile approach
would create a list of components needed to build an online
auction site
Analysis - correct answer Which phase of a waterfall
approach defines a program's goals?
Testing - correct answer After a programmer is done writing
a program, another person runs the program hundreds of times,
each time with different input, checking that each run yields
correct output. Which phase of a waterfall approach is the
person carrying out?
Implementation - correct answer A programmer decides a
program should convert U.S. units to metric units and decides to
write the program in C++ using several functions. Which phase
of a waterfall approach is occurring when the programmer starts
writing the program?
Analysis - correct answer A company has a new project it
wishes to implement to track and analyze employee and
customer interactions. The company leadership determines that
the system should support direct data entry as well as automated
data capture of phone calls and emails. Which phase of the
waterfall process is occurring?
Implementation - correct answer A programmer shows a
program's first version to a customer. The customer provides
feedback, which causes the programmer to change the goals of
the program. In which phase of an agile approach are goals
changed based on customer feedback?