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. Delegation is an object oriented approach to






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






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






4. A responder is responsible for...






5. Three ways instances are created...






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






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






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






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






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






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






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






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






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






15. NSDictionary...






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






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






18. id is a...






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






20. Files Owner...






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






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






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






24. Ready-made instances...






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






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






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






28. A _ handles touch events.






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






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






31. NSDate - class...






32. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






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






35. A UITableViewController can fill all three roles of...






36. The integer prefix is...






37. UIImageView is used to...






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






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






41. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






43. Asking a class or object to execute a method






44. In the last line of an init method...






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






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






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






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






49. NSSet...






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