Explain the concept of information hiding and functional independence.
Answers
Information hiding
Encapsulating the capabilities that a function/module has behind an interface. User uses the module through an interface and they have no knowledge about the code/algorithm use behind the interface. It give you the freedom to change the implementation without changing the interface. Information hiding prevent user to access or alter the implementation making it private to its developer only.
Functional independency
It is a concept of a relational database.
It is a relationship which exists when one attribute uniquely determine another attribute (attribute is a field in the table).
Suppose there is an attribute X and Y, and it is stated that X-->Y, so here this concept will be applied. It means that Y is functionally depended on X. Here X may be a primary key and we know that primary key uniquely identifies another attribute.
Explanation:
Encapsulating the capabilities that a function/module has behind an interface. It give you the freedom to change the implementation without changing the interface. ... Information hiding prevent user to access or alter the implementation making it private to its developer only.