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. Only exists within the statement block there defined - outside of the block is fine






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






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






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






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






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






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






8. Class methods typically either create






9. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






11. NSValue - class...






12. NSNumber - class...






13. NSDate - class...






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


15. Why properties?






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






17. Defining variables - three parts...






18. id is a...






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






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






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






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


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


24. Hold data and know nothing about the user interface






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






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






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






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






29. Delegation is an object oriented approach to






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






31. NSArray - class...






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






33. Center and frame are used to _ your view






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






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






36. When do you take ownership?...






37. @property - is using methods...






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






39. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






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






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






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






43. Each class picks one _ as it's designated initializer....






44. A view is an...






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






46. Reference Counting...






47. Any other initializer a class has calls the _ designated initializer....

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


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






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






50. Name of the method to be executed