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 Coding as the question type, the system presents a specialized code editing panel to the test-taker.

Select
Select "Coding" from the question type menu.
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.
Select your preferred programming language.
Select your preferred programming language.

Configuring the coding question editor

Language selection

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.

Starter code

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.

Manual evaluation

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.

Code editor tools

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

Discover how TestInvite can support your organization’s assessment goals