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.
- A. P-4, Q-2, R-1, S-3
- B. P-4, Q-1, R-2, S-3
- C. P-3, Q-2, R-1, S-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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A release burndown has stayed almost flat for three sprints, yet the team's velocity has been a steady 30 points per sprint. Which chart…
- A work item spent 4 days waiting for development, 2 days in development, 5 days waiting for review, 0.5 day in review, 3 days waiting for…
- How many of these statements about Git submodules are correct? 1. A plain git clone of the superproject leaves submodule directories empty…
- On main you run git merge -s ours feature in one repository and git merge -X ours feature in a copy. Which statement is correct?
- main and feature split at commit B. Since then main has gained commit C (editing a.txt) and feature has gained commit D (editing b.txt)…
- main has A-B-C. feature branched from B and has D-E. On main you run git merge feature, creating merge commit M (first parent C, second…