How to create a Questionnaire item
Introduction
A questionnaire item asks your students questions instead of asking them to write code. It can hold multiple choice, identification and essay questions, and CodeChum checks the answers for you.
CodeChum already ships questionnaire items you are free to use, but when you want to ask your own questions, you write your own item. You can type every question yourself, or give CodeChum a topic and let it write a first draft for you.
Steps
Note: Only auto-generating questions needs a verified account. An unverified teacher who asks CodeChum to write the questions is covered by "You need to be a verified teacher to use this feature" with a Get verified now button. Writing your own questions works either way.
To create a questionnaire item in CodeChum, follow these instructions:
- Click Item bank in the sidebar, then click Create item. The Create Item modal opens.

- Under Choose what type of item you want to create., click the Questionnaire card. Only the steps a questionnaire needs are shown after that, so there are four in all.

- Under Enter the name of the item., type the Item name. The name is required and holds at most 100 characters.

- Under Select all languages applicable for this item., pick every language the item suits. Choose Applicable to all when the questions do not belong to one language.

- Read Add the questions for this item. CodeChum asks "How do you wish to add questions to this item?" and gives you two ways to answer it. You can use both on the same item.

a. Let CodeChum write the questions
- Click Auto-generate questions with AI. The Smart Generator opens with Topic name (be as specific as possible) already filled in from the item name, so check what is in it and make it narrower if you can. A specific topic gives you better questions than a broad one.

- Under Question types, choose how many questions you want for Multiple Choice, Identification and Essay. Each type takes 1 to 10 questions, and None leaves that type out.

- Click Generate questions. The screen reads Generating... while CodeChum works, and the new questions are added after any questions the item already has.

Note: Generate questions stays off until the topic name is filled in and at least one question type has a number.
- Read every generated question and edit what you want to change. A generated question behaves exactly like one you typed yourself.
b. Write the questions yourself
- Click Add my own question, then pick the kind of question under Select question type:. Your choices are Multiple choice, Identification and Essay.

- Type the question itself in the Question box at the top of the card.

- For a multiple choice question, fill in the choices and click Add option for each extra one. Click the circle beside a choice to set it as the correct answer.

- Turn on Multiple answers at the foot of the card when more than one choice is correct. You can then mark every choice that counts.

- For an identification question, type the answer you accept and click Add answer to accept another wording. Turn on Is case-sensitive on an answer that has to be typed exactly.

-
For an essay question, there is nothing to mark as correct. You read and score the answers yourself after your students submit them.
-
Repeat steps 1-6 for every question. Drag the cards to put the questions in the order you want, and use the red button at the top right of a card to drop that question.

Saving the item
- Click Create item at the bottom of the modal.

- Finally, read the Success message, which says you have successfully created the item, and click Finish. CodeChum opens your new item in the Item Bank.

Note: Closing the modal part way through keeps a draft, so opening Create item again brings back what you typed.
And that's how you create a questionnaire item in CodeChum! Next, let's use your item in an activity.
