# Create a quiz

## A quiz gives people a fun, interactive experience. For teachers, it’s a great learning tool for students that enhances the classroom experience. And for businesses, it’s perfect for generating more leads.

But what if…

- your respondents knew their quiz results when they reached the end of your typeform?
- they could immediately see their “personality type” after answering a few questions about themselves?
- as a business, you could use quizzes to screen potential customers and send them to a customized Thank You screen with a special offer?

Using Logic Jump, Calculator (and a bit of patience) you can make this happen! Check out these examples below or get some inspiration from our predesigned quiz templates.

### EXAMPLE 1. Level “Let’s Get It Started”

Let’s not scare you (yet) and start with a simple example. Imagine you want your respondents to find out what they are: Introvert? Extrovert? Or maybe ambivert…

Give it a try!

Your typeform would look like this:

**Question 1: “It’s Saturday night and raining. What are you thinking?”**

- Option A: “Let’s go out. Spending the night inside would be an outrage!” (extrovert)
- Option B: “Rain? What a perfect excuse to cancel all plans & drink tea at home!” (introvert)

**Question 2: “You are at a coffee shop. The only available seat is in front of a stranger.”**

- Option A: “That’s okay, he seems interesting. I’ll ask him what he’s reading.” (extrovert)
- Option B: “I’ll just subtly leave my cup on the table and abandon it, forever.” (introvert)

You’ll have three customized Thank You screens:

- Thank You screen (results page) A: “You are an extrovert.”
- Thank You screen (results page) B: “You are an introvert.”
- Thank You screen (results page) C: “You are an ambivert.”

Now, if all of your questions have the same value, you will need to add Logic Jumps to the last question (in our case Question 2). It will look like this:

- Logic Jump 1: If respondent answered: A to Q1 AND A to Q2, jump to Thank you screen A “You are an
**extrovert**.” - Logic Jump 2: If respondent answered: B to Q1 AND B to Q2, jump to Thank you screen B “You are an
**introvert**.” - In ALL other cases jump to Thank you screen C “You are an
**ambivert**.”

Here is a screenshot of the Logic set:

### EXAMPLE 2. Level “You can do this!”

Let’s step it up a notch. Imagine you want to ask your respondents 7 Yes/No questions to see if they would be interested in your brand. If they reply mostly Yes to your questions, you would like to send them more information. But if they reply mostly No – never bother them again.

Look at this example:

Here’s how to do this with Typeform. Write your 7 Yes/No questions. Don’t forget to mark all of your questions as “Required”! Create 2 different Thank You screens as well. Now let’s do this!

You want your Calculator to track your respondent’s Yes and No answers and give you the number at the end. This would tell you EXACTLY how many Yes answers you had (and how many No answers as well).

Set up your Calculator to add +1 to your score each time the respondent chooses Yes. And since we want to add 0 (zero) each time the respondent chooses No, we can simply leave it at that. See below for details:

Now time for a practice round:

What does a Calculator score of 7 mean?

*The respondent chose Yes 7 times. (hoooraaay)*

What does a Calculator score of 5 mean?

*The respondent chose Yes 5 times. (still hoooraaay)*

What does a Calculator score of 2 mean?

*The respondent chose Yes 2 times. (booooooo)*

Now time to set up Logic Jumps depending on the Calculator Score. Here’s what you want to accomplish: If respondents reply mostly Yes to your questions—which is at least 4 Yes answers—you’ll want them to see one Thank You screen and send them more information. However, if your respondents choose at least 4 No answers (which is 3 Yes responses or less), you’ll want them to see a different Thank You screen.

- Thank You screen A: “Thanks so much for your time, dear customer! We hope to see you very soon :)”
- Thank You screen B: “You know where we are in case you change your mind! We will be here waiting…”

Here, you’ll need to add Logic Jumps to the last Yes/No question. Here’s how you do this:

The same idea works when you want to ask 4 Yes/No questions, or 23, or any other number you need!

### EXAMPLE 3. Level “Master”

