Skills Assessment Test on SOLID Principles

Topics covered

Open Closed Principle (OCP), Interface Segregation Principle (ISP), Dependency Inversion Principle (DIP), Single Responsibility Principle (SRP), Liskov Substitution Principle (LSP), SOLID, Coupling, Inversion of Control, Violation in SRP, Types of DI, DI Containers

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

Assessment Test on SOLID principles helps recruiters & hiring managers to evaluate in-depth knowledge of candidate about the SOLID principles before hiring or recruiting.

SOLID is a mnemonic acronym for five OOD (object-oriented design) principles those are intended to make software designs more understandable, flexible and maintainable. SOLID principles are used in programming languages such as Java, C#, etc.

The Online test on SOLID principles is specially designed to check application, practical skills related to S.O.L.I.D. principles of software developers – as per Industry Standards. Our SOLID principles test is created and validated by Subject Matter Experts.

SOLID principles skills test contains questions on following Topics:
 

  • Open Closed Principle (OCP)

  • Interface Segregation Principle (ISP)

  • Dependency Inversion Principle (DIP)

  • Single Responsibility Principle (SRP)

  • Liskov Substitution Principle (LSP)

  • SOLID, Coupling

  • Inversion of Control

  • Violation in SRP

  • Types of DI

  • DI Containers


Our intelligent reports give you the detailed hiring analytics of pre-employment test for SOLID principles that helps in analyzing the skills of the candidates.

This pre-employment test is useful for hiring:
  • Javascript Developer

  • Java Developer
  • C# Developer

Test details:

Screen & hire potential candidates using our valid & reliable test. The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Test Duration: 20 minutes

20 Application Questions


This interview test for SOLID principle contains the combination of application and theory questions that helps you to evaluate technical as well as practical skills of candidates.

SOLID Principles Test

Question #1 of 3

How many S.O.L.I.D principles are broken by the necessity of the following code snippet?   

void DrawShape(const Shape &s)
{
     if (s instanceof Square)
          DrawSquare((Square)s);
     else if (s instanceof Rectangle)
          DrawRectangle((Rectangle)s);
     else if (s instanceof Circle) 
          DrawCircle((Circle)s);
}

    • 1

    • 2

    • 3

    • 4

    • 5

Question #2 of 3

Which SOLID principle is not followed correctly in the following code snippet?  

public class A
{
     void hello(){...}
}
public class B extends A
{
     int i;
     void hello(){i++;}
}

    • Single Responsibility Principle

    • Open-Closed Principle

    • Liskov Substitution Principle

    • Interface Segregation Principle

    • Dependency Inversion Principle

Question #3 of 3

Which SOLID principle is not followed correctly in the following code snippet?   

if (event instanceof PreProcess)
{
    doSomething();

else if(event instanceof PostProcess)
{
    doSomethingElse();
}
else if(event intsanceof Processing)
{
    doSomethingNew();
}

    • Single Responsibility Principle

    • Open-Closed Principle

    • Liskov Substitution Principle

    • Interface Segregation Principle

    • Dependency Inversion Principle

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status








24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • hexaware
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo