Properties interview questions

15 real Properties questions from the Swift bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Stored property?

Junior
  1. A.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  2. B.a constant or variable that holds a value as part of an instance
  3. C.a member with no backing storage that derives its result on each access via a getter
  4. D.observers that run code immediately before and after a stored member's value changes
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Stored property — a constant or variable that holds a value as part of an instance
  2. B.Stored property — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  3. C.Stored property — observers that run code immediately before and after a stored member's value changes
  4. D.Stored property — a member with no backing storage that derives its result on each access via a getter
Reveal the answer + AI explanation — free account

4. What is Computed property?

Junior
  1. A.a constant or variable that holds a value as part of an instance
  2. B.a modifier delaying a stored member's initialization until it is first read
  3. C.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  4. D.a member with no backing storage that derives its result on each access via a getter
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Computed property — a constant or variable that holds a value as part of an instance
  2. B.Computed property — a member with no backing storage that derives its result on each access via a getter
  3. C.Computed property — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  4. D.Computed property — observers that run code immediately before and after a stored member's value changes
Reveal the answer + AI explanation — free account

7. What is lazy?

Mid
  1. A.a modifier delaying a stored member's initialization until it is first read
  2. B.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  3. C.a constant or variable that holds a value as part of an instance
  4. D.observers that run code immediately before and after a stored member's value changes
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.lazy — a constant or variable that holds a value as part of an instance
  2. B.lazy — observers that run code immediately before and after a stored member's value changes
  3. C.lazy — a modifier delaying a stored member's initialization until it is first read
  4. D.lazy — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
Reveal the answer + AI explanation — free account

10. What is willSet and didSet?

Mid
  1. A.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  2. B.a modifier delaying a stored member's initialization until it is first read
  3. C.a member with no backing storage that derives its result on each access via a getter
  4. D.observers that run code immediately before and after a stored member's value changes
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.willSet and didSet — a member with no backing storage that derives its result on each access via a getter
  2. B.willSet and didSet — a modifier delaying a stored member's initialization until it is first read
  3. C.willSet and didSet — observers that run code immediately before and after a stored member's value changes
  4. D.willSet and didSet — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
Reveal the answer + AI explanation — free account

13. What is Property wrapper?

Senior
  1. A.observers that run code immediately before and after a stored member's value changes
  2. B.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  3. C.a member with no backing storage that derives its result on each access via a getter
  4. D.a constant or variable that holds a value as part of an instance
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Property wrapper — a member with no backing storage that derives its result on each access via a getter
  2. B.Property wrapper — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
  3. C.Property wrapper — observers that run code immediately before and after a stored member's value changes
  4. D.Property wrapper — a constant or variable that holds a value as part of an instance
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Properties free