Now for the advanced level. Suppose you’re trying to build a quiz using 4 multiple choice questions with 4 answers: A, B, C, D. You’ll want to set up your typeform so that:

- if the respondent answers mostly “A”, he goes to Thank You screen A
- if the respondent answers mostly “B”, he goes to Thank You screen B
- if the respondent answers mostly “C”, he goes to Thank You screen C
- if the respondent answers mostly “D”, he goes to Thank You screen D

Give it a try!

For that to work, you’ll need to use your Calculator AND Logic Jumps skills. Start with creating your 4 Thank You screens. It can look anything like:

- Thank You screen A: “You chose mostly A”
- Thank You screen B: “You chose mostly B”
- Thank You screen C: “You chose mostly C”
- Thank You screen D: “You chose mostly D”

You’ll want your Calculator to store all your respondents’ A, B, C, and D answers separately. That way, you can track them separately as well. How?

For each question, set up the calculator function so that:

- it adds +1 each time an “A” answer has been chosen
- it adds +10 each time a “B” answer has been chosen
- it adds +100 each time a “C” answer has been chosen
- it adds +1000 each time a “D” answer has been chosen

Then “Units” keep track of A answers, “Tens” keep track of B answers, “Hundreds” keep track of C Answers, and “Thousands” keep track of D answers. In other words, imagine, that **the final score will be a 4 digit number**. You can tell how many times A, B, C and D were selected just by taking a glimpse at the total score:

Practice Round:

What does a Calculator score of **2453** mean?

*Let’s read the score from the last digit to the first one: the respondent chose…*

**3**times “A”,**5**times “B”,**4**times “C”,*and***2**times “D”.

What does a Calculator score of **164** mean (using 4 digits: **0164**)?

*Let’s read the score from the last digit to the first one: the respondent chose…*

**4**times “A”,**6**times “B”,**1**time “C”,*and has not chosen “D” at all.*

See below for details using our example typeform:

Now back to our example. Let’s take a closer look at what happens if the respondent mostly answers “A”. Note that the Calculator function will assign:

- 4 if answer “A” has been chosen 4 times
- 13, or 103, or 1003 if answer “A” has been chosen 3 times
- 1102, 1012, or 112 if answer “A” has been chosen 2 times and none of the other answers have been chosen twice (this way you’re ruling out situations in which the user has picked “A” twice and “D” twice, where neither “A” nor “D” constitute the majority of the answers)

Here’s how you set up Logic Jumps:

What happens if mostly answer “B” is chosen by your respondent? The Calculator function will assign:

- 40 if answer “B” has been chosen 4 times
- 31, or 130, or 1030 if answer “B” has been chosen 3 times
- 1120, 1021, or 121 if answer “B” has been chosen 2 times and none of the other answers has been chosen twice (this way you’re ruling out situations in which the user has picked “B” twice and “D” twice, where neither “B” nor “D” constitute the majority of the answers)

Here’s how you set up the Logic Jumps:

What happens if mostly answer “C” is chosen by your respondent? The Calculator function will assign:

- 400 if answer “C” has been chosen 4 times
- 301 or 310 or 1300 if answer “C” has been chosen 3 times
- 1201, 1210, or 211 if answer “C” has been chosen 2 times and none of the other answers has been chosen twice (this way you’re ruling out situations in which the user has picked “C” twice and “D” twice, where neither “C” nor “D” constitute the majority of the answers)

Here’s how you set up the Logic Jumps:

What happens if mostly answer “D” is chosen by your respondent? The Calculator function will assign:

- 4000 if answer “D” has been chosen 4 times
- 3001, or 3010, or 3100 if answer “D” has been chosen 3 times
- 2011, 2101, or 2110 if answer “D” has been chosen 2 times and none of the other answers has been chosen twice (this way you’re ruling out situations in which the user has picked “D” twice and “B” twice, where neither “D” nor “B” constitute the majority of the answers)

Here’s how you set up the Logic Jumps:

Using our idea, we were able to find all the Score values necessary to build our Logic Jump and have respondents “jump” to different Thank You screens depending on their answers.