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






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






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






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






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






6. A command directed to an object is called an...






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






8. Files Owner...






9. Ready-made instances...






10. How do I implement my drawRect?






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






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






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






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






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






16. UIView - designated initializer...






17. UIViewController has several methods that get called at certain times...






18. In general - class methods tend to be factory methods - that is...






19. Property List...






20. Asking a class or object to execute a method






21. NSValue - class...






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






23. When making a tableView always...






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






25. Name of the method to be executed






26. super - is used...






27. UITableViewController is a subclass of...






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






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. A collection object - an ordered list of objects that can be accesed by an index






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






32. NSArray - important methods...






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






34. Class methods typically either create






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






36. NSDate - class...






37. Reference Counting...






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






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






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






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






42. Delegation is an object oriented approach to






43. Three ways instances are created...






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






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






46. initWithFrame: the designated initializer for UIView gives the view






47. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






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






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






50. You use _ to implement the view