CatalogHigher ed
GradeHigher edSubjectCTEToolOtherCostNot stated
Writing prompts that pass test cases
View the source on Association for Computing Machinery (ACM) (opens in a new tab)
· Association for Computing Machinery (ACM) · Watch 5:22–7:17 · Opens at 5:22
Thomas Price and Samiha Marwan ran supervised lessons at North Carolina State University where students described a small function's inputs, rules and expected outputs in plain language. The Promptly tool turned each prompt into code and ran it against test cases, and students used the results to diagnose failures and refine their descriptions.
- Who
- Thomas Price and Samiha Marwan, North Carolina State University
- Date
- Evidence
- Personal report
- Task types
- Problem solvingCoding
Try it safely
TipStart with small functions that have clear test cases.
Watch forStudents tweaking words at random instead of reading the failed tests.
View the source on Association for Computing Machinery (ACM) (opens in a new tab)
· Association for Computing Machinery (ACM) · Watch 5:22–7:17 · Opens at 5:22
Share this example
Have one that worked? Share it
Comments
Leave a comment