Properties interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "a constant or variable that holds a value as part of an instance"?

Junior
  1. A.Stored property
  2. B.lazy
  3. C.Property wrapper
  4. D.Computed property

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.Stored property
  2. B.Computed property
  3. C.lazy
  4. D.willSet and didSet

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "a modifier delaying a stored member's initialization until it is first read"?

Mid
  1. A.Computed property
  2. B.lazy
  3. C.Property wrapper
  4. D.Stored property

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

11. Which term means: "observers that run code immediately before and after a stored member's value changes"?

Mid
  1. A.Computed property
  2. B.willSet and didSet
  3. C.lazy
  4. D.Property wrapper

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.Property wrapper
  2. B.Computed property
  3. C.Stored property
  4. D.lazy

Answer + AI explanation with Pro

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

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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers