Overview
The Diagram type of Questions available in HackerRank helps you assess your candidates' skills in designing flowcharts, Entity-Relationship diagrams, UML diagrams, and architectural representations.
HackerRank Tests are integrated with the popular and feature-rich draw.io diagramming tool to help your candidates create their designs for the Diagram type of questions. The Diagram type of Questions in HackerRank tests include an integrated and readymade draw.io editor. This editor provides various shapes to represent Classes, Entities, Objects, Associations, etc., which are used in UML and Entity-relationship diagrams and flowcharts. Using the tool, your candidates can quickly select and add the required predefined shapes to represent in their diagram and design them using various formatting options. The integrated tool provides an intuitive and easy approach to solving Diagram type Questions, and it adds to your candidates’ positive experience with HackerRank tests.
For Recruiters using HackerRank for Work, in the Diagram Settings tab of a Diagram Question, you can select the specific draw.io category of options available for your candidates in the Test. For example, if your question requires the candidates to create a UML Diagram, you can select only the UML Category of draw.io shapes available in the Test to answer the Question. This article will walk you through the steps in using the draw.io tool.
Refer to the draw.io training material to know more about the tool.
How to Use the draw.io Tool for Diagram Questions?
- On the HackerRank for Work home page, select the Library tab.
- Create a new Diagram Question or select an existing question to edit. Refer to the Creating a Diagram Type Question and Editing a Question topic for the detailed steps to create and edit a diagram Question.
- In the Diagram Settings tab of the Question, you will see the various draw.io category of shapes available to create diagrams. Select the categories which the candidates require to answer the question. For example, if the candidates need to create a basic flowchart, select only the General, Flowchart, and Arrow categories.
Note: By default, the UML and Entity Relation categories are selected.
- Click on the Save Question button to save the changes.
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.
For detailed information about how candidates can use the draw.io editor in HackerRank tests, refer to the topic: Create diagrams using draw.io in HackerRank Tests.