1. What is ARC ? Junior A. the bracketed declaration in a closure that specifies weak or unowned handling of captured references B. the system that automatically frees a class instance once no strong references to it remain C. a non-owning pointer that becomes nil automatically when its target is deallocated D. the default ownership that keeps the referenced instance alive while the pointer exists Reveal the answer + AI explanation — free account
2. Which term means: "the system that automatically frees a class instance once no strong references to it remain"? Junior A. Strong reference B. ARC C. Retain cycle D. weak reference Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. ARC — the bracketed declaration in a closure that specifies weak or unowned handling of captured references B. ARC — the system that automatically frees a class instance once no strong references to it remain C. ARC — the default ownership that keeps the referenced instance alive while the pointer exists D. ARC — a situation where two objects hold each other strongly so neither is ever freed Reveal the answer + AI explanation — free account
4. What is Strong reference ? Mid A. a non-owning pointer that becomes nil automatically when its target is deallocated B. the default ownership that keeps the referenced instance alive while the pointer exists C. a situation where two objects hold each other strongly so neither is ever freed D. the bracketed declaration in a closure that specifies weak or unowned handling of captured references Reveal the answer + AI explanation — free account
5. Which term means: "the default ownership that keeps the referenced instance alive while the pointer exists"? Mid A. Strong reference B. Retain cycle C. Capture list D. ARC Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. Strong reference — the default ownership that keeps the referenced instance alive while the pointer exists B. Strong reference — a situation where two objects hold each other strongly so neither is ever freed C. Strong reference — the system that automatically frees a class instance once no strong references to it remain D. Strong reference — the bracketed declaration in a closure that specifies weak or unowned handling of captured references Reveal the answer + AI explanation — free account
7. What is weak reference ? Mid A. a situation where two objects hold each other strongly so neither is ever freed B. a non-owning pointer that becomes nil automatically when its target is deallocated C. the default ownership that keeps the referenced instance alive while the pointer exists D. the system that automatically frees a class instance once no strong references to it remain Reveal the answer + AI explanation — free account
8. Which term means: "a non-owning pointer that becomes nil automatically when its target is deallocated"? Mid A. Strong reference B. Retain cycle C. ARC D. weak reference Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. weak reference — the system that automatically frees a class instance once no strong references to it remain B. weak reference — a situation where two objects hold each other strongly so neither is ever freed C. weak reference — a non-owning pointer that becomes nil automatically when its target is deallocated D. weak reference — the default ownership that keeps the referenced instance alive while the pointer exists Reveal the answer + AI explanation — free account
10. What is Retain cycle ? Senior A. the bracketed declaration in a closure that specifies weak or unowned handling of captured references B. the system that automatically frees a class instance once no strong references to it remain C. a situation where two objects hold each other strongly so neither is ever freed D. the default ownership that keeps the referenced instance alive while the pointer exists Reveal the answer + AI explanation — free account
11. Which term means: "a situation where two objects hold each other strongly so neither is ever freed"? Senior A. Retain cycle B. Strong reference C. ARC D. weak reference Reveal the answer + AI explanation — free account
12. Which statement is correct? Senior A. Retain cycle — the bracketed declaration in a closure that specifies weak or unowned handling of captured references B. Retain cycle — a situation where two objects hold each other strongly so neither is ever freed C. Retain cycle — the default ownership that keeps the referenced instance alive while the pointer exists D. Retain cycle — a non-owning pointer that becomes nil automatically when its target is deallocated Reveal the answer + AI explanation — free account
13. What is Capture list ? Senior A. the system that automatically frees a class instance once no strong references to it remain B. the default ownership that keeps the referenced instance alive while the pointer exists C. the bracketed declaration in a closure that specifies weak or unowned handling of captured references D. a non-owning pointer that becomes nil automatically when its target is deallocated Reveal the answer + AI explanation — free account
14. Which term means: "the bracketed declaration in a closure that specifies weak or unowned handling of captured references"? Senior A. Retain cycle B. Capture list C. Strong reference D. weak reference Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. Capture list — the system that automatically frees a class instance once no strong references to it remain B. Capture list — a situation where two objects hold each other strongly so neither is ever freed C. Capture list — the bracketed declaration in a closure that specifies weak or unowned handling of captured references D. Capture list — a non-owning pointer that becomes nil automatically when its target is deallocated Reveal the answer + AI explanation — free account