Develop Coding Problems
Create coding problems and assessment tests for use in MATLAB® Grader™ courses or in a Learning Management System (LMS).
You can add coding problems to a collection or a course. When you are in the collection or course, navigate into the group or assignment, respectively, and then click ADD PROBLEM.
Blank Problem: Author a new coding problem. You can choose either a function-based or script-based approach.
If you choose Blank Problem and then change your mind, click Choose Different Problem to be returned to the options page.
MathWorks® Problem Catalog: Copy sample coding problems authored by MathWorks staff and adapt them for your course or collection. These coding problems illustrate good practices for writing coding problems and creating assessments.
LMS Courses: If you have LMS courses integrated with MATLAB Grader, you can add more coding problems to those courses.
MATLAB Grader Courses and Collections: Copy existing coding problems currently in your list of courses and collections and modify as necessary. These can be coding problems you have coded yourself, copied from existing coding problems, or been given access to by another instructor.
Functions
assessVariableEqual | Perform multiple checks for variable presence and equality |
assessFunctionPresence | Check for presence of specific functions or keywords in the submission |
assessFunctionAbsence | Check that certain functions or keywords are not present in the learner solution |
Topics
Coding Problems
- Create Script-Based Problems
Author a problem for learners to solve with a script-based solution. - Create Function-Based Problems
Author a problem for learners to solve with a function-based solution. - View Problem History
View previous versions of a problem.
Assessments
- Test Learner Solutions
Write assessment tests that check for various common errors or conditions.