Chapter quiz · Vue Foundations

Test what you learned.

8 questions on Vue Foundations. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Vue Foundations — Chapter Quiz

Eight questions on what Vue is, SFCs, reactivity, computed, and the Composition API.

0/ 9
  1. Question 1
    1

    What is a Vue Single-File Component (SFC)?

  2. Question 2
    2

    Which interpolation syntax renders a JS expression in a Vue template?

  3. Question 3
    3

    When should you choose ref over reactive?

  4. Question 4
    4

    What does computed(() => count.value * 2) return?

  5. Question 5
    5

    In <script setup>, top-level bindings are automatically exposed to the template.

  6. Question 6
    6

    watch(source, cb) fires cb when:

  7. Question 7
    7

    The modern Vue 3 API style that uses setup() / <script setup> is called the ___ API.

  8. Question 8
    8

    Which of these are valid ways to declare reactive state in Vue 3?

    Select all that apply.

Pick an answer — instant feedback as you go.