🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Software Design and UML: all 10 questions

Quiz: Software Design and UML · Question 7 of 10

A function receives a flag mode and uses it to decide which branch of logic to run. Which coupling is this?

A function receives a flag mode and uses it to decide which branch of logic to run. Which coupling is this?

  1. A.Data coupling
  2. B.External coupling
  3. C.Control coupling
  4. D.Coincidental coupling
Answer & explanation

Correct answer: Control coupling

Passing a flag that controls the other module's logic is control coupling.

Can you get the rest right without peeking?

Take the timed Quiz: Software Design and UML quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →