# Randomized question app

**URL:** <https://community.thunkable.com/t/randomized-question-app/1040658>\
**Category:** Questions about Thunkable X\
**Created:** [December 20, 2020, 10:23pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658 "2020-12-20T22:23:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 10:23pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/1 "2020-12-20T22:23:37Z")

</div>

Hey, i have been looking arround for a while trying to figure out how to make a randomized questions app where the same question does not aqcurre multiple times after each other but only ones. I get to the point where i have mange to make a list that are randomized when the button is pushed, but the same question pops up multiple times in short amount of time. This is my layout, thanks for eny help!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c6eec9fed78616be2c69dae8eff4a87682b8b9b0.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 20, 2020, 10:31pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/2 "2020-12-20T22:31:04Z")

</div>

@martint.sakshaugq,

You might try something like this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/9/099a8485ae09ffd03c828323c101b255815d4396.png)

Beware, last I checked there were some problems with the Length Of List block. It was returning the number of CHARACTERS, not the number of items. If that is still the case, you may need to use this function in place of the built-in length of list block  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/3019dd80580127a1ed9099a7cd9ebc0eeb90712d.png)

---

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 10:32pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/3 "2020-12-20T22:32:58Z")

</div>

Thank you so much, i am going to try this right now. One quick question, how many question do u think both of the lines can and will handle?

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 20, 2020, 10:37pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/4 "2020-12-20T22:37:00Z")

</div>

I’ve had lists with tens of thousands of items, so it can handle a lot.

---

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 10:41pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/5 "2020-12-20T22:41:28Z")

</div>

Thx, but at the first line of the code where the part: Set listOfObjects are, how do i sync up the listOfObjects and the other List with A B C togheter?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 20, 2020, 10:42pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/6 "2020-12-20T22:42:52Z")

</div>

Check this out! One of my first ThunkableX projects!

[https://x.thunkable.com/copy/d76d55325c9598e7cceff05db2c40aeb](https://x.thunkable.com/copy/d76d55325c9598e7cceff05db2c40aeb)

---

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 10:48pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/7 "2020-12-20T22:48:23Z")

</div>

Like do this work?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dc4e4c43990cc921463715b7a6d53c261aede30f.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 20, 2020, 10:53pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/8 "2020-12-20T22:53:20Z")

</div>

Whoops I made a mistake. The block that defines the list should not be in the button event. Otherwise it will work until the list is empty. When the list is empty, it will cause an error. You will need to add logic to check to make sure the list isn’t empty.

Happy Thunking!

---

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 10:56pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/9 "2020-12-20T22:56:10Z")

</div>

Do you want to help me with showing me how? i am pretty new to this stuff and are quit unsure how to do it ☹

---

<div class="post-metadata">

**Author:** ![martint.sakshaugq](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@martint.sakshaugq](https://community.thunkable.com/u/martint.sakshaugq)\
**Post date:** [December 20, 2020, 11:09pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/10 "2020-12-20T23:09:37Z")

</div>

Will this work?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/1/f1f96f29ebf1fa500498d0c1868830b6e4c1aa9a.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 21, 2020, 3:58am UTC](https://community.thunkable.com/t/randomized-question-app/1040658/11 "2020-12-21T03:58:08Z")

</div>

Should work! Did you try it?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:19pm UTC](https://community.thunkable.com/t/randomized-question-app/1040658/12 "2024-11-08T12:19:36Z")

</div>


