# Count Correct M/C Answers

**URL:** <https://cl.desmos.com/t/count-correct-m-c-answers/214>\
**Category:** Questions\
**Tags:** aggregate\
**Created:** [July 29, 2018, 5:52am UTC](https://cl.desmos.com/t/count-correct-m-c-answers/214 "2018-07-29T05:52:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![firetiger](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@firetiger](https://cl.desmos.com/u/firetiger)\
**Post date:** [July 29, 2018, 5:52am UTC](https://cl.desmos.com/t/count-correct-m-c-answers/214/1 "2018-07-29T05:52:17Z")

</div>

How would you count the number of correct multiple choice answers a student has? Say you had 10 M/C inputs across 10 screens. I would like to output that number on the 11th screen.

Then I would like to aggregate the entire classes’ correct answer total on the 12th screen to create a distribution of score frequencies. How can this be done?

---

<div class="post-metadata">

**Author:** ![rnhung](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/rnhung/32/96_2.png) [@rnhung](https://cl.desmos.com/u/rnhung)\
**Post date:** [July 31, 2018, 3:10am UTC](https://cl.desmos.com/t/count-correct-m-c-answers/214/2 "2018-07-31T03:10:29Z")

</div>

I’m not sure whether there is a more efficient way, but on the 11th screen you can have a graph component that defines 10 variables – 1 for each of the MC questions – 1 for a correct choice and 0 if incorrect. Then, you can find the sum of all of that within the graph and report it on a note.

On screen 12, you can use the aggregate function on the variable you defined as the total and store it as a numberList.

I have a sample here with 3 questions, and reporting as a box and whisker on slide 5: [Multiple Choice - Grading • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5b5fd04450493a31042c0d9f)
