15 Properties questions from the Swift bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
B.a constant or variable that holds a value as part of an instance
C.a member with no backing storage that derives its result on each access via a getter
D.observers that run code immediately before and after a stored member's value changes
Answer + AI explanation with Pro
2. Which term means: "a constant or variable that holds a value as part of an instance"?
Junior
A.Stored property
B.lazy
C.Property wrapper
D.Computed property
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Stored property — a constant or variable that holds a value as part of an instance
B.Stored property — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
C.Stored property — observers that run code immediately before and after a stored member's value changes
D.Stored property — a member with no backing storage that derives its result on each access via a getter
Answer + AI explanation with Pro
4. What is Computed property?
Junior
A.a constant or variable that holds a value as part of an instance
B.a modifier delaying a stored member's initialization until it is first read
C.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
D.a member with no backing storage that derives its result on each access via a getter
Answer + AI explanation with Pro
5. Which term means: "a member with no backing storage that derives its result on each access via a getter"?
Junior
A.Stored property
B.Computed property
C.lazy
D.willSet and didSet
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Computed property — a constant or variable that holds a value as part of an instance
B.Computed property — a member with no backing storage that derives its result on each access via a getter
C.Computed property — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
D.Computed property — observers that run code immediately before and after a stored member's value changes
Answer + AI explanation with Pro
7. What is lazy?
Mid
A.a modifier delaying a stored member's initialization until it is first read
B.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
C.a constant or variable that holds a value as part of an instance
D.observers that run code immediately before and after a stored member's value changes
Answer + AI explanation with Pro
8. Which term means: "a modifier delaying a stored member's initialization until it is first read"?
Mid
A.Computed property
B.lazy
C.Property wrapper
D.Stored property
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.lazy — a constant or variable that holds a value as part of an instance
B.lazy — observers that run code immediately before and after a stored member's value changes
C.lazy — a modifier delaying a stored member's initialization until it is first read
D.lazy — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
Answer + AI explanation with Pro
10. What is willSet and didSet?
Mid
A.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
B.a modifier delaying a stored member's initialization until it is first read
C.a member with no backing storage that derives its result on each access via a getter
D.observers that run code immediately before and after a stored member's value changes
Answer + AI explanation with Pro
11. Which term means: "observers that run code immediately before and after a stored member's value changes"?
Mid
A.Computed property
B.willSet and didSet
C.lazy
D.Property wrapper
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.willSet and didSet — a member with no backing storage that derives its result on each access via a getter
B.willSet and didSet — a modifier delaying a stored member's initialization until it is first read
C.willSet and didSet — observers that run code immediately before and after a stored member's value changes
D.willSet and didSet — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
Answer + AI explanation with Pro
13. What is Property wrapper?
Senior
A.observers that run code immediately before and after a stored member's value changes
B.a reusable type that adds behavior to a member through an attribute prefixed with an at sign
C.a member with no backing storage that derives its result on each access via a getter
D.a constant or variable that holds a value as part of an instance
Answer + AI explanation with Pro
14. Which term means: "a reusable type that adds behavior to a member through an attribute prefixed with an at sign"?
Senior
A.Property wrapper
B.Computed property
C.Stored property
D.lazy
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Property wrapper — a member with no backing storage that derives its result on each access via a getter
B.Property wrapper — a reusable type that adds behavior to a member through an attribute prefixed with an at sign
C.Property wrapper — observers that run code immediately before and after a stored member's value changes
D.Property wrapper — a constant or variable that holds a value as part of an instance
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Properties question come with Pro.