Anti-patterns interview questions

15 real Anti-patterns questions from the Design Patterns bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is God object?

Junior
  1. A.an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  2. B.an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  3. C.an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
  4. D.an anti-pattern of embedding unexplained literal values directly in code instead of named constants
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.God object — an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  2. B.God object — an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  3. C.God object — an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  4. D.God object — an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
Reveal the answer + AI explanation — free account

4. What is Spaghetti code?

Junior
  1. A.an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  2. B.an anti-pattern of embedding unexplained literal values directly in code instead of named constants
  3. C.an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  4. D.an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
Reveal the answer + AI explanation — free account

5. Which term means: "an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain"?

Junior
  1. A.God object
  2. B.Spaghetti code
  3. C.Magic numbers
  4. D.Premature optimization
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Spaghetti code — an anti-pattern of embedding unexplained literal values directly in code instead of named constants
  2. B.Spaghetti code — an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  3. C.Spaghetti code — an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  4. D.Spaghetti code — an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
Reveal the answer + AI explanation — free account

7. What is Tight coupling?

Mid
  1. A.an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  2. B.an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  3. C.an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  4. D.an anti-pattern of embedding unexplained literal values directly in code instead of named constants
Reveal the answer + AI explanation — free account

8. Which term means: "an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult"?

Mid
  1. A.Magic numbers
  2. B.Spaghetti code
  3. C.Tight coupling
  4. D.Premature optimization
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Tight coupling — an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  2. B.Tight coupling — an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  3. C.Tight coupling — an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  4. D.Tight coupling — an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
Reveal the answer + AI explanation — free account

10. What is Premature optimization?

Mid
  1. A.an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  2. B.an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  3. C.an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  4. D.an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Premature optimization — an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  2. B.Premature optimization — an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
  3. C.Premature optimization — an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  4. D.Premature optimization — an anti-pattern of embedding unexplained literal values directly in code instead of named constants
Reveal the answer + AI explanation — free account

13. What is Magic numbers?

Mid
  1. A.an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
  2. B.an anti-pattern of embedding unexplained literal values directly in code instead of named constants
  3. C.an anti-pattern where components depend heavily on each other's internal details, making changes ripple and reuse difficult
  4. D.an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Magic numbers — an anti-pattern of embedding unexplained literal values directly in code instead of named constants
  2. B.Magic numbers — an anti-pattern where a single class knows or does too much, centralizing responsibilities that should be distributed
  3. C.Magic numbers — an anti-pattern describing tangled, unstructured control flow with little modularity that is hard to follow or maintain
  4. D.Magic numbers — an anti-pattern of tuning performance before measuring or proving need, adding complexity for negligible benefit
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Anti-patterns free