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. UIImageView is used to...






2. Why properties?






3. A view is an...






4. NSArray - important methods...






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






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






7. A responder is responsible for...






8. A _ handles touch events.






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






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






11. id is a...






12. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






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






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






15. Core foundation classes are prefixed with _ and suffixed with _






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






17. What does autorelease mean?






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






19. NSValue - class...






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






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






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






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






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






25. Property List...






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






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






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






29. NSDate - class...






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






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






32. The designated initializer calls the _ designated initializer....






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






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






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






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






37. NSSet...






38. Asking a class or object to execute a method






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






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






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






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






43. Name of the method to be executed






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






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






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






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






48. Classes describe two things...






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






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