CS FundamentalsModerateProduct-company placement

Match each anti-pattern with its description. P. Golden hammer Q. Lava flow R. God object S. Cargo cult 1. One class knows and does far too much of the system's work. 2. Dead or experimental code kept because no one dares remove it. 3. Copying practices or code without understanding why they work. 4. Applying one familiar tool or technique to every problem.

  1. A. P-4, Q-2, R-1, S-3
  2. B. P-4, Q-1, R-2, S-3
  3. C. P-3, Q-2, R-1, S-4
  4. D. P-2, Q-4, R-1, S-3

Correct answer: A. P-4, Q-2, R-1, S-3

Golden hammer is 'when all you have is a hammer'; lava flow is hardened leftover code; a god object centralises everything; cargo-cult programming imitates form without understanding.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic