Skip to main content
Swift MCQ Test

Swift MCQ test &
quiz online.

Swift is Apple's language for iOS and macOS. Reference-counting behaviour and value semantics drive most of its gotchas. 549 Swift questions are live, each with the code on the page. Read any of them free; sign in to attempt one and see the explanation.

549
Swift questions
60
Easy
245
Medium
244
Hard
why this works

Built for Swift mastery, not memorisation.

Every question is hand-checked, every answer comes with an explanation, and your progress builds into a clear picture of where you stand.

The snippet is on the page

Every Swift question shows its code before you answer, so you are reading real Swift, not a description of it.

A written explanation, always

Once you attempt a question you get the reasoning, not just a tick. That matters most on Swift, where retain cycles and capture lists, struct versus class copying, optionals and forced unwraps, protocol witness dispatch, and actor isolation in structured concurrency.

Your weak topics, named

Progress is tracked per topic across the 51 Swift topics, so revision points at the gaps instead of the whole list.

what's covered

Every Swift concept,
tested honestly.

From fundamentals to interview-grade edge cases across 24 topic areas with progressive difficulty, so you find your gaps before an interviewer does.

weak side tables
associated types
actors and actor isolation
result builders
existential containers
retain cycles and capture lists
escaping vs non-escaping closures
generics and constraints
structured concurrency task trees
protocol-oriented programming
property wrappers
value witness tables
phantom types
unsafeBitCast and pointers
custom operators
weak vs unowned mechanics
ARC internals retain release
copy-on-write internals
protocol witness tables
ownership borrowing consuming
custom error types
Sendable and data-race safety
weak self in closures
opaque return types

Ready to test your Swift chops?

Read any question and its code for free. A free account unlocks answering, the explanations and your score, so you walk away with a clearer picture of what to study next.

faq

Things people ask.

How many Swift MCQs are on Journey Uncommon?

549 Swift questions right now: 60 easy, 245 medium and 244 hard. That number is read straight from the question table when this page is built, so it is never a rounded marketing figure.

Do I need an account to read the Swift questions?

No. Every Swift question, including its code snippet, its difficulty and its topic, is readable without signing in. You need a free account only to submit an answer, see which option is correct, and read the worked explanation. We keep it that way so the platform stays honest about what you actually got right.

What do Swift interviewers actually test?

Retain cycles and capture lists, struct versus class copying, optionals and forced unwraps, protocol witness dispatch, and actor isolation in structured concurrency.

Which Swift topics are covered?

51 distinct topics are tagged on the Swift questions, including weak side tables, associated types, actors and actor isolation, result builders, existential containers, retain cycles and capture lists. The topic labels come from the questions themselves, so the list matches what you will actually be asked.

Is Swift practice free?

Yes. Reading is free and unlimited. A free account unlocks answering, explanations and progress tracking. Pro (₹199 per month) adds AI explanations and AI-graded guesstimates on top; it is not needed to practise Swift MCQs.

Where is Swift used in real jobs?

iOS, iPadOS, macOS, watchOS engineering, and server-side Swift at a handful of companies.

What a Swift question here actually looks like

These are 12 of the 549 Swift questions in the library, pulled live from the question table. The snippet, the difficulty and the topic are all here. The answer options and the explanation are not. Those need a free account.

Retain cycles and capture lists, struct versus class copying, optionals and forced unwraps, protocol witness dispatch, and actor isolation in structured concurrency.

Sample Swift MCQs

Sign in to answer

Everything above is free to read. Answering needs a free account.

We keep the correct answer, the explanation and the scoring behind sign-in so the platform stays honest, which is why the correct option and the worked explanation for every Swift question stay behind a free account. Signing in is free and takes a few seconds.

Where Swift shows up

iOS, iPadOS, macOS, watchOS engineering, and server-side Swift at a handful of companies.