Coding questions

You can create a coding question that provides a code editor for the test-taker to submit an answer by writing code. The editor supports a wide variety of programming and scripting languages.
March, 2025

Allowing you to evaluate logic, syntax knowledge, and problem-solving ability by analyzing the code written by the test-taker, coding questions are ideal for testing real-world problem-solving skills in programming.  You can configure the environment to match the exact language and starting point that fits the assessment scenario.

Code editor

When you choose the Code Editor as the question type, the system presents a specialized code editing panel to the test-taker.

Coding question creation panel.
Coding question creation panel.
Supported languages: The editor supports many languages, including but not limited to: JavaScript, Python, Java, C++, TypeScript, HTML, CSS, SQL, Ruby, Go, PHP, Swift, Rust, Shell, and YAML.

After selecting a programming language from the dropdown menu in the Answer Settings panel, the syntax highlighting and behavior of the editor will adapt based on this selection.

You can pre-fill the code editor with starter code. This can include function headers, partially written code, or comments with instructions. To leave the editor empty, simply remove all content.

Coding questions are manually evaluated. You can attach a rubric to define the evaluation criteria. Optionally, include a note for the evaluator for extra guidance during manual evaluation.

In the editor interface, test-takers can use tools such as undo/redo buttons, adjust indentation, expand the editor and switch between light and dark mode.

Go Back

Talk to a representative

Figure out if TestInvite is a good match for your organization