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. UITableViewController is a subclass of...






2. Asking a class or object to execute a method






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






4. What does autorelease mean?






5. UIView - designated initializer...






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






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






8. id is a...






9. class methods...






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






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






12. Property List...






13. Ready-made instances...






14. In Objective C arrays can hold only...






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






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


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






18. In object oriented languages - we call methods that get and set instance variables


19. Designated initializer makes sure that every...






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






21. Class methods typically either create






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






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






24. super - is used...






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






26. Proceed through the loop - jump back to the top and check again






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


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






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






30. Each class picks one _ as it's designated initializer....






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






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






33. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






34. A view is an...






35. A _ handles touch events.






36. Name of the method to be executed






37. Prefixing a character string with an @ symbol [specific - NSString class]...






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






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






40. Defining variables - three parts...






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






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






43. Classes describe two things...






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


45. NSSet...






46. You use _ to implement the view






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






48. Just a floating point number - but we always use it for graphics.






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






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