All quizzes
Free quiz · 24 questions in the bank

Swift quiz

Test your Swift knowledge with a free interactive quiz — 24 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

How does Swift do string interpolation?

In this round
  1. How does Swift do string interpolation?
  2. What is type inference in Swift?
  3. What is the difference between `let` and `var` in Swift?
  4. What is a closure in Swift?
  5. What is an optional in Swift?
  6. What is a protocol in Swift?
  7. What is the guard statement used for?
  8. What collection type is an ordered list in Swift?
  9. Is Swift statically or dynamically typed?
  10. What does the `func` keyword define?
  11. What framework is used for building modern declarative UIs in Swift?
  12. What does `if let x = optional { }` do?
Gaps to close?
Read the curated Swift notes — core concepts, patterns, interview prep.
Swift notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms