Inside AI question generation

Product · 4 min · June 9, 2026 · by Mariam Adel

How AI Studio drafts problems, test cases, rubrics and even SQL datasets from a one-line topic.

Writing a good assessment question is real work: a clear prompt, edge-case test cases, a fair rubric. AI Studio does the first draft from a single line, so authors edit instead of starting from a blank page.

Type-aware, not generic

The generator knows the engine. Ask for a coding question and it returns a prompt plus visible and hidden test cases. Ask for theory and it returns options with the correct answer marked. Ask for a SQL question and it returns a schema, a dummy dataset of INSERTs, and the expected query.

  • Coding: prompt + sample & hidden test cases
  • MCQ: options with the correct answer + explanation
  • SQL: schema, seed data, and the model query
  • Terminal: a task list for a Linux sandbox

Draft, review, ship

Nothing is auto-published. Every draft lands in the editor with all fields filled so you can tighten the wording, add a test case, or adjust points — then save it to your question bank in a click. Generation is credit-metered, and the cost is shown right on the button.

← All articles