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. Proceed through the loop - jump back to the top and check again






2. Asking a class or object to execute a method






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






4. @property declares - and _ implements the setter and getter...






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






6. Reference Counting...






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






8. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






9. Execution of the break statement...






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






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






12. Reducing details to focus on the core concepts






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






14. Three ways instances are created...






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






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






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






18. id is a...






19. UIView - designated initializer...






20. Delegation is an object oriented approach to






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






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






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






24. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






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






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






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






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






30. A _ handles touch events.






31. Center and frame are used to _ your view






32. Why properties?






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






34. Hold data and know nothing about the user interface






35. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






36. A UITableView usually needs three different pieces...






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






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






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






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






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






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






43. Class methods typically either create






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






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






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






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






48. When making a tableView always...






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






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