# Checking multiple answers on the same screens

**URL:** <https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995>\
**Category:** Questions\
**Created:** [March 25, 2021, 2:46pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995 "2021-03-25T14:46:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmoore](https://avatars.discourse-cdn.com/v4/letter/v/ecb155/32.png) [@vmoore](https://cl.desmos.com/u/vmoore)\
**Post date:** [March 25, 2021, 2:46pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/1 "2021-03-25T14:46:51Z")

</div>

How do I code so that i can put two questions on the same screen? I have it checking for just one but cant figure out what needs to happen so I can ask a second question.

Thanks!

---

<div class="post-metadata">

**Author:** ![SteinSchreiber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/steinschreiber/32/2267_2.png) [@SteinSchreiber](https://cl.desmos.com/u/SteinSchreiber)\
**Post date:** [March 25, 2021, 3:14pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/2 "2021-03-25T15:14:05Z")

</div>

Not sure what your activity is, but here is an example with 2 multiple choice questions. Note if you have any explain answer it will show as a dot. Meaning the teacher is supposed to look at the student’s explanation, but they have done nothing incorrectly.

https://teacher.desmos.com/activitybuilder/custom/605ca7a6a6e5ea0b9e6ed163

---

<div class="post-metadata">

**Author:** ![vmoore](https://avatars.discourse-cdn.com/v4/letter/v/ecb155/32.png) [@vmoore](https://cl.desmos.com/u/vmoore)\
**Post date:** [March 25, 2021, 3:16pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/3 "2021-03-25T15:16:14Z")

</div>

> [@SteinSchreiber](#):
>
> [Two questions on same screen • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/605ca7a6a6e5ea0b9e6ed163)

I am looking for it to give them feedback like Your answer is correct and not MC.

---

<div class="post-metadata">

**Author:** ![Mr.Madeoy](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mr.Madeoy](https://cl.desmos.com/u/Mr.Madeoy)\
**Post date:** [March 25, 2021, 3:24pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/4 "2021-03-25T15:24:19Z")

</div>

[2 question 1 slide • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/605c883fb298d90d35232d66) This might work for you!

---

<div class="post-metadata">

**Author:** ![SteinSchreiber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/steinschreiber/32/2267_2.png) [@SteinSchreiber](https://cl.desmos.com/u/SteinSchreiber)\
**Post date:** [March 25, 2021, 3:43pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/5 "2021-03-25T15:43:55Z")

</div>

Try this one now.

> **[Two questions on same screen • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/605ca7a6a6e5ea0b9e6ed163)**
>
> by Stein Schreiber

---

<div class="post-metadata">

**Author:** ![SandiG](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sandig/32/1895_2.png) [@SandiG](https://cl.desmos.com/u/SandiG)\
**Post date:** [March 26, 2021, 4:44pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/6 "2021-03-26T16:44:54Z")

</div>

Here’s my version of 2 answer boxes (math input) with correctness check

> **[2 math inputs same screen + correctness check • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/605e0f383455bd0b7d716c70)**
>
> by Glenn Laursen

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [March 26, 2021, 4:48pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/7 "2021-03-26T16:48:38Z")

</div>

For the dashboard checkmark in @SteinSchreiber 's you need to add correct sinks to MC3 and MC4, respectively:

```auto
correct: cLeft=1

```

```auto
correct: cRight=1

```

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [March 26, 2021, 5:24pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/9 "2021-03-26T17:24:15Z")

</div>

I reworked your sample to get rid of a few components by using when-otherwise statements in the note for feedback, and changed the answer checking, so you don’t need to require students to order their answers. (Tip: you don’t need to use when-otherwise to output true-false, you can just put the condition)

> **[\[Copy of\] 2 math inputs same screen + correctness check • Activity Builder by...](https://teacher.desmos.com/activitybuilder/custom/605e107e9ee7960d0135e003)**
>
> by Daniel Grubbs

---

<div class="post-metadata">

**Author:** ![SandiG](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sandig/32/1895_2.png) [@SandiG](https://cl.desmos.com/u/SandiG)\
**Post date:** [March 26, 2021, 5:44pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/10 "2021-03-26T17:44:14Z")

</div>

```auto
#correct check
test1= value=ans1 and countNumberUsage(std,2)=3 
test2= value=ans2 and countNumberUsage(std,2)=3 
check= test1 or test2

```

Making them input their results in order was my being lazy and that’s how their hw is done on Khan Academy.

If I’m reading this right, it’s saying that `test1` or `test2` are `true` when `value` is either `ans1` or `ans2` and the right number of 2’s are present?

It’s more efficient but harder for my brain to parse I guess.

---

<div class="post-metadata">

**Author:** ![SteinSchreiber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/steinschreiber/32/2267_2.png) [@SteinSchreiber](https://cl.desmos.com/u/SteinSchreiber)\
**Post date:** [March 26, 2021, 6:07pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/11 "2021-03-26T18:07:47Z")

</div>

Thanks for catching this. I updated the activity.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [March 26, 2021, 6:11pm UTC](https://cl.desmos.com/t/checking-multiple-answers-on-the-same-screens/2995/12 "2021-03-26T18:11:37Z")

</div>

Yes @SandiG . So either answer works. Same in the second input, but it can’t be the same as the first input.

It’s the same as writing it this way, but since conditions output true or false anyway, you don’t need the when-otherwise:

```auto
test1= when value=ans1 and countNumberUsage(std,2)=3 true otherwise false 
test2= when value=ans2 and countNumberUsage(std,2)=3 true otherwise false 
check= test1 or test2

```
