All quizzes
Free quiz · 42 questions in the bank

Objective-C quiz

Test your Objective-C knowledge with a free interactive quiz — 42 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is the difference between `NSArray` and `NSMutableArray`?

Questions in this quiz
  1. What is the difference between `NSArray` and `NSMutableArray`?
  2. What is a block in Objective-C?
  3. What is the correct syntax for calling a method on an object in Objective-C?
  4. What is the difference between `strong` and `weak` property attributes?
  5. What is `NSDictionary` used for?
  6. What is a "category" in Objective-C used for?
  7. What is the correct way to check if an object conforms to a protocol at runtime?
  8. What does `@property (nonatomic, strong) NSString *name;` declare?
  9. What is the purpose of `@interface` and `@end`?
  10. Which of these correctly declares a mutable copy of an NSString?
  11. What does `@synthesize` do (when it was still commonly written explicitly)?
  12. What happens if you forget to call `[super dealloc]` in manual reference counting (pre-ARC) code?
Gaps to close?
Read the curated Objective-C notes — core concepts, patterns, interview prep.
Objective-C notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web