How Well Do You Know Solid Principles?

10 Questions | Total Attempts: 3223

SettingsSettingsSettings
Please wait...
How Well Do You Know Solid Principles?

Solid Principles is all about object-oriented computer programming in which design principles are engaged to make software design more understandable. The principles are subsets of other principles from the author.


Questions and Answers
  • 1. 
     Solid principles was promoted by which of these?
    • A. 

      Robert Hook

    • B. 

      Robert Rich

    • C. 

      Robert Martins

    • D. 

      Robert Dawn

  • 2. 
    The SOLID acronym in Solid principles was introduced by 
    • A. 

      Micheal Feathers

    • B. 

      Micheal Wright

    • C. 

      Micheal Sheep

    • D. 

      Micheal Brown

  • 3. 
    Concerning the solid principle which of these is odd?
    • A. 

      Dependency Inversion Principle

    • B. 

      Leskov Subtituition Principle

    • C. 

      Interface Segregation Principle

    • D. 

      Single Command Principle

  • 4. 
    The five design principles make software design more
    • A. 

      Distinct

    • B. 

      Useful

    • C. 

      Autonomous

    • D. 

      Maintainable

  • 5. 
    Solid principles form a core philosophy for methodologies like 
    • A. 

      Code development

    • B. 

      Design development

    • C. 

      Software development

    • D. 

      Agile development

  • 6. 
     In single responsibility principle, the responsibility for a class is 
    • A. 

      Defined

    • B. 

      Double

    • C. 

      Simple

    • D. 

      Single

  • 7. 
     In open/close principles, the software entities are open for extension but closed for 
    • A. 

      Corrections

    • B. 

      Errors

    • C. 

      Modifications

    • D. 

      Development

  • 8. 
    In Leskov substitution principle, "objects in a program should be replaceable with instances of their
    • A. 

      Subtypes

    • B. 

      Programs

    • C. 

      Codes

    • D. 

      Command

  • 9. 
    Client-specific interfaces are better than one general-purpose interface in 
    • A. 

      Single responsibility principle

    • B. 

      Open/Close principle

    • C. 

      Liskov substitution principle

    • D. 

      Interface segregation principle

  • 10. 
    Solid principle is also called
    • A. 

      Solid-oriented principle

    • B. 

      Solid-based principle

    • C. 

      Object-oriented principle

    • D. 

      Object-based principle

Back to Top Back to top