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 a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






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






4. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






5. Why properties?






6. @property - is using methods...






7. The designated initializer calls the _ designated initializer....


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






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






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






11. UITableViewController is a subclass of...






12. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...


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






14. Reducing details to focus on the core concepts






15. Reference Counting...






16. Files Owner...






17. Property List...






18. id is a...






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






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






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






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






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






24. NSSet...






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






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






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






28. A view represents a _ area






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


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


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






32. NSValue - class...






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






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






35. Hold data and know nothing about the user interface






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






37. Ready-made instances...






38. A view is a subclass of _






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






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






41. Prefixing a character string with an @ symbol [specific - NSString class]...






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






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






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






45. How do I implement my drawRect?






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






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






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






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






50. Name of the method to be executed