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






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






3. You use _ to implement the view






4. Execution of the break statement...






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






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






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






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






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






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






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


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






13. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






15. Asking a class or object to execute a method






16. A command directed to an object is called an...






17. Delegation is an object oriented approach to






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






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






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. A method in a _ is required unless its preceded by an @optional.






22. Property List...






23. Reference Counting...






24. Hold data and know nothing about the user interface






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






26. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






27. Why properties?






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






29. NSDictionary...






30. super - is used...






31. NSDate - class...






32. NSString objects are usually sent _ rather than _...






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






34. Proceed through the loop - jump back to the top and check again






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






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






37. A view is an...






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






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






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






41. Any other initializer a class has calls the _ designated initializer....


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






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






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






45. Three ways instances are created...






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






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






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






49. Defining variables - three parts...






50. @property - is using methods...