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. Prefixing a character string with an @ symbol [specific - NSString class]...






2. Name of the method to be executed






3. Primitives and C Structures...






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






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






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






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






8. The integer prefix is...






9. How do I implement my drawRect?






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






11. UIImageView is used to...






12. Classes describe two things...






13. You use _ to implement the view






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






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






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






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






18. Center and frame are used to _ your view






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. A callback is a function that is supplied in advance of an event - and...






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






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






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






24. In Objective C arrays can hold only...






25. NSNumber - class...






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






27. Three ways instances are created...






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






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






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






31. Defining variables - three parts...






32. To load a Xib file manually - you use _






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






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






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






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






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


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






39. NSValue - class...






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






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






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






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






44. Class methods typically either create






45. Hold data and know nothing about the user interface






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






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






48. Asking a class or object to execute a method






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






50. Files Owner...