1. Home
  2. Computer Science MCQs
  3. PHP
  4. Which one of the following means tight coupling?

Added 22 Jan 2024

Which one of the following means tight coupling?

  1. Code Duplication Correct answer
  2. Inheritance
  3. Encapsulation
  4. Polymorphism

Correct answer

A. Code Duplication

12 views

MCQSEXAM

Explanation

Code duplication is a sign of tight coupling. When the same routine is copied into several places, a change to one copy must be repeated in all the others — exactly the dependency that defines tightly coupled code.

Inheritance, encapsulation and polymorphism are tools used to remove duplication and loosen coupling, not symptoms of it.

Want more practice? Try the full set of Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More PHP MCQs

Practise all PHP MCQs

Similar MCQs