All Svelte quizzes
Intermediate30 questions60 minutes

Svelte Intermediate Quiz

Explore stores, lifecycle, bindings, actions, transitions, and component communication

Start the quiz

Sample questions from this quiz

A preview of the style and depth. Try each one, then reveal the answer — or skip straight to the timed quiz.

1. What are Svelte stores?

  • State management
  • Data stores
  • Global state
  • Reactive values accessible across components
Show answer

Answer: Reactive values accessible across components. Stores provide reactive state outside components. writable, readable, derived. Import and subscribe. Auto-unsubscribe in components. Simple state management.

2. What is a writable store?

  • Mutable store
  • Write store
  • Changeable store
  • Store with set and update methods
Show answer

Answer: Store with set and update methods. writable(initialValue) creates store. set(newValue) replaces. update(fn) modifies. subscribe(callback) listens. Use $store for auto-subscribe. Most common store type.

3. What is a readable store?

  • Store that cannot be set from outside
  • Read-only store
  • Constant store
  • Immutable store
Show answer

Answer: Store that cannot be set from outside. readable(initialValue, start) creates read-only store. Value set internally. Use for time, location, external data. Subscribers can read, not write. Controlled updates.

Frequently asked questions

How many questions are in this Svelte quiz?+

30 questions, with a 60-minute time limit. Every question includes a written explanation of the correct answer.

Is this Svelte quiz free?+

Yes. Every quiz on CodexQuizz is free and needs no account. You only enter a name if you choose to post your score to the leaderboard.

What level is the intermediate quiz aimed at?+

Explore stores, lifecycle, bindings, actions, transitions, and component communication

Can I use this to prepare for a Svelte interview?+

Yes. The questions cover the topics that come up in Svelte technical screens, and the explanations are written so that a wrong answer still teaches you the underlying concept.

Ready to test your Svelte?

30 questions, 60 minutes. Free, no sign-up.

Start now