Diagram Questions

Last updated: November 19, 2025

Diagram questions aim to assess a candidate's skills in creating class diagrams, architecture diagrams, workflow diagrams, and circuit diagrams. The candidates can create simple or complex diagrams as required and the examiners can view them to evaluate.

Creating Diagram questions

To create a diagram question:

  1. Log in to your HackerRank for Work account using your credentials.

  2. Go to the Library tab. 

  3. Click Create Question.

    image.png
  4. Select Diagram under General.

    image.png

Step 1: Question Details

  1. Add Problem details

    1. Enter the Question name.

    2. Describe the problem in the Problem description field.
      Note: After you have entered Problem details, you can click See candidate preview to preview the question created. 

  2. Enter Question properties:

    1. Set the Score based on difficulty:

      Difficulty

      Score

      Recommended Time

      Easy

      50 Points

      15 Minutes

      Medium

      75 Points

      30 Minutes

      Hard

      100 Points

      45-60 Minutes

    2. Add Recommended time in minutes.

    3. (Optional) Add Tags from the drop-down list or create new ones.

  3. (Optional) Add Interviewer guidelines for internal use.

  4. Click Next.

Step 2: Diagram Settings

  1. Select the diagram pallets you want to use for the test.
    UML and Entity Relation are auto-selected. 

  2. Click Save question.

The question appears under My Company questions in the HackerRank Library.

Candidate view

In the HackerRank Test, when candidates view the question, they will see the draw.io editor with the options to create and format their diagrammatic representations, as shown below. The left pane displays only those shape categories permitted to answer the question.

Scoring Diagram questions

Diagram questions are scored manually. For more information on manual scoring, see 📄 Manual Scoring for General Questions.