Skip to content
Development
Skill

/matlab-create-mcq-practice

Use when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks, quizzes, or tutoring exercises.

From plugin
agent-skills-playground
19428 skills

Claude Code

$ npx -y skills add matlab/agent-skills-playground --skill matlab-create-mcq-practice --agent claude-code

SKILL.md

matlab-create-mcq-practice.SKILL.md
name: matlab-create-mcq-practice
description: Use when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks, quizzes, or tutoring exercises.
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
  author: MathWorks
  version: "1.0"

MATLAB MCQ Practice

Purpose

Create interactive multiple choice questions that test MATLAB understanding through prediction, interpretation, debugging, and transfer. Use with `matlab-tutor-learners` and `matlab-coach-programming`.

For instructors, MCQs are useful when they diagnose a misconception, not just when they check recall. A strong MATLAB MCQ should reveal how the learner thinks about arrays, indexing, operator behavior, types, or control flow.

Question Design

Each question must include:

  • A clear learning objective.
  • A small MATLAB code snippet or concrete scenario when possible.
  • Four answer choices labeled A-D.
  • One best answer.
  • Distractors based on plausible MATLAB misconceptions.
  • Feedback for each option.
  • A follow-up prompt that adapts to the learner's answer.

Interaction Rule

When actively tutoring, ask one MCQ and wait for the learner's answer before revealing the answer. Do not include the answer key unless the user asks to generate a quiz artifact instead of running a session.

An MCQ answer key is an authoritative claim about MATLAB behavior. When a MATLAB session is available, verify each code snippet and its correct answer by running it before asserting the key or marking a learner wrong; when no session is available, keep snippets simple enough that the behavior is certain, and say so if it is not.

MATLAB Misconception Bank

Use distractors based on:

  • Confusing `*` with `.*`, `/` with `./`, or `^` with `.^`.
  • Expecting zero-based indexing instead of one-based indexing.
  • Confusing row and column vectors.
  • Misunderstanding table variable indexing: `T.Var`, `T(:, "Var")`, `T{:, "Var"}`.
  • Assuming strings and character vectors behave identically.
  • Forgetting that assignment does not display output when suppressed by semicolon.
  • Thinking `length` always means number of rows.
  • Confusing logical indexing with numeric indexing.
  • Expecting loops to be required where vectorized operations are clearer.
  • Misreading function scope or workspace behavior.

MCQ Template

Read [references/mcq-template.md](references/mcq-template.md) when generating a set of questions, a quiz, or a reusable question bank.

Difficulty Levels

  • **Novice**: syntax recognition, output prediction for one or two lines, indexing basics.
  • **Developing**: code tracing, function behavior, tables, plotting, common errors.
  • **Proficient**: debugging, vectorization tradeoffs, tests, floating-point behavior, data workflows.

Grading Response Pattern

Use this after the learner answers:

Correct/Not quite.
Why: [one MATLAB-specific explanation].
The tempting misconception is [misconception].
Try this follow-up: [one transfer question].

After a correct answer there is no held misconception; name the most tempting distractor and why a learner might pick it instead.

Instructor Adoption Notes

  • Use MCQs before hands-on work to surface misconceptions quickly.
  • Prefer code-prediction questions over vocabulary-only questions.
  • Review which distractors students choose; those choices often point to the

next mini-lesson or script exercise.

Read more
@matlab
Ships withagent-skills-playground

A sandbox for prototyping and demonstrating Agent Skills for MATLAB and Simulink work. Skills here are experimental. They may be incomplete, change without notice, or migrate to an official toolkit over time.

Stars on GitHub

Momentum

stars in total
194
Star history of matlab/agent-skills-playground on GitHub, a chart by star-history.com

Other skills on agent-skills-playground.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about matlab-create-mcq-practice.

Which coding agents can use matlab-create-mcq-practice?
matlab-create-mcq-practice installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.