Overview
A coding question requires the applicant to submit code in any of the available languages to solve the task. Coding questions are scored using test cases, which are designed to evaluate the correctness and efficiency of a candidate’s code. Test cases are a set of specified inputs and expected outputs with a given execution condition, and they provide the basis for automated evaluation of a candidate’s code.
Sample Test Cases
There are 11 test cases for a coding question with two-sample test cases and nine hidden test cases.
The table below illustrates the points scored by a candidate:
Type of Test Case |
Number of Test Cases |
Points Assigned to a Test Case |
Total Score |
Total Number of Passed Test Cases per candidate |
Candidate's Total Score |
Sample |
2 |
0 |
2*0=0 |
2 |
2*0= 0 |
Hidden- easy |
3 |
5 |
3*5=15 |
3 |
3*5=15 |
Hidden-medium |
4 |
10 |
4*10=40 |
3 |
3*10=30 |
Hidden Difficult |
2 |
20 |
2*20=40 |
1 |
1*20=20 |
11 |
95 |
65 |