Question Bank
721 approved questions from the community
Control coupling occurs when one module controls the flow of another by passing control information such as flags.
Stamp coupling occurs when modules share data structures and use only parts of them.
What is sequential cohesion?
What is procedural cohesion?
What is temporal cohesion?
Virtual methods in C++ enable dynamic dispatch for polymorphic behavior.
What is the Single Responsibility Principle (SRP) in relation to cohesion?
The composition over inheritance principle suggests that inheritance should never be used.
Functional cohesion is the most desirable level of cohesion in OOP.
Interfaces can contain method implementations in all programming languages.
What is the Dependency Inversion Principle (DIP) and how does it relate to coupling?
What is communicational cohesion?
What is the Interface Segregation Principle (ISP) and its impact on coupling?
Which NoSQL database is known for using a tunable consistency model?
What is the primary benefit of using virtual nodes with consistent hashing in NoSQL databases?
Which NoSQL database employs vector clocks and follows a 'last write wins' policy for conflict resolution?
Which NoSQL database offers support for indexing for efficient data retrieval on large datasets?
Which consistency models are mentioned as being used in NoSQL databases? (Select all that apply)
Auto-partitioning in Cassandra automatically handles data distribution and can add nodes dynamically to maintain performance.
What is the primary advantage of using CouchDB's consistency model?