跳到正文
cccskills
免费在 GitHub 公开

matlab-create-mcq-practice

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.4 KB
  • references/mcq-template.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder). Covers two workflow patterns: (1) MathWorks-native or 3P-imported models rebuilt as dlnetwork for lean hardware (Cortex-M, DSP), (2) direct C/C++ code generation from PyTorch and LiteRT models for high-performance hardware (Cortex-A, x86, GPU). Trigger when: user wants to deploy AI to embedded targets; generate C/CUDA from neural networks; compress AI models for MCU/DSP; integrate AI in Simulink for system-level simulation; import PyTorch/ONNX/TensorFlow models for embedded deployment; optimize AI for resource-constrained hardware; or use loadPyTorchExportedProgram, importNetworkFromPyTorch, dlquantizer, exportNetworkToSimulink, or Embedded Coder with AI models.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any programming task where academic integrity, course policy, or instructor constraints may limit direct solutions. Use to provide policy-aware hints, conceptual coaching, partial feedback, and assignment-safe MATLAB tutoring.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or code repair practice. Use for guided debugging sessions, debugging drills, teach-the-agent critique, and evidence-based MATLAB troubleshooting.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox workflows.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

Use when an instructor wants to create, interview for, configure, install, update, or review a course AI-use policy for MATLAB AI tutoring. Produces an AI-POLICY.md file for LMS sharing and local tutoring-session enforcement by assignment guardrails.

中文简介正在准备中。当前显示原文说明。

matlab/agent-skills-playground1892026年10月15日 更新

查看 matlab 的全部技能

报告此技能的问题