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.

HARD
TRUE FALSE
30s
OOP
by Mohamed

Stamp coupling occurs when modules share data structures and use only parts of them.

HARD
TRUE FALSE
30s
OOP
by Mohamed

What is sequential cohesion?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

What is procedural cohesion?

HARD
SINGLE CHOICE
35s
OOP
by Mohamed

What is temporal cohesion?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

Virtual methods in C++ enable dynamic dispatch for polymorphic behavior.

HARD
TRUE FALSE
30s
OOP
by Mohamed

What is the Single Responsibility Principle (SRP) in relation to cohesion?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

The composition over inheritance principle suggests that inheritance should never be used.

HARD
TRUE FALSE
30s
OOP
by Mohamed

Functional cohesion is the most desirable level of cohesion in OOP.

HARD
TRUE FALSE
25s
OOP
by Mohamed

Interfaces can contain method implementations in all programming languages.

HARD
TRUE FALSE
30s
OOP
by Mohamed

What is the Dependency Inversion Principle (DIP) and how does it relate to coupling?

HARD
SINGLE CHOICE
45s
OOP
by Mohamed

What is communicational cohesion?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

What is the Interface Segregation Principle (ISP) and its impact on coupling?

HARD
SINGLE CHOICE
45s
OOP
by Mohamed

Which NoSQL database is known for using a tunable consistency model?

HARD
SINGLE CHOICE
40s
NoSQL
by Mohamed

What is the primary benefit of using virtual nodes with consistent hashing in NoSQL databases?

HARD
SINGLE CHOICE
45s
NoSQL
by Mohamed

Which NoSQL database employs vector clocks and follows a 'last write wins' policy for conflict resolution?

HARD
SINGLE CHOICE
40s
NoSQL
by Mohamed

Which NoSQL database offers support for indexing for efficient data retrieval on large datasets?

HARD
SINGLE CHOICE
40s
NoSQL
by Mohamed

Which consistency models are mentioned as being used in NoSQL databases? (Select all that apply)

HARD
MULTIPLE CHOICE
50s
NoSQL
by Mohamed

Auto-partitioning in Cassandra automatically handles data distribution and can add nodes dynamically to maintain performance.

HARD
TRUE FALSE
30s
NoSQL
by Mohamed

What is the primary advantage of using CouchDB's consistency model?

HARD
SINGLE CHOICE
40s
NoSQL
by Mohamed
PreviousPage 7 of 37Next