Test your basic knowledge |

iOS 5 App Development Objective C

Subjects : it-skills, apple
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Ready-made instances...






2. In Cocoa Touch - the table view asks another object _ what it should display...






3. The designated initializer calls the _ designated initializer....


4. Reference Counting...






5. The only reason to temporarily own an object - is...






6. A message is always contained in square brackets - and has three parts






7. What happens when the last owner calls release?


8. When an object is added to a NSMutableArray - that object is sent the message to retain;...






9. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...


10. When do you take ownership?...






11. Any individual object belonging to any class...






12. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






13. @property declares - and _ implements the setter and getter...






14. NSArray - class...






15. @property - is using methods...






16. If a break statement is executed from within a set of nested loops...






17. Categories are an Objective C way to add _ to an existing class without subclassing






18. UITableViewController is a subclass of...






19. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






20. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






21. To load a Xib file manually - you use _






22. id is a...






23. Instance Variables by default are called @protected meaning...






24. Typically the designated initializer has parameters for the most important and frequently used _ of an object






25. In any application with UINavigationController - the navigation controller...






26. A UITableView usually needs three different pieces...






27. Also if you send the NSObject the _ message - you own that object.






28. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






29. When an NSMutableArray is deallocated - it sends...






30. A view is an...






31. A responder is responsible for...






32. Number one use of protocols in iOS...






33. A view represents a _ area






34. Whenever a UINavigationController is about to swap views - it sends out two messages






35. You use _ to implement the view






36. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






37. We can use dot notation to reference...


38. The integer prefix is...






39. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






40. NSValue - class...






41. If the view has no subviews - create it programmatically; if it has subviews






42. Center and frame are used to _ your view






43. Files Owner...






44. An instance is a device for maintaining state. It's a box for _ of data.






45. After accessors have been defined in the header file...






46. Object Oriented based analogue to a function is called a...






47. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






48. NSString *s = @'Hello - World'; is an example of...






49. Class methods do not operate on an _ or have any access to _ variables....






50. Core foundation classes are prefixed with _ and suffixed with _