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. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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






4. Any other initializer a class has calls the _ designated initializer....


5. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






6. Three ways instances are created...






7. super - is used...






8. 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 _.






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






10. Asking a class or object to execute a method






11. UIView - designated initializer...






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






13. NSDate - class...






14. Class methods typically either create






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






16. A collection object - an ordered list of objects that can be accesed by an index






17. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






19. Each _ has a 'designated' initializer method....






20. Values to be supplied as the parameters to the method






21. id is a...






22. NSArray - important methods...






23. Never access a view controller's view in that...


24. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






25. UITableViewController is a subclass of...






26. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






27. NSString objects are usually sent _ rather than _...






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. Property List...






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


31. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






32. Defining variables - three parts...






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






34. What happens when the last owner calls release?


35. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






36. NSSet...






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






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






39. When making a tableView always...






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






41. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






42. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






44. Origin of a view's coordinate system is _ left






45. class methods...






46. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






47. 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.






48. UIImageView is used to...






49. Reducing details to focus on the core concepts






50. When do we need to release our outlets?