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. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






2. UIView - designated initializer...






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






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






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






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






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






8. Also - because arrays only hold a pointer to an object...






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






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






11. UITableViewController is a subclass of...






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. NSValue - class...






14. Primitives and C Structures...






15. A _ handles touch events.






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






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






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






19. Never access a view controller's view in that...

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


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






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






22. How do I implement my drawRect?






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






24. NSArray - class...






25. NSNumber - class...






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






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

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


28. Property List...






29. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






31. All objects are accessed using...






32. Asking a class or object to execute a method






33. NSArray - important methods...






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






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






36. Class methods typically either create






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






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






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






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






41. Reducing details to focus on the core concepts






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






43. Object Oriented based analogue to a function is called a...






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






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






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


47. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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


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






50. UIImageView is used to...