Question
Class Customer has a subclass VIPCustomer. Assuming well-structured code that observes Liskov substitution, which of the following statements are true: (i) Any method that takes
Class Customer has a subclass VIPCustomer. Assuming well-structured code that observes Liskov substitution, which of the following statements are true:
(i) Any method that takes an instance of Customer can safely be passed an instance of VIPCustomer
(ii) Any method that takes an instance of VIPCustomer can safely be passed an instance of Customer
(iii) If you call a nonexistent method on a VIPCustomer, the call will still work if Customer or one of its ancestors responds to that method
(iv) The set of instance variables of a VIPCustomer must be the same as the set of instance variables of a Customer
A. i
B. i and iii
C. ii and iii
D. i, iii, and iv
Which of the following are benefits of using design patterns?
(i) Apply well-known solutions to common problems
(ii) Help to develop high-level architecture of software
(iii) Improve ability to reuse existing implementations
(iv) Improve communication between developers by providing well-known names for software interactions
A. i and iii
B. ii and iii
C. i, ii, and iii
D. i, ii, iii, and iv
Which statements are TRUE about Pair Programming?
(i) Practitioners of pair programming believe it makes code review unnecessary
(ii) It works best when developers frequently trade roles (Observer vs. Driver)
(iii) It is effective even when the two paired developers have very different levels of experience
(iv) Once a pair figures out who is the better Observer and who is the better Driver, they should stick to those roles
A. (i) and (ii) only
B. (ii) and (iii) only
C. (i), (ii) and (iii) only
D. (i), (ii), (iii), and (iv)
What makes the code legacy?
(i) It doesn't meet customer's need anymore
(ii) It was written long time ago
(iii) It's poorly documented
(iv) It lacks good tests
A. (i) and (ii) only
B. (i) and (iii) only
C. (ii), (iii) and (iv) only
D. (i), (ii), (iii), and (iv)
Which are TRUE regarding the use of points, velocity, and Pivotal Tracker to measure progress in BDD and Agile?
(i) Velocity is useful for gauging the progress of one team across iterations.
(ii) Velocity is useful for comparing the progress of two teams across iterations.
(iii) An experienced team can use velocity to predict when certain features will be ready to ship.
(iv) When a story is completed, the developer who checked in the code and test(s) for that story is responsible for marking the story as Accepted.
A. (i) and (iii) only
B. (ii) only
C. (i), (ii), and (iii) only
D. (i), (ii), (iii), and (iv)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started