Grading the students performance.
显示 更早的评论
Given the correct key in the form of an array correct_key='.........'; write a program to evaluate the grade of a student from the answer key. use -1 if answer is wrong, 10 if answer is correct and 0 if no answer.
采纳的回答
更多回答(1 个)
RITTIK KUMAR GHOSH
2014-11-14
0 个投票
4 个评论
MA
2014-11-14
i run program for your case and get the below result:
answer= c
answer= o
answer= w
answer= c
answer= c
grade
s =
29
RITTIK KUMAR GHOSH
2014-11-14
RITTIK KUMAR GHOSH
2014-11-14
RITTIK KUMAR GHOSH
2014-11-15
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!