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. The class is responsible for what instance variables the instance has - but not the _ of those variables.






2. You use _ to implement the view






3. Reducing details to focus on the core concepts






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






5. Defining variables - three parts...






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






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






8. UIImageView is used to...






9. When do you take ownership?...






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






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






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






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






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






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






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






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






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






19. A view represents a _ area






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






21. A view is a subclass of _






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






23. All objects are accessed using...






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






25. Primitives and C Structures...






26. Asking a class or object to execute a method






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






28. NSSet...






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






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






31. Delegation is an object oriented approach to






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






33. Why properties?






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






35. NSDate - class...






36. Classes describe two things...






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






38. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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


40. Files Owner...






41. Also if you send the NSObject the _ message - you own that object.






42. When do we need to release our outlets?


43. Hold data and know nothing about the user interface






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






45. Any individual object belonging to any class...






46. NSArray - class...






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






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






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






50. super - is used...