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 arrays can hold only...






2. Asking a class or object to execute a method






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






4. A callback is a function that is supplied in advance of an event - and...






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






6. Views have three properties related to their location and size: @property _ _;






7. Ready-made instances...






8. A pointer to the object being asked to execute a method






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






10. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






11. Class methods typically either create






12. Use of class methods - there are three...






13. Property List...






14. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






15. A view is a subclass of _






16. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






17. Execution of the break statement...






18. NSArray - important methods...






19. When an object is removed from an NSMutableArray - that object is sent the message release;...






20. At the top of any implementation file...






21. NSArray - class...






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






23. What does autorelease mean?






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






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






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






27. In a class method you cannot access...






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






29. NSNumber - class...






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






31. Defining variables - three parts...






32. NSDictionary...






33. NSDate - class...






34. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






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






37. A view represents a _ area






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






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






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






41. If you have extra work you want to do on the view...






42. A method in a _ is required unless its preceded by an @optional.






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






44. if you implemented both the setter and getter - the @synthesize method...






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






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






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






48. Reference Counting...






49. The class is responsible for what instance variables the instance has - but not the _ of those variables.






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