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. Any other initializer a class has calls the _ designated initializer....






2. Why properties?






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






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






5. A view is an...






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






7. All objects are accessed using...






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






9. Hold data and know nothing about the user interface






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






11. Reference Counting...






12. When do we need to release our outlets?






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






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






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






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






17. Classes describe two things...






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






19. NSNumber - class...






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






21. How do I implement my drawRect?






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






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






24. NSDate - class...






25. Designated initializer makes sure that every...






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






27. Delegation is an object oriented approach to






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






29. When an NSMutableArray is deallocated - it sends...






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






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






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






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






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






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






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






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






38. Ready-made instances...






39. A responder is responsible for...






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






41. A _ handles touch events.






42. The integer prefix is...






43. Center and frame are used to _ your view






44. The designated initializer calls the _ designated initializer....






45. Three ways instances are created...






46. What does autorelease mean?






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






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






49. class methods...






50. Typically the designated initializer has parameters for the most important and frequently used _ of an object