HackerRank for Work allows you to modify the question settings of your test. You can choose the programming languages your candidates are allowed to give their tests. By changing the configurations, you can decide what the candidate can do or see for a programming-based test. This article will take you through the different question settings available in HackerRank for Work.
Modifying Question Settings for Tests
- You must have created a test.
You can select the languages you want to enable for a specific test. Candidates are allowed to answer the questions on the test only in these enabled languages. This overrides the language setting for each question. Irrespective of the languages enabled by the question setter for each specific question, all the questions on the test can only be answered in the languages enabled for that test.
By default, all supported languages are selected and available for use.
Example: If you select Python from the allowed languages for a test, then irrespective of the languages allowed for answering each question on the test, only Python is made available to the candidates.
- Click on the Tests tab on the home page and click on the required test.
- Once the particular test you clicked on opens, click on the Settings tab below the test name.
- You will see the different types of settings by clicking settings, which you can configure in the left pane. Select the Questions tab.
- On clicking questions, the allowed languages settings pane opens up. You can select as many languages as you want to allow for the test. You can also conveniently choose the select all or clear all option provided.
Configuration for Coding Questions
With this setting, you can enable or disable what candidates can do/ see for programming questions in the test.
- Show status of hidden test cases (after all sample test cases pass): If this option is enabled, then candidates receive test case feedback from all non-sample test cases. Otherwise, they only see the results of sample test cases.
Example: You have eight hidden test cases and 2 sample test cases for a particular question on a test. You have enabled this option. If a candidate's code passes both sample test cases, then the candidate can also view the status of the other eight hidden test cases. However, if you have disabled this option, the candidate can only see if the sample test cases satisfy the code. No further information on eight hidden test cases is shared with the candidate even if the code satisfies 2 sample test cases.
Note: For a better test-taking experience, by default, the following features are enabled for candidates
- Enable Custom Test cases
- Enable Head/Tail code stubs
Shuffle Question and Question Points
Shuffle Questions, when enabled, the candidate will view the questions in random order. Question Points, when enabled, will show the candidates the points for each question.
The Shuffle Questions and Question Points toggle buttons are also available under question settings and can be switched on and off depending on the need.
Once you are done modifying the question settings, click on the Save Changes button.