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. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






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






3. A _ handles touch events.






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






5. When making a tableView always...






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






7. Classes describe two things...






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






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






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






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






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






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






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






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






16. A view is an...






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






18. Designated initializer makes sure that every...






19. How do I implement my drawRect?






20. NSDate - class...






21. When do you take ownership?...






22. Primitives and C Structures...






23. Files Owner...






24. A view represents a _ area






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






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






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






28. if you implemented both the setter and getter - the @synthesize method...






29. Hold data and know nothing about the user interface






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






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






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






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






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






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






36. NSArray - class...






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






38. What does autorelease mean?






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






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






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






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






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






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






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






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






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






48. All objects are accessed using...






49. Three ways instances are created...






50. The root view controller typically creates the next view controller - and the next _ creates the one after that