📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

Which practice supports modular design?

A. Copying code between modules
B. Putting all logic in main()
C. Defining modules around a single responsibility ✅
D. Sharing all data globally

Correct Answer: C. Defining modules around a single responsibility

Explanation

  • Single responsibility gives each module one reason to change
  • It is the practical rule behind high cohesion.