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. What does autorelease mean?






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






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






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






5. Why properties?






6. Designated initializer makes sure that every...






7. initWithFrame: the designated initializer for UIView gives the view






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






9. A _ handles touch events.






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






11. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






12. Class methods typically either create






13. NSNumber - class...






14. When do we need to release our outlets?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


15. NSDictionary...






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






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






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






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






20. Ready-made instances...






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






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






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






24. All objects are accessed using...






25. NSSet...






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






27. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






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






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






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






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






32. A view is a subclass of _






33. UIView - designated initializer...






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






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






36. Asking a class or object to execute a method






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






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






39. A UITableViewController can fill all three roles of...






40. You use _ to implement the view






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






42. When do you take ownership?...






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






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






45. An instance is a device for maintaining state. It's a box for _ of data.






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






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






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. Reducing details to focus on the core concepts






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