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. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






2. id is a...






3. Why properties?






4. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






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






6. Execution of the break statement...






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






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






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






10. Designated initializer makes sure that every...






11. In any application with UINavigationController - the navigation controller...






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






13. Just a floating point number - but we always use it for graphics.






14. In object oriented languages - we call methods that get and set instance variables






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






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






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






18. Classes describe two things...






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






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






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






22. How do I implement my drawRect?






23. You use _ to implement the view






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






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






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






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






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






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






30. Files Owner...






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






32. NSArray - class...






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






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






35. Hold data and know nothing about the user interface






36. NSDate - class...






37. Reducing details to focus on the core concepts






38. A view is a subclass of _






39. Primitives and C Structures...






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






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






42. A view represents a _ area






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






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






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






46. NSArray - important methods...






47. NSValue - class...






48. A view is an...






49. The designated initializer calls the _ designated initializer....






50. C struct with a CGPoint origin and a CGSize size - in other words two c structs.