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. A function in the objective c library that simply displays or logs it's argument






2. NSDictionary...






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






4. @property - is using methods...






5. A _ handles touch events.






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






7. How do I implement my drawRect?






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






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






10. class methods...






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






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






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






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






15. When making a tableView always...






16. Files Owner...






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






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






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






20. When do we need to release our outlets?


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






22. What happens when the last owner calls release?


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






24. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






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






26. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






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






29. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






31. UIView - designated initializer...






32. You use _ to implement the view






33. Class methods typically either create






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






35. Reducing details to focus on the core concepts






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






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






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






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






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






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






42. Reference Counting...






43. A responder is responsible for...






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






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






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. A message is always contained in square brackets - and has three parts






48. Defining variables - three parts...






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






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