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






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






3. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






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






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






7. A view is an...






8. UITableViewController is a subclass of...






9. Views have three properties related to their location and size: @property _ _;






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






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






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






13. When do you take ownership?...






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






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






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






17. UIView - designated initializer...






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






19. A _ handles touch events.






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






21. All objects are accessed using...






22. When making a tableView always...






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






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






25. How do I implement my drawRect?






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






27. UIViewController has several methods that get called at certain times...






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






29. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






30. A view is a subclass of _






31. Why properties?






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






33. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






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






36. You use _ to implement the view






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






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






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






40. Reference Counting...






41. NSSet...






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






43. Defining variables - three parts...






44. Classes describe two things...






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


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






47. @property - is using methods...






48. Primitives and C Structures...






49. Asking a class or object to execute a method






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