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


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


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






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

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


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






6. class methods...






7. NSArray - important methods...






8. In the last line of an init method...






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






10. All objects are accessed using...






11. A view is an...






12. Proceed through the loop - jump back to the top and check again






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






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






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






16. The integer prefix is...






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






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






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






20. If the view has no subviews - create it programmatically; if it has subviews






21. Classes describe two things...






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






23. Delegation is an object oriented approach to






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






25. NSValue - class...






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






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






28. Files Owner...






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






30. Origin of a view's coordinate system is _ left






31. Use of class methods - there are three...






32. UIImageView is used to...






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






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






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






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






37. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






38. Reference Counting...






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






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






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






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






43. Property List...






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






45. @property - is using methods...






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






47. A _ handles touch events.






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






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






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