4.2Creating a Question
You can also create your own questions to suit your specific training needs. A question you create is added to the Question Bank and can be reused across pathways and assessments.
4.2.1Write the Problem Statement
Describe the problem in the rich-text editor. You can format the text, add worked examples and constraints, and switch to a raw HTML view for finer control.
4.2.2Set the Difficulty and Question Type
Set the question’s difficulty (Easy, Medium, or Hard) and its question type — Assessment, Pathway, or Both. The type controls where the question can be used; choose Both to make it available in either mode.
4.2.3Choose a Solution Type
Choose the kind of solution the question expects:
- Problem — a classic test-case coding question.
- Web Project — a multi-file HTML, CSS, and JavaScript project.
- Java Project — a project with multiple Java files.
4.2.4Add Test Cases
Add the test cases used to grade a submission. The first test case is shown to learners as a worked sample; the rest stay hidden and are used only when a learner submits.
4.2.5Add Driver Code and a Starter Skeleton
For each language, add the hidden driver code that runs the learner’s solution, and a starter skeleton that the learner sees and writes into. Learners never see the driver code or the hidden test cases.
4.2.6Add Languages
Offer the question in one or more languages — Java, Python, JavaScript, or C++. Each language has its own starter skeleton and driver code.