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. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






3. Name of the method to be executed






4. Ready-made instances...






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


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






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






8. A view is a subclass of _






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






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






11. How do I implement my drawRect?






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






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






14. NSDate - class...






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






16. class methods...






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






18. If a break statement is executed from within a set of nested loops...






19. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






20. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






21. UIView - designated initializer...






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






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






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






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






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






27. A view is an...






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


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






30. A function in the objective c library that simply displays or logs it's argument






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






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






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






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






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






36. super - is used...






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






38. A _ handles touch events.






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






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






41. When do you take ownership?...






42. NSSet...






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






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






45. UIImageView is used to...






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






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






48. Only exists within the statement block there defined - outside of the block is fine






49. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






50. Hold data and know nothing about the user interface