Question
Which of the following is NOT one of the SOLID principles
of software design?Solution
The SOLID principles are five core design principles in object-oriented programming that ensure software is modular, maintainable, and scalable. These principles are:
- Single Responsibility Principle (SRP): A class should have only one reason to change.
- Open/Closed Principle (OCP): Software entities should be open for extension but closed for modification.
- Liskov Substitution Principle (LSP): Subtypes must be substitutable for their base types.
- Interface Segregation Principle (ISP): Clients should not be forced to depend on interfaces they donāt use.
- Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules.
- Single Responsibility Principle: Part of SOLID.
- Open/Closed Principle: A core SOLID principle.
- Interface Segregation Principle: Clearly defined in SOLID.
- Liskov Substitution Principle: Integral to SOLID principles.
In relation to computer, what is ‘nibble’?
If in the number '78375264', '1' is added to all the even digits, then, which of the following digit is not repeated in the new number?
In the given words, if the 3rd and 6th (from the left end) letters are exchanged and same is done with 4th and 9th...
How many such pairs of letters are there in the word ‘DISPLACED’ each of which has as many letters between them in the word (in both forwar...
- How many such digits are there in the number ā3824759163ā which will remain at the same position when they are arranged in the ascending order from lef...
How many pairs of letters are there in the word āJACKFRUITā which has as many letters between them (both forward and backward) in the word as in th...
If in the number 587683529, 5 is added to each of the digit which is less than four and 2 is subtracted from each of the digit which is greater than fou...
How many pairs of letters are there in the word āCHAMOMILEā which has as many letters between them in the word as in the alphabetical series?Ā
...What would come next in the following letter series?
Ā Ā Ā Ā Ā DWP, FUR, HST, JQV, _
Five words are given in the options and taking four letters of each of the words as specified in front of it (in the same order). Different words can be...