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






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


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






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






5. Only exists within the statement block there defined - outside of the block is fine






6. The integer prefix is...






7. NSValue - class...






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






9. Files Owner...






10. Why properties?






11. When do you take ownership?...






12. Hold data and know nothing about the user interface






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






14. Execution of the break statement...






15. Also if you send the NSObject the _ message - you own that object.






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






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






18. NSDictionary...






19. id is a...






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






21. Name of the method to be executed






22. NSDate - class...






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






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






25. A responder is responsible for...






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






27. Class methods typically either create






28. A _ handles touch events.






29. At the top of any implementation file...






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






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






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






33. The designated initializer calls the _ designated initializer....


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






35. A message is always contained in square brackets - and has three parts






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






37. NSArray - important methods...






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






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






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






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






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






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






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






45. A function in the objective c library that simply displays or logs it's argument






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






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






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






49. UITableViewController is a subclass of...






50. Also - because arrays only hold a pointer to an object...