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






2. A view is a subclass of _






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






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






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






6. NSArray - important methods...






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






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






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






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






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






12. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






13. NSSet...






14. Name of the method to be executed






15. A view is an...






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






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






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






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






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






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






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






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






24. Execution of the break statement...






25. UIView - designated initializer...






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


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






28. @property - is using methods...






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






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






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






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. When an object is added to a NSMutableArray - that object is sent the message to retain;...






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






35. Delegation is an object oriented approach to






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






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


38. A responder is responsible for...






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






40. At the top of any implementation file...






41. super - is used...






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






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






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






45. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






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


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






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






49. Class methods do not operate on an _ or have any access to _ variables....






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