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. When do you take ownership?...






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






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






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






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






6. A view is a subclass of _






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






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






9. Why properties?






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






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






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. if you implemented both the setter and getter - the @synthesize method...






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






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






16. A function in the objective c library that simply displays or logs it's argument






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






18. Name of the method to be executed






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






20. NSSet...






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






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






23. Class methods typically either create






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






25. NSValue - class...






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






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






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






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






30. Property List...






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






32. NSString *s = @'Hello - World'; is an example of...






33. Whenever a UINavigationController is about to swap views - it sends out two messages






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






35. A view is an...






36. What happens when the last owner calls release?

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


37. class methods...






38. Class methods do not operate on an _ or have any access to _ variables....






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






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






41. Files Owner...






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






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






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






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






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






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






48. A responder is responsible for...






49. UITableViewController is a subclass of...






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